Skip to content

Commit

Permalink
remove --options max-old-space-size=30720,tls-min-v1.0,expose-gc pkg …
Browse files Browse the repository at this point in the history
…command
  • Loading branch information
hientominh committed Jul 22, 2024
1 parent 9857448 commit a7d8497
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cortex-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dev": "nest dev",
"compile": "npx ncc build ./dist/src/command.js -o command",
"build": "nest build",
"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",
"build:binary": "yarn build && yarn compile && npx -q patch-package && npx @yao-pkg/pkg .",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"build:extensions": "run-script-os",
"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 }\"",
Expand Down Expand Up @@ -145,7 +145,8 @@
"command/*.node",
"**/package.json",
"node_modules/axios/**/*",
"node_modules/swagger-ui-dist/"
"node_modules/swagger-ui-dist/",
"**/main.js"
],
"outputPath": "dist"
}
Expand Down

0 comments on commit a7d8497

Please sign in to comment.