From 825b04de3b4395f42001e85606e841c61b3b9783 Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Fri, 27 Sep 2024 10:55:24 -0400 Subject: [PATCH] Update [ghstack-poisoned] --- compiler/apps/playground/package.json | 25 +++++++++++-------------- compiler/apps/playground/tsconfig.json | 3 ++- compiler/apps/playground/yarn.lock | 25 +++++++------------------ 3 files changed, 20 insertions(+), 33 deletions(-) diff --git a/compiler/apps/playground/package.json b/compiler/apps/playground/package.json index 207eb44af5a2c..8a04578306bdb 100644 --- a/compiler/apps/playground/package.json +++ b/compiler/apps/playground/package.json @@ -5,23 +5,24 @@ "scripts": { "dev": "NODE_ENV=development next dev", "build:compiler": "cd ../.. && yarn workspace babel-plugin-react-compiler build && yarn workspace react-compiler-runtime build", - "build": "yarn build:compiler && ./scripts/link-compiler.sh && next build && node ./scripts/downloadFonts.js", + "build": "yarn build:compiler && yarn link:compiler && next build && node ./scripts/downloadFonts.js", + "link:compiler": "./scripts/link-compiler.sh", "vercel-build": "yarn build", "start": "next start", "lint": "next lint", "test": "playwright test" }, "dependencies": { - "@babel/core": "^7.19.1", - "@babel/generator": "^7.19.1", - "@babel/parser": "^7.19.1", - "@babel/plugin-syntax-typescript": "^7.18.6", + "@babel/core": "^7.18.9", + "@babel/generator": "^7.18.9", + "@babel/parser": "^7.18.9", + "@babel/plugin-syntax-typescript": "^7.18.9", "@babel/plugin-transform-block-scoping": "^7.18.9", - "@babel/plugin-transform-modules-commonjs": "^7.18.6", - "@babel/preset-react": "^7.18.6", - "@babel/preset-typescript": "^7.18.6", - "@babel/traverse": "^7.19.1", - "@babel/types": "^7.19.0", + "@babel/plugin-transform-modules-commonjs": "^7.18.9", + "@babel/preset-react": "^7.18.9", + "@babel/preset-typescript": "^7.18.9", + "@babel/traverse": "^7.18.9", + "@babel/types": "7.18.9", "@heroicons/react": "^1.0.6", "@monaco-editor/react": "^4.4.6", "@playwright/test": "^1.42.1", @@ -53,9 +54,5 @@ "monaco-editor-webpack-plugin": "^7.1.0", "postcss": "^8.4.31", "tailwindcss": "^3.2.4" - }, - "resolutions": { - "./**/@babel/parser": "7.7.4", - "./**/@babel/types": "7.7.4" } } diff --git a/compiler/apps/playground/tsconfig.json b/compiler/apps/playground/tsconfig.json index 55d0b209b9529..eb7fcfe2b7228 100644 --- a/compiler/apps/playground/tsconfig.json +++ b/compiler/apps/playground/tsconfig.json @@ -31,6 +31,7 @@ ".next/types/**/*.ts" ], "exclude": [ - "node_modules" + "node_modules", + "../../../**" ] } diff --git a/compiler/apps/playground/yarn.lock b/compiler/apps/playground/yarn.lock index 668ecc913a0ee..a3a460b24d114 100644 --- a/compiler/apps/playground/yarn.lock +++ b/compiler/apps/playground/yarn.lock @@ -158,7 +158,7 @@ resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz#5b3329c9a58803d5df425e5785865881a81ca48d" integrity sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ== -"@babel/helper-validator-identifier@^7.24.7": +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz#75b889cfaf9e35c2aaf42cf0d72c8e91719251db" integrity sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w== @@ -186,11 +186,6 @@ js-tokens "^4.0.0" picocolors "^1.0.0" -"@babel/parser@7.7.4": - version "7.7.4" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.7.4.tgz#75ab2d7110c2cf2fa949959afb05fa346d2231bb" - integrity sha512-jIwvLO0zCL+O/LmEJQjWA75MQTWwx3c3u2JOTDK5D3/9egrWRRA0/0hk9XXywYnXZVVpzrBYeIQTmhwUaePI9g== - "@babel/parser@^7.19.1", "@babel/parser@^7.25.0", "@babel/parser@^7.25.6": version "7.25.6" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.25.6.tgz#85660c5ef388cbbf6e3d2a694ee97a38f18afe2f" @@ -317,16 +312,15 @@ debug "^4.3.1" globals "^11.1.0" -"@babel/types@7.7.4": - version "7.7.4" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.7.4.tgz#516570d539e44ddf308c07569c258ff94fde9193" - integrity sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA== +"@babel/types@7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.18.9.tgz#7148d64ba133d8d73a41b3172ac4b83a1452205f" + integrity sha512-WwMLAg2MvJmt/rKEVQBBhIVffMmnilX4oe0sRe7iPOHIGsqpruFHHdrfj4O1CMMtgMtCU4oPafZjDPCRgO57Wg== dependencies: - esutils "^2.0.2" - lodash "^4.17.13" + "@babel/helper-validator-identifier" "^7.18.6" to-fast-properties "^2.0.0" -"@babel/types@^7.19.0", "@babel/types@^7.24.7", "@babel/types@^7.24.8", "@babel/types@^7.25.0", "@babel/types@^7.25.2", "@babel/types@^7.25.6": +"@babel/types@^7.24.7", "@babel/types@^7.24.8", "@babel/types@^7.25.0", "@babel/types@^7.25.2", "@babel/types@^7.25.6": version "7.25.6" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.25.6.tgz#893942ddb858f32ae7a004ec9d3a76b3463ef8e6" integrity sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw== @@ -2316,11 +2310,6 @@ lodash.merge@^4.6.2: resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== -lodash@^4.17.13: - version "4.17.21" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" - integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== - loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"