Skip to content

Commit 20a1ee5

Browse files
authored
refactor(deps): move to react compiler RC (#9335)
1 parent f3ad935 commit 20a1ee5

File tree

11 files changed

+345
-93
lines changed

11 files changed

+345
-93
lines changed

.github/workflows/react-compiler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
cache: pnpm
2525
node-version: lts/*
26-
- run: pnpm -r up --ignore-scripts react-compiler-runtime@beta babel-plugin-react-compiler@beta eslint-plugin-react-compiler@beta
26+
- run: pnpm -r up --ignore-scripts react-compiler-runtime@rc babel-plugin-react-compiler@rc eslint-plugin-react-compiler@rc
2727
- uses: actions/create-github-app-token@v1
2828
id: generate-token
2929
with:
@@ -39,7 +39,7 @@ jobs:
3939
- if: steps.check-changes.outputs.changed == 'true'
4040
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
4141
with:
42-
body: I ran `pnpm -r up react-compiler-runtime@beta babel-plugin-react-compiler@beta eslint-plugin-react-compiler@beta` 🧑‍💻
42+
body: I ran `pnpm -r up react-compiler-runtime@rc babel-plugin-react-compiler@rc eslint-plugin-react-compiler@rc` 🧑‍💻
4343
branch: actions/react-compiler
4444
commit-message: "fix(deps): update react compiler dependencies 🤖 ✨"
4545
labels: 🤖 bot

dev/page-building-studio/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
},
1414
"dependencies": {
1515
"@sanity/vision": "workspace:*",
16-
"babel-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
16+
"babel-plugin-react-compiler": "19.1.0-rc.1",
1717
"react": "^18.2.0",
18-
"react-compiler-runtime": "19.0.0-beta-e993439-20250405",
18+
"react-compiler-runtime": "19.1.0-rc.1",
1919
"react-dom": "^18.2.0",
2020
"react-icons": "^5.2.1",
2121
"sanity": "workspace:*",

dev/starter-studio/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
"start": "../.bin/sanity start --port 3337"
1313
},
1414
"dependencies": {
15-
"babel-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
15+
"babel-plugin-react-compiler": "19.1.0-rc.1",
1616
"react": "^18.3.1",
17-
"react-compiler-runtime": "19.0.0-beta-e993439-20250405",
17+
"react-compiler-runtime": "19.1.0-rc.1",
1818
"react-dom": "^18.3.1",
1919
"sanity": "workspace:*",
2020
"styled-components": "^6.1.15"

dev/studio-e2e-testing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@sanity/icons": "^3.7.0",
2121
"@sanity/ui": "^2.15.14",
2222
"@sanity/vision": "workspace:*",
23-
"babel-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
23+
"babel-plugin-react-compiler": "19.1.0-rc.1",
2424
"react": "^19.0.0",
2525
"react-dom": "^19.0.0",
2626
"sanity": "workspace:*",

dev/test-studio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
},
6666
"devDependencies": {
6767
"@million/lint": "1.0.14",
68-
"babel-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
68+
"babel-plugin-react-compiler": "19.1.0-rc.1",
6969
"chokidar": "^3.6.0",
7070
"vite": "^6.2.6"
7171
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"check:deps": "pnpm --recursive --parallel exec depcheck",
1818
"check:format": "prettier . --check",
1919
"check:lint": "turbo run lint --continue -- --quiet",
20-
"check:react-compiler": "eslint --cache --no-inline-config --no-eslintrc --ext .cjs,.mjs,.js,.jsx,.ts,.tsx --parser @typescript-eslint/parser --plugin react-compiler --rule 'react-compiler/react-compiler: [warn]' --ignore-path .eslintignore.react-compiler --max-warnings 24 .",
20+
"check:react-compiler": "eslint --cache --no-inline-config --no-eslintrc --ext .cjs,.mjs,.js,.jsx,.ts,.tsx --parser @typescript-eslint/parser --plugin react-compiler --rule 'react-compiler/react-compiler: [warn]' --ignore-path .eslintignore.react-compiler --max-warnings 1 .",
2121
"check:test": "run-s test -- --silent",
2222
"check:types": "tsc && turbo run check:types --filter='./packages/*' --filter='./packages/@sanity/*'",
2323
"report:react-compiler-bailout": "eslint --cache --no-inline-config --no-eslintrc --ext .cjs,.mjs,.js,.jsx,.ts,.tsx --parser @typescript-eslint/parser --plugin react-compiler --rule 'react-compiler/react-compiler: [error,{__unstable_donotuse_reportAllBailouts:true}]' --ignore-path .eslintignore.react-compiler -f ./scripts/reactCompilerBailouts.cjs . || true",
@@ -144,7 +144,7 @@
144144
"eslint-plugin-import": "^2.31.0",
145145
"eslint-plugin-prettier": "^5.2.6",
146146
"eslint-plugin-react": "^7.37.5",
147-
"eslint-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
147+
"eslint-plugin-react-compiler": "19.1.0-rc.1",
148148
"eslint-plugin-react-hooks": "experimental",
149149
"eslint-plugin-simple-import-sort": "^12.1.1",
150150
"eslint-plugin-tsdoc": "^0.4.0",

packages/@sanity/vision/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"json5": "^2.2.3",
7272
"lodash": "^4.17.21",
7373
"quick-lru": "^5.1.1",
74-
"react-compiler-runtime": "19.0.0-beta-e993439-20250405",
74+
"react-compiler-runtime": "19.1.0-rc.1",
7575
"react-fast-compare": "^3.2.2",
7676
"use-effect-event": "^1.0.2"
7777
},
@@ -87,7 +87,7 @@
8787
"@sanity/types": "workspace:*",
8888
"@sanity/util": "workspace:*",
8989
"@types/lodash": "^4.17.7",
90-
"babel-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
90+
"babel-plugin-react-compiler": "19.1.0-rc.1",
9191
"react": "^18.3.1",
9292
"sanity": "workspace:*",
9393
"styled-components": "^6.1.16"

packages/sanity/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
"pretty-ms": "^7.0.1",
244244
"quick-lru": "^5.1.1",
245245
"raf": "^3.4.1",
246-
"react-compiler-runtime": "19.0.0-beta-e993439-20250405",
246+
"react-compiler-runtime": "19.1.0-rc.1",
247247
"react-fast-compare": "^3.2.0",
248248
"react-focus-lock": "^2.13.6",
249249
"react-i18next": "14.0.2",
@@ -309,7 +309,7 @@
309309
"@vitejs/plugin-react": "^4.3.4",
310310
"@vitest/expect": "^3.1.1",
311311
"@vvo/tzdb": "6.137.0",
312-
"babel-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
312+
"babel-plugin-react-compiler": "19.1.0-rc.1",
313313
"blob-polyfill": "^9.0.20240710",
314314
"date-fns-tz": "2.0.1",
315315
"react": "^18.3.1",

perf/efps/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@types/serve-handler": "^6.1.4",
2424
"@types/yargs": "^17.0.7",
2525
"@vitejs/plugin-react": "^4.3.4",
26-
"babel-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
26+
"babel-plugin-react-compiler": "19.1.0-rc.1",
2727
"chalk": "^4.1.2",
2828
"cli-table3": "^0.6.5",
2929
"dotenv": "^16.0.3",

perf/studio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"start": "sanity start --port 3300"
1515
},
1616
"dependencies": {
17-
"babel-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
17+
"babel-plugin-react-compiler": "19.1.0-rc.1",
1818
"react": "^19.0.0",
1919
"react-dom": "^19.0.0",
2020
"sanity": "workspace:*",

0 commit comments

Comments
 (0)