⚡ Sangsakala Proxy 🏠 Home
Skip to content

Commit b0a014d

Browse files
authored
chore: use Babel 8 for babel compiler playgrounds (#1460)
1 parent a309c8b commit b0a014d

7 files changed

Lines changed: 112 additions & 151 deletions

File tree

‎.github/renovate.json5‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
matchFileNames: ['**/react-18/**', '**/compiler-react-18/**'],
1414
ignoreDeps: ['react', 'react-dom', '@types/react', '@types/react-dom'],
1515
},
16+
{
17+
// https://github.com/emotion-js/emotion/issues/3386
18+
matchFileNames: ['**/react-emotion/**'],
19+
ignoreDeps: ['@babel/core'],
20+
},
1621
{
1722
matchDepTypes: ['action'],
1823
pinDigests: true,

‎.npmrc‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
hoist-pattern[]=@emotion/* # playground/react-emotion
2-
hoist-pattern[]=*babel*
32
hoist-pattern[]=@swc/* # packages/plugin-react-swc/playground/emotion-plugin, packages/plugin-react-swc/playground/styled-components
43
hoist-pattern[]=eslint-import-resolver-*
54
strict-peer-dependencies=false

‎packages/plugin-react/package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"@rolldown/pluginutils": "^1.0.1"
4747
},
4848
"devDependencies": {
49-
"@babel/core": "8.0.1",
5049
"@rolldown/plugin-babel": "^0.2.3",
5150
"@vitejs/react-common": "workspace:*",
5251
"babel-plugin-react-compiler": "^1.0.0",

‎playground/compiler-react-18/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"react-dom": "^18.3.1"
1414
},
1515
"devDependencies": {
16-
"@babel/core": "^7.29.7",
16+
"@babel/core": "^8.0.5",
1717
"@rolldown/plugin-babel": "^0.2.3",
1818
"@types/react": "^18.3.20",
1919
"@types/react-dom": "^18.3.7",

‎playground/compiler/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"react-dom": "^19.3.0"
1313
},
1414
"devDependencies": {
15-
"@babel/core": "^7.29.7",
15+
"@babel/core": "^8.0.5",
1616
"@rolldown/plugin-babel": "^0.2.3",
1717
"@types/react": "^19.3.0",
1818
"@types/react-dom": "^19.3.0",

‎playground/include-node-modules/package.json‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
"react-dom": "^19.3.0"
1313
},
1414
"devDependencies": {
15-
"@babel/core": "^7.29.7",
16-
"@rolldown/plugin-babel": "^0.2.3",
17-
"@types/babel__core": "^7.20.5",
1815
"@types/react": "^19.3.0",
1916
"@types/react-dom": "^19.3.0",
2017
"@vitejs/plugin-react": "workspace:*",

0 commit comments

Comments
 (0)