fix(docker): upgrade Node.js to v22 and pnpm to v11 to resolve build failure
pnpm 11.5.2 requires Node.js v22.13+ and uses node:sqlite module unavailable in Node.js v20. Also switch to --no-frozen-lockfile temporarily for lockfile format migration compatibility. 🤖 Generated with [Qoder][https://qoder.com]
This commit is contained in:
7
pack.mjs
7
pack.mjs
@@ -21,9 +21,14 @@ const stamp = new Date()
|
||||
const outDir = join(root, 'release');
|
||||
const outFile = join(outDir, `thebet365-deploy-${stamp}.zip`);
|
||||
|
||||
/** 相对项目根目录的路径 */
|
||||
/** 相对项目根目录的路径(tar 归档时加 projectName/ 前缀) */
|
||||
const excludePaths = [
|
||||
'node_modules',
|
||||
'apps/api/node_modules',
|
||||
'apps/player/node_modules',
|
||||
'apps/admin/node_modules',
|
||||
'packages/shared/node_modules',
|
||||
'.claude',
|
||||
'.git',
|
||||
'.env',
|
||||
'.env.local',
|
||||
|
||||
Reference in New Issue
Block a user