Skip to content

Commit 2ee53f2

Browse files
Merge pull request #421 from Sepush/main
chore(cn): to pnpm
2 parents 905d7d1 + 33fdbc8 commit 2ee53f2

File tree

4 files changed

+5
-805
lines changed

4 files changed

+5
-805
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ db.json
55
node_modules/
66
.deploy*/
77
package-lock.json
8+
yarn.lock
89
.vitepress/dist
910
*.local

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ $ git clone https://github.com/vitejs/docs-cn.git
4747

4848
# 安装依赖
4949
$ npm install
50-
# 或者使用 yarn
51-
$ yarn install
50+
# 或者使用 pnpm
51+
$ pnpm i
5252

5353
# 启动开发服务器
54-
$ yarn dev
54+
$ pnpm dev
5555
```

guide/static-deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
本指南建立在以下几个假设基础之上:
44

55
- 你正在使用的是默认的构建输出路径(`dist`)。这个路径 [可以通过 `build.outDir` 更改](/config/#build-outdir),在这种情况下,你可以从这篇指南中找到出所需的指引。
6-
- 你正在使用 NPM;或者 Yarn 等其他可以运行下面的脚本指令的包管理工具。
6+
- 你正在使用 NPM;或者 Yarn PNPM 等其他可以运行下面的脚本指令的包管理工具。
77
- Vite 已作为一个本地开发依赖(dev dependency)安装在你的项目中,并且你已经配置好了如下的 npm scripts:
88

99
```json

0 commit comments

Comments
 (0)