Skip to content

Commit

Permalink
chore: 删除多余的包;限制 node 版本为 ^18 || 20;根据提示升级依赖包
Browse files Browse the repository at this point in the history
  • Loading branch information
qwecxzpoi committed Jun 10, 2024
1 parent ffc040f commit a77679b
Show file tree
Hide file tree
Showing 7 changed files with 5,011 additions and 4,906 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@
"vue": "^3.4.21",
"vue-router": "^4.3.0"
},
"engines": {
"node": "^18.0.0 || >=20.0.0"
},
"devDependencies": {
"@types/node": "^16.18.93",
"@types/node": "^18.19.34",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@vitejs/plugin-vue": "^4.6.2",
Expand All @@ -42,15 +45,14 @@
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"rollup-plugin-visualizer": "^5.12.0",
"stylelint": "^15.11.0",
"stylelint": "^16.6.1",
"stylelint-config-recommended-vue": "^1.5.0",
"tailwindcss": "^3.4.3",
"terser": "^5.30.0",
"typescript": "^4.9.5",
"vite": "^5.1.6",
"vite-plugin-dts": "^3.8.1",
"vite-plugin-mock": "^2.9.8",
"vite-plugin-vue-markdown": "^0.22.6",
"vue-eslint-parser": "^7.11.0",
"vue-tsc": "^1.8.27"
},
Expand Down
14 changes: 3 additions & 11 deletions packages/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"scripts": {
"build:lib": "vite build",
"publish":"npm publish --access public"
"publish": "npm publish --access public"
},
"author": "ansgoo",
"type": "module",
Expand All @@ -28,20 +28,13 @@
},
"license": "Apache-2.0",
"dependencies": {
"mitt": "^3.0.1",
"lodash-es": "^4.17.21"
"lodash-es": "^4.17.21",
"mitt": "^3.0.1"
},
"peerDependencies ": {
"vue": "^3.3.4"
},
"devDependencies": {
"eslint-config-prettier": "^8.10.0",
"eslint-define-config": "^1.24.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-spellcheck": "^0.0.20",
"eslint-plugin-vue": "^9.24.0",
"husky": "^7.0.4",
"less": "^4.2.0",
"postcss": "^8.4.38",
Expand All @@ -50,7 +43,6 @@
"rimraf": "^3.0.2",
"rollup-plugin-visualizer": "^5.12.0",
"stylelint": "^15.11.0",
"stylelint-config-recommended-vue": "^1.5.0",
"tailwindcss": "^3.4.3",
"terser": "^5.30.0",
"typescript": "^4.9.5",
Expand Down
10 changes: 1 addition & 9 deletions packages/data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"scripts": {
"build:lib": "vite build",
"publish":"npm publish --access public"
"publish": "npm publish --access public"
},
"license": "Apache-2.0",
"author": "ansgoo",
Expand All @@ -36,13 +36,6 @@
"vue": "^3.3.4"
},
"devDependencies": {
"eslint-config-prettier": "^8.10.0",
"eslint-define-config": "^1.24.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-spellcheck": "^0.0.20",
"eslint-plugin-vue": "^9.24.0",
"husky": "^7.0.4",
"less": "^4.2.0",
"postcss": "^8.4.38",
Expand All @@ -51,7 +44,6 @@
"rimraf": "^3.0.2",
"rollup-plugin-visualizer": "^5.12.0",
"stylelint": "^15.11.0",
"stylelint-config-recommended-vue": "^1.5.0",
"tailwindcss": "^3.4.3",
"terser": "^5.30.0",
"typescript": "^4.9.5",
Expand Down
10 changes: 1 addition & 9 deletions packages/designer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"scripts": {
"build:lib": "vite build",
"publish":"npm publish --access public"
"publish": "npm publish --access public"
},
"license": "Apache-2.0",
"author": "ansgoo",
Expand Down Expand Up @@ -42,13 +42,6 @@
"vue": "^3.3.4"
},
"devDependencies": {
"eslint-config-prettier": "^8.10.0",
"eslint-define-config": "^1.24.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-spellcheck": "^0.0.20",
"eslint-plugin-vue": "^9.24.0",
"husky": "^7.0.4",
"less": "^4.2.0",
"postcss": "^8.4.38",
Expand All @@ -57,7 +50,6 @@
"rimraf": "^3.0.2",
"rollup-plugin-visualizer": "^5.12.0",
"stylelint": "^15.11.0",
"stylelint-config-recommended-vue": "^1.5.0",
"tailwindcss": "^3.4.3",
"terser": "^5.30.0",
"typescript": "^4.9.5",
Expand Down
14 changes: 3 additions & 11 deletions packages/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"scripts": {
"build:lib": "vite build",
"publish":"npm publish --access public"
"publish": "npm publish --access public"
},
"license": "Apache-2.0",
"repository": {
Expand All @@ -33,20 +33,13 @@
},
"dependencies": {
"@open-data-v/base": "^0.0.4",
"lodash-es": "^4.17.21",
"@open-data-v/ui": "^0.0.4"
"@open-data-v/ui": "^0.0.4",
"lodash-es": "^4.17.21"
},
"peerDependencies ": {
"vue": "^3.3.4"
},
"devDependencies": {
"eslint-config-prettier": "^8.10.0",
"eslint-define-config": "^1.24.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-spellcheck": "^0.0.20",
"eslint-plugin-vue": "^9.24.0",
"husky": "^7.0.4",
"less": "^4.2.0",
"postcss": "^8.4.38",
Expand All @@ -55,7 +48,6 @@
"rimraf": "^3.0.2",
"rollup-plugin-visualizer": "^5.12.0",
"stylelint": "^15.11.0",
"stylelint-config-recommended-vue": "^1.5.0",
"tailwindcss": "^3.4.3",
"terser": "^5.30.0",
"typescript": "^4.9.5",
Expand Down
14 changes: 3 additions & 11 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"scripts": {
"build:lib": "vite build",
"publish":"npm publish --access public"
"publish": "npm publish --access public"
},
"license": "Apache-2.0",
"author": "ansgoo",
Expand All @@ -29,21 +29,14 @@
},
"dependencies": {
"@ctrl/tinycolor": "^4.0.3",
"lodash-es": "^4.17.21",
"@open-data-v/base":"^0.0.4"
"@open-data-v/base": "^0.0.4",
"lodash-es": "^4.17.21"
},
"sideEffects": false,
"peerDependencies ": {
"vue": "^3.3.4"
},
"devDependencies": {
"eslint-config-prettier": "^8.10.0",
"eslint-define-config": "^1.24.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-spellcheck": "^0.0.20",
"eslint-plugin-vue": "^9.24.0",
"husky": "^7.0.4",
"less": "^4.2.0",
"postcss": "^8.4.38",
Expand All @@ -52,7 +45,6 @@
"rimraf": "^3.0.2",
"rollup-plugin-visualizer": "^5.12.0",
"stylelint": "^15.11.0",
"stylelint-config-recommended-vue": "^1.5.0",
"tailwindcss": "^3.4.3",
"terser": "^5.30.0",
"typescript": "^4.9.5",
Expand Down
Loading

0 comments on commit a77679b

Please sign in to comment.