番茄酱
主 题
全局安装工具库
npm install -g npm-check-updates
查看项目有哪些可更新的依赖
执行ncu
命令
language
arco-design/web-vue ^2.30.2 → ^2.35.0
@types/mockjs ^1.0.4 → ^1.0.6
@vueuse/core ^7.3.0 → ^9.1.0
arco-design-pro-vue ^2.5.5 → ^2.5.9
axios ^0.24.0 → ^0.27.2
dayjs ^1.10.7 → ^1.11.5
echarts ^5.2.2 → ^5.3.3
highlight.js ^11.5.1 → ^11.6.0
pinia ^2.0.9 → ^2.0.18
query-string ^7.0.1 → ^7.1.1
vue ^3.2.31 → ^3.2.37
vue-echarts ^6.0.0 → ^6.2.3
vue-i18n ^9.2.0-beta.17 → ^9.2.2
vue-router ^4.0.14 → ^4.1.3
@commitlint/cli ^11.0.0 → ^17.0.3
@commitlint/config-conventional ^12.0.1 → ^17.0.3
@types/lodash ^4.14.177 → ^4.14.182
@typescript-eslint/eslint-plugin ^5.10.0 → ^5.33.0
@typescript-eslint/parser ^5.10.0 → ^5.33.0
@vitejs/plugin-vue ^1.10.2 → ^3.0.3
@vitejs/plugin-vue-jsx ^1.3.3 → ^2.0.0
eslint ^8.7.0 → ^8.21.0
eslint-config-airbnb-base ^14.2.1 → ^15.0.0
eslint-config-prettier ^8.3.0 → ^8.5.0
eslint-import-resolver-typescript ^2.4.0 → ^3.4.1
eslint-plugin-import ^2.22.1 → ^2.26.0
eslint-plugin-prettier ^3.3.1 → ^4.2.1
eslint-plugin-vue ^8.3.0 → ^9.3.0
husky ^7.0.4 → ^8.0.1
lint-staged ^11.2.6 → ^13.0.3
prettier ^2.2.1 → ^2.7.1
rollup-plugin-visualizer ^5.6.0 → ^5.7.1
stylelint ^13.8.0 → ^14.10.0
stylelint-config-prettier ^8.0.2 → ^9.0.3
stylelint-config-standard ^20.0.0 → ^27.0.0
stylelint-order ^4.1.0 → ^5.0.0
typescript ^4.5.5 → ^4.7.4
unplugin-vue-components ^0.19.3 → ^0.22.4
vite ^2.8.1 → ^3.0.7
vite-plugin-eslint ^1.3.0 → ^1.8.0
vite-plugin-style-import 1.4.1 → 2.0.0
vite-svg-loader ^3.1.0 → ^3.4.0
vue-tsc ^0.34.15 → ^0.40.1
执行命令
执行 ncu -u
更新 package.json
完成之后可以删除 node_modules,再进行安装即可完全依赖的全部升级。
高级参数
ncu --interactive --format group
手动选择依赖升级并且分组展示
language
? Choose which packages to update »
↑/↓: Select a package
Space: Toggle selection
a: Toggle all
Enter: Upgrade
Patch Backwards-compatible bug fixes
❯ (*) @iconify/vue ^4.1.1 → ^4.1.2
(*) autoprefixer ^10.4.18 → ^10.4.20
(*) dayjs ^1.11.10 → ^1.11.13
(*) lint-staged ^15.2.2 → ^15.2.10
(*) postcss ^8.4.35 → ^8.4.47
(*) qrcode ^1.5.3 → ^1.5.4
(*) smooth-signature ^1.0.14 → ^1.0.15
(*) tailwindcss ^3.4.1 → ^3.4.13
Minor Backwards-compatible features
(*) @commitlint/cli ^19.1.0 → ^19.5.0
(*) @commitlint/config-conventional ^19.1.0 → ^19.5.0
(*) daisyui ^4.7.3 → ^4.12.13
(*) eslint-plugin-prettier ^5.1.3 → ^5.2.1
(*) husky ^9.0.11 → ^9.1.6
(*) md-editor-v3 ^4.12.1 → ^4.20.4
(*) nuxt ^3.10.3 → ^3.13.2
(*) pinia ^2.1.7 → ^2.2.4
(*) prettier ^3.2.5 → ^3.3.3
(*) typescript ^5.4.2 → ^5.6.3
(*) vue ^3.4.21 → ^3.5.11
Major Potentially breaking API changes
( ) @vueuse/core ^10.9.0 → ^11.1.0
( ) @vueuse/nuxt ^10.9.0 → ^11.1.0
( ) eslint ^8.57.0 → ^9.12.0
( ) sitemap ^7.1.1 → ^8.0.0
Major version zero Anything may change
( ) @pinia/nuxt ^0.5.1 → ^0.5.5
( ) unplugin-icons ^0.18.5 → ^0.19.3
全部评论(0)