Skip to content

Commit

Permalink
[compiler] Fix busted postinstall script (#31147)
Browse files Browse the repository at this point in the history
  • Loading branch information
poteto authored Oct 8, 2024
1 parent f74f6cd commit ed966da
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

4 comments on commit ed966da

@openpathgit
Copy link

@openpathgit openpathgit commented on ed966da Oct 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please push to npm? My builds are broken until this fix is pushed there

@wSedlacek
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My CI runs are affected by this.

expo 51.0.18
└─┬ babel-preset-expo 11.0.12
  └── babel-plugin-react-compiler 0.0.0-experimental-696af53-20240625

@Pnlvfx
Copy link

@Pnlvfx Pnlvfx commented on ed966da Oct 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please we can't install the compiler without this fix

@poteto
Copy link
Member Author

@poteto poteto commented on ed966da Oct 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@openpathgit @wSedlacek @Pnlvfx sorry about that, please install 0.0.0-experimental-58c2b1c-20241007 or higher

Please sign in to comment.