@storm-software/git-tools 2.109.0 → 2.111.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/README.md +2 -1
- package/bin/{chunk-TJO3OVQL.js → chunk-6W35JGWT.js} +1 -0
- package/bin/{chunk-QXEKRC3T.cjs → chunk-JMVFGGPW.cjs} +2 -1
- package/bin/git.cjs +30225 -27250
- package/bin/git.js +35755 -32780
- package/bin/post-checkout.cjs +9 -9
- package/bin/post-checkout.js +1 -1
- package/bin/post-commit.cjs +9 -9
- package/bin/post-commit.js +1 -1
- package/bin/post-merge.cjs +9 -9
- package/bin/post-merge.js +1 -1
- package/bin/pre-commit.cjs +9 -9
- package/bin/pre-commit.js +1 -1
- package/bin/pre-install.cjs +9 -9
- package/bin/pre-install.js +1 -1
- package/bin/pre-push.cjs +13 -13
- package/bin/pre-push.js +1 -1
- package/bin/prepare.cjs +7 -7
- package/bin/prepare.js +1 -1
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/package.json +1 -1
package/bin/post-checkout.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var _chunkMRCW7ZWWcjs = require('./chunk-MRCW7ZWW.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkJMVFGGPWcjs = require('./chunk-JMVFGGPW.cjs');
|
|
17
17
|
require('./chunk-Z3K5JTIC.cjs');
|
|
18
18
|
require('./chunk-34R4PCUS.cjs');
|
|
19
19
|
require('./chunk-H6RJC2EU.cjs');
|
|
@@ -27,29 +27,29 @@ var _chunkRHY34RLEcjs = require('./chunk-RHY34RLE.cjs');
|
|
|
27
27
|
// bin/post-checkout.ts
|
|
28
28
|
_chunkRHY34RLEcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkJMVFGGPWcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
_chunkJMVFGGPWcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkJMVFGGPWcjs.writeInfo.call(void 0, "Running post-checkout hook...", config);
|
|
34
34
|
_chunkVNWRUK6Ncjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
36
|
_chunkMRCW7ZWWcjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
38
|
+
_chunkJMVFGGPWcjs.writeError.call(void 0,
|
|
39
39
|
`This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-checkout.
|
|
40
40
|
Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
|
|
41
41
|
config
|
|
42
42
|
);
|
|
43
|
-
|
|
43
|
+
_chunkJMVFGGPWcjs.exitWithError.call(void 0, config);
|
|
44
44
|
}
|
|
45
45
|
_chunkMRCW7ZWWcjs.run.call(void 0, config, "git lfs post-checkout");
|
|
46
|
-
|
|
46
|
+
_chunkJMVFGGPWcjs.exitWithSuccess.call(void 0, config);
|
|
47
47
|
} catch (error) {
|
|
48
|
-
|
|
48
|
+
_chunkJMVFGGPWcjs.writeFatal.call(void 0,
|
|
49
49
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
50
|
config
|
|
51
51
|
);
|
|
52
|
-
|
|
52
|
+
_chunkJMVFGGPWcjs.exitWithError.call(void 0, config);
|
|
53
53
|
process.exit(1);
|
|
54
54
|
}
|
|
55
55
|
})();
|
package/bin/post-checkout.js
CHANGED
package/bin/post-commit.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var _chunkMRCW7ZWWcjs = require('./chunk-MRCW7ZWW.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkJMVFGGPWcjs = require('./chunk-JMVFGGPW.cjs');
|
|
17
17
|
require('./chunk-Z3K5JTIC.cjs');
|
|
18
18
|
require('./chunk-34R4PCUS.cjs');
|
|
19
19
|
require('./chunk-H6RJC2EU.cjs');
|
|
@@ -27,29 +27,29 @@ var _chunkRHY34RLEcjs = require('./chunk-RHY34RLE.cjs');
|
|
|
27
27
|
// bin/post-commit.ts
|
|
28
28
|
_chunkRHY34RLEcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkJMVFGGPWcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
_chunkJMVFGGPWcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkJMVFGGPWcjs.writeInfo.call(void 0, "Running post-commit hook...", config);
|
|
34
34
|
_chunkVNWRUK6Ncjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
36
|
_chunkMRCW7ZWWcjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
38
|
+
_chunkJMVFGGPWcjs.writeError.call(void 0,
|
|
39
39
|
`This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-commit.
|
|
40
40
|
Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
|
|
41
41
|
config
|
|
42
42
|
);
|
|
43
|
-
|
|
43
|
+
_chunkJMVFGGPWcjs.exitWithError.call(void 0, config);
|
|
44
44
|
}
|
|
45
45
|
_chunkMRCW7ZWWcjs.run.call(void 0, config, "git lfs post-commit");
|
|
46
|
-
|
|
46
|
+
_chunkJMVFGGPWcjs.exitWithSuccess.call(void 0, config);
|
|
47
47
|
} catch (error) {
|
|
48
|
-
|
|
48
|
+
_chunkJMVFGGPWcjs.writeFatal.call(void 0,
|
|
49
49
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
50
|
config
|
|
51
51
|
);
|
|
52
|
-
|
|
52
|
+
_chunkJMVFGGPWcjs.exitWithError.call(void 0, config);
|
|
53
53
|
process.exit(1);
|
|
54
54
|
}
|
|
55
55
|
})();
|
package/bin/post-commit.js
CHANGED
package/bin/post-merge.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var _chunkMRCW7ZWWcjs = require('./chunk-MRCW7ZWW.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkJMVFGGPWcjs = require('./chunk-JMVFGGPW.cjs');
|
|
17
17
|
require('./chunk-Z3K5JTIC.cjs');
|
|
18
18
|
require('./chunk-34R4PCUS.cjs');
|
|
19
19
|
require('./chunk-H6RJC2EU.cjs');
|
|
@@ -27,29 +27,29 @@ var _chunkRHY34RLEcjs = require('./chunk-RHY34RLE.cjs');
|
|
|
27
27
|
// bin/post-merge.ts
|
|
28
28
|
_chunkRHY34RLEcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkJMVFGGPWcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
_chunkJMVFGGPWcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkJMVFGGPWcjs.writeInfo.call(void 0, "Running post-merge hook...", config);
|
|
34
34
|
_chunkVNWRUK6Ncjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
36
|
_chunkMRCW7ZWWcjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
38
|
+
_chunkJMVFGGPWcjs.writeError.call(void 0,
|
|
39
39
|
`This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-merge.
|
|
40
40
|
Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
|
|
41
41
|
config
|
|
42
42
|
);
|
|
43
|
-
|
|
43
|
+
_chunkJMVFGGPWcjs.exitWithError.call(void 0, config);
|
|
44
44
|
}
|
|
45
45
|
_chunkMRCW7ZWWcjs.run.call(void 0, config, "git lfs post-merge");
|
|
46
|
-
|
|
46
|
+
_chunkJMVFGGPWcjs.exitWithSuccess.call(void 0, config);
|
|
47
47
|
} catch (error) {
|
|
48
|
-
|
|
48
|
+
_chunkJMVFGGPWcjs.writeFatal.call(void 0,
|
|
49
49
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
50
|
config
|
|
51
51
|
);
|
|
52
|
-
|
|
52
|
+
_chunkJMVFGGPWcjs.exitWithError.call(void 0, config);
|
|
53
53
|
process.exit(1);
|
|
54
54
|
}
|
|
55
55
|
})();
|
package/bin/post-merge.js
CHANGED
package/bin/pre-commit.cjs
CHANGED
|
@@ -11,7 +11,7 @@ var _chunkVNWRUK6Ncjs = require('./chunk-VNWRUK6N.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkJMVFGGPWcjs = require('./chunk-JMVFGGPW.cjs');
|
|
15
15
|
require('./chunk-Z3K5JTIC.cjs');
|
|
16
16
|
require('./chunk-34R4PCUS.cjs');
|
|
17
17
|
require('./chunk-H6RJC2EU.cjs');
|
|
@@ -25,25 +25,25 @@ var _chunkRHY34RLEcjs = require('./chunk-RHY34RLE.cjs');
|
|
|
25
25
|
// bin/pre-commit.ts
|
|
26
26
|
_chunkRHY34RLEcjs.init_cjs_shims.call(void 0, );
|
|
27
27
|
void (async () => {
|
|
28
|
-
const config = await
|
|
28
|
+
const config = await _chunkJMVFGGPWcjs.getConfig.call(void 0, );
|
|
29
29
|
try {
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
_chunkJMVFGGPWcjs.handleProcess.call(void 0, config);
|
|
31
|
+
_chunkJMVFGGPWcjs.writeInfo.call(void 0, "Running pre-commit hook...", config);
|
|
32
32
|
_chunkVNWRUK6Ncjs.checkPackageVersion.call(void 0, process.argv.slice(1));
|
|
33
33
|
if (_chunkVNWRUK6Ncjs.isPackageVersionChanged.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]))) {
|
|
34
|
-
|
|
34
|
+
_chunkJMVFGGPWcjs.writeError.call(void 0,
|
|
35
35
|
"Please regenerate the package lock file before committing...",
|
|
36
36
|
config
|
|
37
37
|
);
|
|
38
|
-
|
|
38
|
+
_chunkJMVFGGPWcjs.exitWithError.call(void 0, config);
|
|
39
39
|
}
|
|
40
|
-
|
|
40
|
+
_chunkJMVFGGPWcjs.exitWithSuccess.call(void 0, config);
|
|
41
41
|
} catch (error) {
|
|
42
|
-
|
|
42
|
+
_chunkJMVFGGPWcjs.writeFatal.call(void 0,
|
|
43
43
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
44
44
|
config
|
|
45
45
|
);
|
|
46
|
-
|
|
46
|
+
_chunkJMVFGGPWcjs.exitWithError.call(void 0, config);
|
|
47
47
|
process.exit(1);
|
|
48
48
|
}
|
|
49
49
|
})();
|
package/bin/pre-commit.js
CHANGED
package/bin/pre-install.cjs
CHANGED
|
@@ -9,7 +9,7 @@ var _chunkMRCW7ZWWcjs = require('./chunk-MRCW7ZWW.cjs');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkJMVFGGPWcjs = require('./chunk-JMVFGGPW.cjs');
|
|
13
13
|
require('./chunk-Z3K5JTIC.cjs');
|
|
14
14
|
require('./chunk-34R4PCUS.cjs');
|
|
15
15
|
require('./chunk-H6RJC2EU.cjs');
|
|
@@ -23,22 +23,22 @@ var _chunkRHY34RLEcjs = require('./chunk-RHY34RLE.cjs');
|
|
|
23
23
|
// bin/pre-install.ts
|
|
24
24
|
_chunkRHY34RLEcjs.init_cjs_shims.call(void 0, );
|
|
25
25
|
void (async () => {
|
|
26
|
-
const config = await
|
|
26
|
+
const config = await _chunkJMVFGGPWcjs.getConfig.call(void 0, );
|
|
27
27
|
try {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
_chunkJMVFGGPWcjs.handleProcess.call(void 0, config);
|
|
29
|
+
_chunkJMVFGGPWcjs.writeInfo.call(void 0, "Running pre-install hook...", config);
|
|
30
30
|
if (Boolean(process.env.CI) || Boolean(process.env.STORM_CI)) {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
_chunkJMVFGGPWcjs.writeInfo.call(void 0, "Skipping pre-install for CI process...", config);
|
|
32
|
+
_chunkJMVFGGPWcjs.exitWithSuccess.call(void 0, config);
|
|
33
33
|
}
|
|
34
34
|
_chunkMRCW7ZWWcjs.run.call(void 0, config, "npx -y only-allow pnpm");
|
|
35
|
-
|
|
35
|
+
_chunkJMVFGGPWcjs.exitWithSuccess.call(void 0, config);
|
|
36
36
|
} catch (error) {
|
|
37
|
-
|
|
37
|
+
_chunkJMVFGGPWcjs.writeFatal.call(void 0,
|
|
38
38
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
39
39
|
config
|
|
40
40
|
);
|
|
41
|
-
|
|
41
|
+
_chunkJMVFGGPWcjs.exitWithError.call(void 0, config);
|
|
42
42
|
process.exit(1);
|
|
43
43
|
}
|
|
44
44
|
})();
|
package/bin/pre-install.js
CHANGED
package/bin/pre-push.cjs
CHANGED
|
@@ -14,7 +14,7 @@ var _chunkMRCW7ZWWcjs = require('./chunk-MRCW7ZWW.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkJMVFGGPWcjs = require('./chunk-JMVFGGPW.cjs');
|
|
18
18
|
require('./chunk-Z3K5JTIC.cjs');
|
|
19
19
|
require('./chunk-34R4PCUS.cjs');
|
|
20
20
|
require('./chunk-H6RJC2EU.cjs');
|
|
@@ -31,12 +31,12 @@ var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
|
31
31
|
var _promises = require('fs/promises');
|
|
32
32
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
33
33
|
void (async () => {
|
|
34
|
-
const config = await
|
|
34
|
+
const config = await _chunkJMVFGGPWcjs.getConfig.call(void 0, );
|
|
35
35
|
try {
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
_chunkJMVFGGPWcjs.handleProcess.call(void 0, config);
|
|
37
|
+
_chunkJMVFGGPWcjs.writeInfo.call(void 0, "Running pre-push hook...", config);
|
|
38
38
|
_chunkVNWRUK6Ncjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
39
|
-
|
|
39
|
+
_chunkJMVFGGPWcjs.writeInfo.call(void 0, "\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}\n", config);
|
|
40
40
|
const errors = [];
|
|
41
41
|
if (_fs2.default.existsSync(
|
|
42
42
|
_path2.default.join(_nullishCoalesce(config.workspaceRoot, () => ( "./")), "package-lock.json")
|
|
@@ -71,32 +71,32 @@ void (async () => {
|
|
|
71
71
|
errors.push('The "pnpm-lock.yaml" does not exist or cannot be read');
|
|
72
72
|
}
|
|
73
73
|
if (errors.length > 0) {
|
|
74
|
-
|
|
74
|
+
_chunkJMVFGGPWcjs.writeError.call(void 0, "\u274C Lock file validation failed", config);
|
|
75
75
|
for (const error of errors) {
|
|
76
76
|
console.error(error);
|
|
77
77
|
}
|
|
78
|
-
|
|
78
|
+
_chunkJMVFGGPWcjs.exitWithError.call(void 0, config);
|
|
79
79
|
}
|
|
80
|
-
|
|
80
|
+
_chunkJMVFGGPWcjs.writeSuccess.call(void 0, "Lock file is valid \u2705", config);
|
|
81
81
|
_chunkMRCW7ZWWcjs.run.call(void 0, config, "git lfs pre-push origin");
|
|
82
82
|
try {
|
|
83
83
|
_chunkMRCW7ZWWcjs.run.call(void 0, config, "git-lfs version");
|
|
84
84
|
} catch (error) {
|
|
85
|
-
|
|
85
|
+
_chunkJMVFGGPWcjs.writeError.call(void 0,
|
|
86
86
|
`This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.
|
|
87
87
|
Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
|
|
88
88
|
config
|
|
89
89
|
);
|
|
90
|
-
|
|
90
|
+
_chunkJMVFGGPWcjs.exitWithError.call(void 0, config);
|
|
91
91
|
}
|
|
92
92
|
_chunkMRCW7ZWWcjs.run.call(void 0, config, "git lfs pre-push origin");
|
|
93
|
-
|
|
93
|
+
_chunkJMVFGGPWcjs.exitWithSuccess.call(void 0, config);
|
|
94
94
|
} catch (error) {
|
|
95
|
-
|
|
95
|
+
_chunkJMVFGGPWcjs.writeFatal.call(void 0,
|
|
96
96
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
97
97
|
config
|
|
98
98
|
);
|
|
99
|
-
|
|
99
|
+
_chunkJMVFGGPWcjs.exitWithError.call(void 0, config);
|
|
100
100
|
process.exit(1);
|
|
101
101
|
}
|
|
102
102
|
})();
|
package/bin/pre-push.js
CHANGED
package/bin/prepare.cjs
CHANGED
|
@@ -9,7 +9,7 @@ var _chunkMRCW7ZWWcjs = require('./chunk-MRCW7ZWW.cjs');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkJMVFGGPWcjs = require('./chunk-JMVFGGPW.cjs');
|
|
13
13
|
require('./chunk-Z3K5JTIC.cjs');
|
|
14
14
|
require('./chunk-34R4PCUS.cjs');
|
|
15
15
|
require('./chunk-H6RJC2EU.cjs');
|
|
@@ -23,20 +23,20 @@ var _chunkRHY34RLEcjs = require('./chunk-RHY34RLE.cjs');
|
|
|
23
23
|
// bin/prepare.ts
|
|
24
24
|
_chunkRHY34RLEcjs.init_cjs_shims.call(void 0, );
|
|
25
25
|
void (async () => {
|
|
26
|
-
const config = await
|
|
26
|
+
const config = await _chunkJMVFGGPWcjs.getConfig.call(void 0, );
|
|
27
27
|
try {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
_chunkJMVFGGPWcjs.handleProcess.call(void 0, config);
|
|
29
|
+
_chunkJMVFGGPWcjs.writeInfo.call(void 0, "Running prepare hook...", config);
|
|
30
30
|
if (!process.env.CI && !process.env.STORM_CI) {
|
|
31
31
|
_chunkMRCW7ZWWcjs.run.call(void 0, config, "lefthook install");
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
_chunkJMVFGGPWcjs.exitWithSuccess.call(void 0, config);
|
|
34
34
|
} catch (error) {
|
|
35
|
-
|
|
35
|
+
_chunkJMVFGGPWcjs.writeFatal.call(void 0,
|
|
36
36
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
37
37
|
config
|
|
38
38
|
);
|
|
39
|
-
|
|
39
|
+
_chunkJMVFGGPWcjs.exitWithError.call(void 0, config);
|
|
40
40
|
process.exit(1);
|
|
41
41
|
}
|
|
42
42
|
})();
|
package/bin/prepare.js
CHANGED
package/bin/version-warning.cjs
CHANGED
|
@@ -7,7 +7,7 @@ var _chunkVNWRUK6Ncjs = require('./chunk-VNWRUK6N.cjs');
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkJMVFGGPWcjs = require('./chunk-JMVFGGPW.cjs');
|
|
11
11
|
require('./chunk-Z3K5JTIC.cjs');
|
|
12
12
|
require('./chunk-34R4PCUS.cjs');
|
|
13
13
|
require('./chunk-H6RJC2EU.cjs');
|
|
@@ -21,16 +21,16 @@ var _chunkRHY34RLEcjs = require('./chunk-RHY34RLE.cjs');
|
|
|
21
21
|
// bin/version-warning.ts
|
|
22
22
|
_chunkRHY34RLEcjs.init_cjs_shims.call(void 0, );
|
|
23
23
|
void (async () => {
|
|
24
|
-
const config = await
|
|
24
|
+
const config = await _chunkJMVFGGPWcjs.getConfig.call(void 0, );
|
|
25
25
|
try {
|
|
26
|
-
|
|
26
|
+
_chunkJMVFGGPWcjs.handleProcess.call(void 0, config);
|
|
27
27
|
_chunkVNWRUK6Ncjs.checkPackageVersion.call(void 0, process.argv.slice(1));
|
|
28
28
|
} catch (error) {
|
|
29
|
-
|
|
29
|
+
_chunkJMVFGGPWcjs.writeFatal.call(void 0,
|
|
30
30
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
31
31
|
config
|
|
32
32
|
);
|
|
33
|
-
|
|
33
|
+
_chunkJMVFGGPWcjs.exitWithError.call(void 0, config);
|
|
34
34
|
process.exit(1);
|
|
35
35
|
}
|
|
36
36
|
})();
|
package/bin/version-warning.js
CHANGED