Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 在建议的开发环境下重新生成pnpm-lock.yml #361

Merged
merged 2 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ G6VP 产品中包含了很多的惊喜功能,大家可以前往「开放市场

## 02. 开发 G6VP

G6VP 采用 pnpm 包管理工具,并使用 Node 16 进行开发Node 版本过高在安装依赖和运行 NPM 脚本时可能存在问题,建议使用 [nvm](https://github.com/nvm-sh/nvm) 管理 Node 版本。
G6VP 采用 pnpm 8 和 Node 16 进行开发Node 版本过高在安装依赖和运行 NPM 脚本时可能存在问题。我们建议使用 [nvm](https://github.com/nvm-sh/nvm) 管理 Node 版本,在使用 nvm 切换到 Node 16 环境后运行`npm -g install pnpm@8`安装 pnpm 8

### 2.1 安装依赖

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"engines": {
"node": "^16"
"node": "^16",
"pnpm": "^8"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
Expand Down
Loading