@samitouri / QOS-React-1 / commits / 3f1436cca1

[compiler:playground] Fix broken builds

Now that the compiler is public, the `*` version was grabbing the latest version of the compiler off of npm and was resolving to my very first push to npm (an empty package containing only a single package.json). This was breaking the playground as it would attempt to load the compiler but then crash the babel pipeline due to the node module not being found. ghstack-source-id: 695fd9caac64d15edfa095b8c871e75520381fcb Pull Request resolved: https://github.com/facebook/react/pull/29122

Lauren Tan committed May 16, 2024 at 23:08 UTC 3f1436cca1f8dd80a19fd52b97b6ff71a4d9ce82
3 files changed -7
compiler/apps/playground/package.json
-1
@@ -25,7 +25,6 @@
25 "@monaco-editor/react": "^4.4.6",
26 "@playwright/test": "^1.42.1",
27 "@use-gesture/react": "^10.2.22",
28 - "babel-plugin-react-compiler": "*",
28 "hermes-eslint": "^0.14.0",
29 "invariant": "^2.2.4",
30 "lz-string": "^1.5.0",
compiler/packages/snap/package.json
-1
@@ -25,7 +25,6 @@
25 "@babel/preset-typescript": "^7.18.6",
26 "@parcel/watcher": "^2.1.0",
27 "@testing-library/react": "^13.4.0",
28 - "babel-plugin-react-compiler": "*",
28 "babel-plugin-syntax-hermes-parser": "^0.15.1",
29 "chalk": "4",
30 "fbt": "^1.0.0",
compiler/yarn.lock
-5
@@ -3745,11 +3745,6 @@ babel-plugin-polyfill-regenerator@^0.5.0:
3745 dependencies:
3746 "@babel/helper-define-polyfill-provider" "^0.4.0"
3747
3748 -babel-plugin-react-compiler@*:
3749 - version "0.0.0"
3750 - resolved "https://registry.yarnpkg.com/babel-plugin-react-compiler/-/babel-plugin-react-compiler-0.0.0.tgz#1a1f9867fad83f217f0b3fe6f1b94cca0b77b68b"
3751 - integrity sha512-Kigl0V36a/6hLVH7+CCe1CCtU3mFBqBd829V//VtuG7I/pyq+B2QZJqOefd63snQmdfCryNhO9XW1FbGPBvYDA==
3752 -
3748 babel-plugin-syntax-hermes-parser@^0.15.1:
3749 version "0.15.1"
3750 resolved "https://registry.yarnpkg.com/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.15.1.tgz#d115ee9761a808af590a9b2a0b568115e25ea743"