@nmakarov/cli-toolkit 0.73.0 → 0.75.0
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/dist/cli-runner.cjs +13 -1
- package/dist/cli-runner.cjs.map +1 -1
- package/dist/cli-runner.js +13 -1
- package/dist/cli-runner.js.map +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/init.cjs +13 -1
- package/dist/init.cjs.map +1 -1
- package/dist/init.js +13 -1
- package/dist/init.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5449,6 +5449,7 @@ function setup(opts = {}) {
|
|
|
5449
5449
|
const partialContext = {
|
|
5450
5450
|
emitter: new EventEmitter(),
|
|
5451
5451
|
isStop: () => false,
|
|
5452
|
+
isKill: () => false,
|
|
5452
5453
|
cleanupFunctions: [],
|
|
5453
5454
|
registerCleanup: (fn) => {
|
|
5454
5455
|
partialContext.cleanupFunctions.push(fn);
|
|
@@ -5470,6 +5471,7 @@ function setup(opts = {}) {
|
|
|
5470
5471
|
logger,
|
|
5471
5472
|
emitter: partialContext.emitter,
|
|
5472
5473
|
isStop: partialContext.isStop,
|
|
5474
|
+
isKill: partialContext.isKill,
|
|
5473
5475
|
cleanupFunctions: partialContext.cleanupFunctions,
|
|
5474
5476
|
registerCleanup: partialContext.registerCleanup,
|
|
5475
5477
|
// For long-running scripts (servers): with --showUsedParams=top, print
|