@catladder/cli 1.48.2 → 1.49.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/bundles/catenv/index.js +1 -1
- package/dist/bundles/cli/index.js +4 -4
- package/dist/cli.js +0 -5
- package/dist/cli.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -4
- package/src/cli.ts +0 -5
- package/dist/bundles/cli/check.js +0 -28
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"node": ">=12.0.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@catladder/pipeline": "1.
|
|
27
|
+
"@catladder/pipeline": "1.49.0",
|
|
28
28
|
"@kubernetes/client-node": "^0.16.2",
|
|
29
29
|
"@tsconfig/node14": "^1.0.1",
|
|
30
30
|
"@types/common-tags": "^1.8.0",
|
|
@@ -47,7 +47,6 @@
|
|
|
47
47
|
"eslint": "^8.7.0",
|
|
48
48
|
"fs-extra": "^7.0.1",
|
|
49
49
|
"gitlab": "^4.4.1",
|
|
50
|
-
"is-ci": "^3.0.1",
|
|
51
50
|
"js-yaml": "^4.1.0",
|
|
52
51
|
"lodash": "^4.17.21",
|
|
53
52
|
"memoizee": "^0.4.14",
|
|
@@ -56,8 +55,7 @@
|
|
|
56
55
|
"prettier": "^2.5.1",
|
|
57
56
|
"tmp-promise": "^2.0.2",
|
|
58
57
|
"typescript": "^4.5.4",
|
|
59
|
-
"update-notifier": "^5",
|
|
60
58
|
"vorpal": "^1.12.0"
|
|
61
59
|
},
|
|
62
|
-
"version": "1.
|
|
60
|
+
"version": "1.49.0"
|
|
63
61
|
}
|
package/src/cli.ts
CHANGED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* eslint-disable unicorn/no-process-exit */
|
|
2
|
-
'use strict';
|
|
3
|
-
let updateNotifier = require('.');
|
|
4
|
-
|
|
5
|
-
const options = JSON.parse(process.argv[2]);
|
|
6
|
-
|
|
7
|
-
updateNotifier = new updateNotifier.UpdateNotifier(options);
|
|
8
|
-
|
|
9
|
-
(async () => {
|
|
10
|
-
// Exit process when offline
|
|
11
|
-
setTimeout(process.exit, 1000 * 30);
|
|
12
|
-
|
|
13
|
-
const update = await updateNotifier.fetchInfo();
|
|
14
|
-
|
|
15
|
-
// Only update the last update check time on success
|
|
16
|
-
updateNotifier.config.set('lastUpdateCheck', Date.now());
|
|
17
|
-
|
|
18
|
-
if (update.type && update.type !== 'latest') {
|
|
19
|
-
updateNotifier.config.set('update', update);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// Call process exit explicitly to terminate the child process,
|
|
23
|
-
// otherwise the child process will run forever, according to the Node.js docs
|
|
24
|
-
process.exit();
|
|
25
|
-
})().catch(error => {
|
|
26
|
-
console.error(error);
|
|
27
|
-
process.exit(1);
|
|
28
|
-
});
|