@ornncompute/cli 0.2.14 → 0.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/package.json +1 -1
- package/src/signals.mjs +1 -1
package/README.md
CHANGED
|
@@ -385,6 +385,9 @@ Ctrl+C or SIGTERM releases the lock after installer teardown. An interrupted
|
|
|
385
385
|
package installation may still require reinstalling the CLI if the package
|
|
386
386
|
manager has already removed the previous version.
|
|
387
387
|
|
|
388
|
+
On POSIX, SIGHUP and SIGQUIT are forwarded to the package installer so it can
|
|
389
|
+
exit before the update lock is released.
|
|
390
|
+
|
|
388
391
|
## Deployment
|
|
389
392
|
|
|
390
393
|
`deploy-cli-pipeline.yml` publishes `@ornncompute/cli` from `main`. Staging
|
package/package.json
CHANGED
package/src/signals.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const FORWARDABLE_SIGNALS =
|
|
2
|
-
process.platform === "win32" ? ["SIGINT", "SIGTERM"] : ["SIGINT", "SIGTERM", "SIGHUP"];
|
|
2
|
+
process.platform === "win32" ? ["SIGINT", "SIGTERM"] : ["SIGINT", "SIGTERM", "SIGHUP", "SIGQUIT"];
|
|
3
3
|
|
|
4
4
|
export function forwardSignals(signalSource, child, onSignal) {
|
|
5
5
|
const listeners = FORWARDABLE_SIGNALS.map((signal) => {
|