Skip to content

Commit

Permalink
fix: make babel-plugin-react-compiler a peer dep (#1179)
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan authored Oct 28, 2024
1 parent ab5db31 commit 2d884a4
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 140 deletions.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@sanity/browserslist-config": "^1.0.3",
"babel-plugin-react-compiler": "0.0.0-experimental-fe484b5-20240912",
"browserslist": "^4.24.2",
"cac": "^6.7.14",
"chalk": "^4.1.2",
Expand Down Expand Up @@ -146,6 +145,7 @@
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"babel-plugin-react-compiler": "beta",
"browserslist-to-esbuild": "2.1.1",
"commitizen": "^4.3.1",
"cpx": "^1.5.0",
Expand All @@ -167,8 +167,14 @@
"vitest-github-actions-reporter": "^0.11.1"
},
"peerDependencies": {
"babel-plugin-react-compiler": "*",
"typescript": "5.4.x || 5.5.x || 5.6.x"
},
"peerDependenciesMeta": {
"babel-plugin-react-compiler": {
"optional": true
}
},
"packageManager": "pnpm@9.12.2",
"engines": {
"node": ">=18.17.0"
Expand Down
2 changes: 1 addition & 1 deletion playground/use-client-directive/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"clean": "rimraf dist"
},
"dependencies": {
"babel-plugin-react-compiler": "0.0.0-experimental-fa06e2c-20241016"
"babel-plugin-react-compiler": "beta"
},
"devDependencies": {
"@types/react": "^18.3.11",
Expand Down
Loading

0 comments on commit 2d884a4

Please sign in to comment.