Skip to content

Commit

Permalink
fix: better fix for postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed May 31, 2023
1 parent 29eb221 commit 941b191
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions package.json
Expand Up @@ -6,17 +6,19 @@
"changeset": "bin.js"
},
"scripts": {
"postinstall": "npx patch-package",
"postinstall": "patch-package",
"prepublishOnly": "cp node_modules/@changesets/cli/dist/cli.cjs.dev.js bin.js && sed -i '1s/^/#!\\/usr\\/bin\\/env node\\n\\n/' bin.js",
"update-patch": "npx patch-package @changesets/cli"
"update-patch": "patch-package @changesets/cli"
},
"author": "Gregor Martynus (https://github.com/gr2m)",
"license": "ISC",
"repository": "github:gr2m/primer-changesets-cli",
"devDependencies": {
"@changesets/cli": "2.26.1",
"dependencies": {
"patch-package": "^7.0.0"
},
"devDependencies": {
"@changesets/cli": "2.26.1"
},
"release": {
"branches": [
"+([0-9]).x",
Expand Down

0 comments on commit 941b191

Please sign in to comment.