fix: web 打包改用 npm install(仓库未纳入 package-lock.json)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-10-24 11:56:25 +08:00
1 parent 97706f1c5e
commit 6ccb9f8cd4
2 files changed
+4 -2

No files matched your search

@@ -43,7 +43,8 @@
源文件:`backend/ruoyi-admin/target/ruoyi-admin.jar` → `backend-<tag>.jar`
2. **web**(`node:20-bookworm`)
`npm ci` → `npm run build:prod`
`npm install` → `npm run build:prod`
(`web/package-lock.json` 被 gitignore,仓库无 lock,不能用 `npm ci`)
打包 `web/dist` → `web-<tag>.tar.gz`
3. **mobile**(`node:20-bookworm` + corepack/pnpm)