Skip to content

Commit

Permalink
fix: add shebang to copied patched file to make it executable
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed May 31, 2023
1 parent 2f7c845 commit 43492e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"scripts": {
"postinstall": "patch-package",
"prepublishOnly": "cp node_modules/@changesets/cli/dist/cli.cjs.dev.js bin.js"
"prepublishOnly": "echo \"#!/usr/bin/env node\n\n$(cat node_modules/@changesets/cli/dist/cli.cjs.dev.js)\" > bin.js"
},
"author": "Gregor Martynus (https://github.com/gr2m)",
"license": "ISC",
Expand Down

0 comments on commit 43492e4

Please sign in to comment.