Skip to content

Commit

Permalink
Fix: Disable automatic patching on install.
Browse files Browse the repository at this point in the history
If patching on install, we will also run on CI environments, this is not the intention.
If this is wanted behaviour, patch manually as part of the process.
  • Loading branch information
mkholt committed Feb 23, 2022
1 parent 10b8847 commit 2bae7b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ However, having to fully reload the form on each change quickly gets annoying. T
## Installation
```sh
$ npm install -D pcf-reloader-transformer
$ npx ts-patch i
```

## Usage
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"test": "jest",
"lint": "eslint src/ tests/",
"clean": "rimraf dist",
"prepare": "npm run clean && npm run build",
"postinstall": "ts-patch i"
"prepare": "npm run clean && npm run build"
},
"files": [
"dist"
Expand Down

0 comments on commit 2bae7b9

Please sign in to comment.