chore(deps): 依赖更新和registry更改

- 更新多项依赖以保持最新,包括`@dcloudio/uni-app`和其他相关库至最新alpha版本,以及`alova`和`vue`等。
- 将npm registry更改为https://registry.npmmirror.com,以改善国内访问速度和可靠性。
- `package.json`中具体版本号的变动反映在`dependencies`和`devDependencies`部分,确保使用最新稳定版本。- .npmrc文件中registry的更改将影响所有npm安装操作,提供一个更快的国内镜像源。
This commit is contained in:
h_mo 2024-08-19 14:44:34 +08:00
parent c1e80faef2
commit 626781e26a
2 changed files with 41 additions and 41 deletions

4
.npmrc
View File

@ -2,5 +2,5 @@
# 提示:如果你不希望pnpm在对等依赖问题上失败在项目根目录下的.npmrc文件中添加"strict-peer-dependencies=false"。
# auto-install-peers=true
strict-peer-dependencies=false
# registry=https://registry.npmmirror.com
registry=https://registry.npmjs.org
registry=https://registry.npmmirror.com
# registry=https://registry.npmjs.org

View File

@ -37,59 +37,59 @@
"dependencies": {
"@alova/adapter-uniapp": "^1.2.2",
"@alova/mock": "^1.5.2",
"@dcloudio/uni-app": "3.0.0-alpha-4020220240624001",
"@dcloudio/uni-app-plus": "3.0.0-alpha-4020220240624001",
"@dcloudio/uni-components": "3.0.0-alpha-4020220240624001",
"@dcloudio/uni-h5": "3.0.0-alpha-4020220240624001",
"@dcloudio/uni-i18n": "3.0.0-alpha-4020220240624001",
"@dcloudio/uni-mp-alipay": "3.0.0-alpha-4020220240624001",
"@dcloudio/uni-mp-baidu": "3.0.0-alpha-4020220240624001",
"@dcloudio/uni-mp-kuaishou": "3.0.0-alpha-4020220240624001",
"@dcloudio/uni-mp-lark": "3.0.0-alpha-4020220240624001",
"@dcloudio/uni-mp-qq": "3.0.0-alpha-4020220240624001",
"@dcloudio/uni-mp-toutiao": "3.0.0-alpha-4020220240624001",
"@dcloudio/uni-mp-weixin": "3.0.0-alpha-4020220240624001",
"@dcloudio/uni-quickapp-webview": "3.0.0-alpha-4020220240624001",
"@dcloudio/uni-app": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-app-plus": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-components": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-h5": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-i18n": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-mp-alipay": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-mp-baidu": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-mp-kuaishou": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-mp-lark": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-mp-qq": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-mp-toutiao": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-mp-weixin": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-quickapp-webview": "3.0.0-alpha-4020520240808001",
"@multiavatar/multiavatar": "^1.0.7",
"alova": "^2.21.3",
"alova": "^2.21.4",
"crypto-js": "^4.2.0",
"lodash-es": "^4.17.21",
"pinia": "^2.1.7",
"vue": "^3.4.30"
"pinia": "^2.2.2",
"vue": "^3.4.38"
},
"devDependencies": {
"@antfu/eslint-config": "^2.21.1",
"@dcloudio/types": "^3.4.8",
"@dcloudio/uni-automator": "3.0.0-alpha-4020220240624001",
"@dcloudio/uni-cli-shared": "3.0.0-alpha-4020220240624001",
"@dcloudio/uni-stacktracey": "3.0.0-alpha-4020220240624001",
"@dcloudio/uni-vue-devtools": "3.0.0-alpha-4020220240624001",
"@dcloudio/vite-plugin-uni": "3.0.0-alpha-4020220240624001",
"@iconify/json": "^2.2.206",
"@antfu/eslint-config": "^2.26.0",
"@dcloudio/types": "^3.4.12",
"@dcloudio/uni-automator": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-cli-shared": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-stacktracey": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-vue-devtools": "3.0.0-alpha-4020520240808001",
"@dcloudio/vite-plugin-uni": "3.0.0-alpha-4020520240808001",
"@iconify/json": "^2.2.238",
"@types/crypto-js": "^4.2.2",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.14.8",
"@unocss/eslint-plugin": "^0.61.0",
"@vitejs/plugin-vue": "^5.0.5",
"@vue/runtime-core": "^3.4.30",
"eslint": "^9.5.0",
"@types/node": "^20.16.1",
"@unocss/eslint-plugin": "^0.61.9",
"@vitejs/plugin-vue": "^5.1.2",
"@vue/runtime-core": "^3.4.38",
"eslint": "^9.9.0",
"eslint-plugin-format": "^0.1.2",
"globals": "^15.6.0",
"lint-staged": "^15.2.7",
"globals": "^15.9.0",
"lint-staged": "^15.2.9",
"picocolors": "^1.0.1",
"rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.77.6",
"sass": "^1.77.8",
"simple-git-hooks": "^2.11.1",
"tsx": "^4.15.7",
"typescript": "^5.5.2",
"tsx": "^4.17.0",
"typescript": "^5.5.4",
"uni-mini-router": "^0.1.6",
"uni-read-pages-vite": "^0.0.6",
"unocss": "^0.61.0",
"unocss-preset-weapp": "^0.60.1",
"unplugin-auto-import": "^0.17.6",
"unocss": "^0.62.2",
"unocss-preset-weapp": "^0.62.0",
"unplugin-auto-import": "^0.18.2",
"unplugin-transform-class": "^0.5.3",
"vite": "^5.3.1",
"vite-plugin-restart": "^0.4.0"
"vite": "^5.4.1",
"vite-plugin-restart": "^0.4.1"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",