Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit a7d8497

Browse files
committed
remove --options max-old-space-size=30720,tls-min-v1.0,expose-gc pkg command
1 parent 9857448 commit a7d8497

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cortex-js/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dev": "nest dev",
1515
"compile": "npx ncc build ./dist/src/command.js -o command",
1616
"build": "nest build",
17-
"build:binary": "yarn build && yarn compile && npx -q patch-package && npx @yao-pkg/pkg . --options max-old-space-size=30720,tls-min-v1.0,expose-gc",
17+
"build:binary": "yarn build && yarn compile && npx -q patch-package && npx @yao-pkg/pkg .",
1818
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
1919
"build:extensions": "run-script-os",
2020
"build:extensions:windows": "powershell -command \"$jobs = Get-ChildItem -Path './src/extensions' -Directory | ForEach-Object { Start-Job -Name ($_.Name) -ScriptBlock { param($_dir); try { Set-Location $_dir; yarn; yarn build; Write-Output 'Build successful in ' + $_dir } catch { Write-Error 'Error in ' + $_dir; throw } } -ArgumentList $_.FullName }; $jobs | Wait-Job; $jobs | ForEach-Object { Receive-Job -Job $_ -Keep } | ForEach-Object { Write-Host $_ }; $failed = $jobs | Where-Object { $_.State -ne 'Completed' -or $_.ChildJobs[0].JobStateInfo.State -ne 'Completed' }; if ($failed) { Exit 1 }\"",
@@ -145,7 +145,8 @@
145145
"command/*.node",
146146
"**/package.json",
147147
"node_modules/axios/**/*",
148-
"node_modules/swagger-ui-dist/"
148+
"node_modules/swagger-ui-dist/",
149+
"**/main.js"
149150
],
150151
"outputPath": "dist"
151152
}

0 commit comments

Comments
 (0)