build(dev): 开发容器迁移到 pnpm.

This commit is contained in:
Ivan Li 2022-10-29 02:15:14 +00:00
parent 4cc2f920a1
commit 8d9020da3a
2 changed files with 2 additions and 2 deletions

View File

@ -11,4 +11,4 @@ FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"
# [Optional] Uncomment if you want to install more global node packages
# RUN su node -c "npm install -g pnpm"
RUN su node -c "npm install -g pnpm"

View File

@ -50,5 +50,5 @@
"git-lfs": "latest"
},
"mounts": [],
"postStartCommand": "npm ci && npm run dev"
"postStartCommand": "pnpm install && npm run dev"
}