Skip to content

Commit

Permalink
[compiler] Fix busted postinstall script
Browse files Browse the repository at this point in the history
postinstall also runs on consumers of the npm package (not just this repo), so remove it and inline into where it's needed
  • Loading branch information
poteto committed Oct 7, 2024
1 parent 23cd3ac commit 4be30b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler/packages/babel-plugin-react-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
"dist"
],
"scripts": {
"postinstall": "./scripts/link-react-compiler-runtime.sh",
"build": "rimraf dist && rollup --config --bundleConfigAsCjs",
"test": "yarn snap:ci",
"test": "./scripts/link-react-compiler-runtime.sh && yarn snap:ci",
"jest": "yarn build && ts-node node_modules/.bin/jest",
"snap": "node ../snap/dist/main.js",
"snap:build": "yarn workspace snap run build",
Expand Down

0 comments on commit 4be30b6

Please sign in to comment.