Switch deployment to npm and sync pnpm-lock.yaml with lunar-javascript.

Use npm ci/install in deploy script and docs to avoid frozen pnpm lockfile failures on the server.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-10 20:51:35 +08:00
parent fff77dac3f
commit e44cdf913e
4 changed files with 48 additions and 21 deletions
+2 -2
View File
@@ -45,8 +45,8 @@ pnpm run dev
```bash
cd /opt/zhimingge
cp .env.example .env.local && nano .env.local # 填写 OPENAI_API_KEYPORT=3130
pnpm install --frozen-lockfile
pnpm run build
npm install --frozen-lockfile
npm run build
pm2 start ecosystem.config.cjs
pm2 save && pm2 startup
```