Skip to content

Commit 87c1fcd

Browse files
committed
feat: sync babel version to prevent unexpected bug
1 parent f693484 commit 87c1fcd

File tree

6 files changed

+24
-20
lines changed

6 files changed

+24
-20
lines changed

packages/build/vite-config/package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414
"build": ""
1515
},
1616
"dependencies": {
17-
"@babel/core": "~7.23.2",
18-
"@babel/eslint-parser": "^7.21.3",
19-
"@babel/generator": "~7.23.2",
20-
"@babel/parser": "~7.23.2",
21-
"@babel/traverse": "~7.23.2",
2217
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
2318
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
2419
"@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:^",
@@ -50,6 +45,13 @@
5045
"vite-plugin-svg-icons": "^2.0.1",
5146
"vue-eslint-parser": "^8.0.1"
5247
},
48+
"peerDependencies": {
49+
"@babel/eslint-parser": "~7.21.3",
50+
"@babel/core": "~7.26.10",
51+
"@babel/generator": "~7.26.10",
52+
"@babel/traverse": "~7.26.10",
53+
"@babel/parser": "~7.26.10"
54+
},
5355
"keywords": [],
5456
"publishConfig": {
5557
"access": "public"

packages/build/vite-plugin-meta-comments/package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@
1313
"test": "node ./src/test/index.js"
1414
},
1515
"devDependencies": {
16-
"@babel/generator": "^7.18.13",
17-
"@babel/parser": "^7.18.13",
18-
"@babel/template": "^7.18.13",
19-
"@babel/traverse": "^7.18.13",
2016
"@vitejs/plugin-vue": "^5.1.2",
2117
"@vue/compiler-sfc": "^3.4.21",
2218
"vite": "^5.4.2"
2319
},
20+
"peerDependencies": {
21+
"@babel/generator": "~7.26.10",
22+
"@babel/parser": "~7.26.10",
23+
"@babel/template": "~7.26.9",
24+
"@babel/traverse": "~7.26.10"
25+
},
2426
"keywords": [],
2527
"publishConfig": {
2628
"access": "public"

packages/canvas/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"homepage": "https://opentiny.design/tiny-engine",
3636
"type": "module",
3737
"dependencies": {
38-
"@babel/core": "7.18.13",
3938
"@opentiny/tiny-engine-builtin-component": "workspace:*",
4039
"@opentiny/tiny-engine-common": "workspace:*",
4140
"@opentiny/tiny-engine-dsl-vue": "workspace:*",
@@ -60,6 +59,7 @@
6059
"vite": "^5.4.2"
6160
},
6261
"peerDependencies": {
62+
"@babel/core": "~7.26.10",
6363
"@opentiny/vue": "^3.20.0",
6464
"@opentiny/vue-icon": "^3.20.0",
6565
"@opentiny/vue-renderless": "^3.20.0",

packages/common/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
"license": "MIT",
3131
"homepage": "https://opentiny.design/tiny-engine",
3232
"dependencies": {
33-
"@babel/generator": "~7.23.2",
34-
"@babel/parser": "~7.23.2",
35-
"@babel/traverse": "~7.23.2",
33+
"@babel/generator": "~7.26.10",
34+
"@babel/parser": "~7.26.10",
35+
"@babel/traverse": "~7.26.10",
3636
"@eslint/js": "^8.57.1",
3737
"@opentiny/tiny-engine-dsl-vue": "workspace:*",
3838
"@opentiny/tiny-engine-i18n-host": "workspace:*",

packages/design-core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
"author": "OpenTiny Team",
3939
"license": "MIT",
4040
"dependencies": {
41-
"@babel/core": "~7.23.2",
42-
"@babel/generator": "~7.23.2",
43-
"@babel/parser": "~7.23.2",
44-
"@babel/traverse": "~7.23.2",
41+
"@babel/core": "~7.26.10",
42+
"@babel/generator": "~7.26.10",
43+
"@babel/parser": "~7.26.10",
44+
"@babel/traverse": "~7.26.10",
4545
"@opentiny/tiny-engine-canvas": "workspace:*",
4646
"@opentiny/tiny-engine-common": "workspace:*",
4747
"@opentiny/tiny-engine-configurator": "workspace:*",

packages/vue-generator/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
"winston": "^3.10.0"
5151
},
5252
"peerDependencies": {
53-
"@babel/generator": "^7.18.13",
54-
"@babel/parser": "^7.18.13",
55-
"@babel/traverse": "^7.18.13"
53+
"@babel/generator": "~7.26.10",
54+
"@babel/parser": "~7.26.10",
55+
"@babel/traverse": "~7.26.10"
5656
}
5757
}

0 commit comments

Comments
 (0)