diff --git a/applications/server/project.json b/applications/server/project.json index b786cd54..37d58577 100644 --- a/applications/server/project.json +++ b/applications/server/project.json @@ -20,6 +20,7 @@ "outputs": ["{options.outputPath}"], "options": { "commands": [ + "pkg-fetch --platform {args.platform} --node-range node16", "pkg dist/applications/server/package.json -t node16-{args.platform} -o release/{args.platform}/RedEye" ], "parallel": false diff --git a/package.json b/package.json index 93d30538..1488603d 100644 --- a/package.json +++ b/package.json @@ -187,6 +187,7 @@ "nodemon": "^2.0.4", "nx": "^14.6.3", "pkg": "^5.8.0", + "pkg-fetch": "^3.4.2", "playwright-webkit": "^1.25.2", "prettier": "^2.2.1", "rollup-plugin-auto-external": "^2.0.0", diff --git a/packages/cs-parser/project.json b/packages/cs-parser/project.json index 3ed61e0e..6a2cd7f2 100644 --- a/packages/cs-parser/project.json +++ b/packages/cs-parser/project.json @@ -18,6 +18,7 @@ "outputs": ["{options.outputPath}"], "options": { "commands": [ + "pkg-fetch --platform {args.platform} --node-range node16", "pkg dist/packages/cs-parser/package.json -t node16-{args.platform} -o release/{args.platform}/parsers/cs-parser" ], "parallel": false diff --git a/yarn.lock b/yarn.lock index bbca3fa2..98bde159 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15677,7 +15677,7 @@ __metadata: languageName: node linkType: hard -"pkg-fetch@npm:3.4.2": +"pkg-fetch@npm:3.4.2, pkg-fetch@npm:^3.4.2": version: 3.4.2 resolution: "pkg-fetch@npm:3.4.2" dependencies: @@ -17109,6 +17109,7 @@ __metadata: open: ^8.4.0 path-to-regexp: ^6.2.0 pkg: ^5.8.0 + pkg-fetch: ^3.4.2 playwright-webkit: ^1.25.2 prettier: ^2.2.1 react: ^18.2.0