Update .npmrc to replace npm registry URL
All checks were successful
CI / cache-and-install (push) Successful in 2m57s
All checks were successful
CI / cache-and-install (push) Successful in 2m57s
This commit is contained in:
2
.npmrc
2
.npmrc
@ -1,6 +1,6 @@
|
||||
registry=https://registry.npmmirror.com
|
||||
registry=https://registry.npmjs.org/
|
||||
registry=https://verdaccio.1-h.cc
|
||||
registry=https://r-npm.oo1.dev
|
||||
|
||||
# https://pnpm.io/zh/npmrc#node-mirrorltreleasedir
|
||||
use-node-version=20.17.0
|
||||
|
17
README.md
17
README.md
@ -1,6 +1,21 @@
|
||||
# vue-ts-example
|
||||
|
||||
This template should help get you started developing with Vue 3 in Vite.
|
||||
## 开发
|
||||
|
||||
```bash
|
||||
# 安装 pnpm (macOS/Linux)
|
||||
curl -fsSL https://get-pnpm.oo1.dev/install.sh | sh -
|
||||
# 安装 pnpm (Windows Useing PowerShell)
|
||||
iwr https://get-pnpm.oo1.dev/install.ps1 -useb | iex
|
||||
|
||||
# 安装依赖
|
||||
pnpm install --registry=https://verdaccio.1-h.cc
|
||||
|
||||
# 启动服务
|
||||
pnpm run dev
|
||||
```
|
||||
|
||||
## Tips
|
||||
|
||||
### Husky 遇到 command not found: husky
|
||||
|
||||
|
12
package.json
12
package.json
@ -47,9 +47,9 @@
|
||||
"tdesign-mobile-vue": "^1.4.2",
|
||||
"ts-enum-util": "^4.1.0",
|
||||
"utils4u": "^2.10.1",
|
||||
"vant": "^4.9.6",
|
||||
"vant": "^4.9.7",
|
||||
"vite-plugin-webfont-dl": "^3.9.5",
|
||||
"vue": "^3.5.6",
|
||||
"vue": "^3.5.8",
|
||||
"vue-page-stack": "^3.2.0",
|
||||
"vue-router": "^4.4.5"
|
||||
},
|
||||
@ -59,7 +59,7 @@
|
||||
"@rushstack/eslint-patch": "^1.10.4",
|
||||
"@tsconfig/node20": "^20.1.4",
|
||||
"@types/jsdom": "^21.1.7",
|
||||
"@types/node": "^22.5.5",
|
||||
"@types/node": "^22.7.0",
|
||||
"@types/nprogress": "^0.2.3",
|
||||
"@unocss/preset-attributify": "^0.62.4",
|
||||
"@unocss/preset-rem-to-px": "^0.62.4",
|
||||
@ -75,7 +75,7 @@
|
||||
"eslint": "^8.57.1",
|
||||
"eslint-plugin-vue": "^9.28.0",
|
||||
"husky": "^9.1.6",
|
||||
"jsdom": "^25.0.0",
|
||||
"jsdom": "^25.0.1",
|
||||
"less": "^4.2.0",
|
||||
"lint-staged": "^15.2.10",
|
||||
"npm-run-all2": "^6.2.3",
|
||||
@ -90,9 +90,9 @@
|
||||
"unplugin-vue-markdown": "^0.26.2",
|
||||
"unplugin-vue-router": "^0.10.8",
|
||||
"vercel": "latest",
|
||||
"vite": "^5.4.6",
|
||||
"vite": "^5.4.8",
|
||||
"vite-plugin-cdn-import": "^1.0.1",
|
||||
"vite-plugin-vue-devtools": "^7.4.5",
|
||||
"vite-plugin-vue-devtools": "^7.4.6",
|
||||
"vitest": "^2.1.1",
|
||||
"vue-tsc": "^2.1.6"
|
||||
}
|
||||
|
1058
pnpm-lock.yaml
generated
1058
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user