diff --git a/packages/build/vite-config/package.json b/packages/build/vite-config/package.json index da9702b617..8ce07ce5b2 100644 --- a/packages/build/vite-config/package.json +++ b/packages/build/vite-config/package.json @@ -14,9 +14,6 @@ "build": "" }, "dependencies": { - "@babel/core": "~7.23.2", - "@babel/generator": "~7.23.2", - "@babel/traverse": "~7.23.2", "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@esbuild-plugins/node-modules-polyfill": "^0.2.2", "@opentiny/tiny-engine-vite-plugin-meta-comments": "workspace:^", @@ -38,6 +35,13 @@ "vite-plugin-static-copy": "^1.0.6", "vite-plugin-svg-icons": "^2.0.1" }, + "peerDependencies": { + "@babel/eslint-parser": "~7.21.3", + "@babel/core": "~7.26.10", + "@babel/generator": "~7.26.10", + "@babel/traverse": "~7.26.10", + "@babel/parser": "~7.26.10" + }, "keywords": [], "publishConfig": { "access": "public" diff --git a/packages/build/vite-plugin-meta-comments/package.json b/packages/build/vite-plugin-meta-comments/package.json index 9b89e182ed..a3c5f608cd 100644 --- a/packages/build/vite-plugin-meta-comments/package.json +++ b/packages/build/vite-plugin-meta-comments/package.json @@ -13,14 +13,16 @@ "test": "node ./src/test/index.js" }, "devDependencies": { - "@babel/generator": "^7.18.13", - "@babel/parser": "^7.18.13", - "@babel/template": "^7.18.13", - "@babel/traverse": "^7.18.13", "@vitejs/plugin-vue": "^5.1.2", "@vue/compiler-sfc": "^3.4.21", "vite": "^5.4.2" }, + "peerDependencies": { + "@babel/generator": "~7.26.10", + "@babel/parser": "~7.26.10", + "@babel/template": "~7.26.9", + "@babel/traverse": "~7.26.10" + }, "keywords": [], "publishConfig": { "access": "public" diff --git a/packages/canvas/package.json b/packages/canvas/package.json index fc5b0b9ec8..ecf07ea9ff 100644 --- a/packages/canvas/package.json +++ b/packages/canvas/package.json @@ -35,7 +35,6 @@ "homepage": "https://opentiny.design/tiny-engine", "type": "module", "dependencies": { - "@babel/core": "7.18.13", "@opentiny/tiny-engine-builtin-component": "workspace:*", "@opentiny/tiny-engine-common": "workspace:*", "@opentiny/tiny-engine-dsl-vue": "workspace:*", @@ -60,6 +59,7 @@ "vite": "^5.4.2" }, "peerDependencies": { + "@babel/core": "~7.26.10", "@opentiny/vue": "^3.20.0", "@opentiny/vue-icon": "^3.20.0", "@opentiny/vue-renderless": "^3.20.0", diff --git a/packages/common/package.json b/packages/common/package.json index 76473bfc3a..0c8a766aba 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -30,9 +30,9 @@ "license": "MIT", "homepage": "https://opentiny.design/tiny-engine", "dependencies": { - "@babel/generator": "~7.23.2", - "@babel/parser": "~7.23.2", - "@babel/traverse": "~7.23.2", + "@babel/generator": "~7.26.10", + "@babel/parser": "~7.26.10", + "@babel/traverse": "~7.26.10", "@eslint/js": "^8.57.1", "@opentiny/tiny-engine-dsl-vue": "workspace:*", "@opentiny/tiny-engine-i18n-host": "workspace:*", diff --git a/packages/design-core/package.json b/packages/design-core/package.json index 845d452680..e3e06be3a5 100644 --- a/packages/design-core/package.json +++ b/packages/design-core/package.json @@ -38,10 +38,10 @@ "author": "OpenTiny Team", "license": "MIT", "dependencies": { - "@babel/core": "~7.23.2", - "@babel/generator": "~7.23.2", - "@babel/parser": "~7.23.2", - "@babel/traverse": "~7.23.2", + "@babel/core": "~7.26.10", + "@babel/generator": "~7.26.10", + "@babel/parser": "~7.26.10", + "@babel/traverse": "~7.26.10", "@opentiny/tiny-engine-canvas": "workspace:*", "@opentiny/tiny-engine-common": "workspace:*", "@opentiny/tiny-engine-configurator": "workspace:*", diff --git a/packages/vue-generator/package.json b/packages/vue-generator/package.json index 80d99ce4bb..d15a7388c0 100644 --- a/packages/vue-generator/package.json +++ b/packages/vue-generator/package.json @@ -50,8 +50,8 @@ "winston": "^3.10.0" }, "peerDependencies": { - "@babel/generator": "^7.18.13", - "@babel/parser": "^7.18.13", - "@babel/traverse": "^7.18.13" + "@babel/generator": "~7.26.10", + "@babel/parser": "~7.26.10", + "@babel/traverse": "~7.26.10" } }