@storm-software/git-tools 2.124.63 → 2.124.65
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/bin/{chunk-LHLRRAC7.cjs → chunk-GU6JHGME.cjs} +55 -3
- package/bin/chunk-GU6JHGME.cjs.map +1 -0
- package/bin/{chunk-SH7GWQRX.js → chunk-SAG2FKFE.js} +55 -4
- package/bin/chunk-SAG2FKFE.js.map +1 -0
- package/bin/git.cjs +82 -79
- package/bin/git.cjs.map +1 -1
- package/bin/git.js +10 -7
- package/bin/git.js.map +1 -1
- 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 +5 -5
- package/bin/chunk-LHLRRAC7.cjs.map +0 -1
- package/bin/chunk-SH7GWQRX.js.map +0 -1
package/bin/post-checkout.cjs
CHANGED
|
@@ -3,33 +3,33 @@
|
|
|
3
3
|
|
|
4
4
|
var chunkAU5PZKTN_cjs = require('./chunk-AU5PZKTN.cjs');
|
|
5
5
|
var chunkFH5OSXAJ_cjs = require('./chunk-FH5OSXAJ.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkGU6JHGME_cjs = require('./chunk-GU6JHGME.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/post-checkout.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkGU6JHGME_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
chunkGU6JHGME_cjs.handleProcess(config);
|
|
13
|
+
chunkGU6JHGME_cjs.writeInfo("Running post-checkout hook...", config);
|
|
14
14
|
chunkAU5PZKTN_cjs.checkPackageVersion(process.argv?.slice(1));
|
|
15
15
|
try {
|
|
16
16
|
chunkFH5OSXAJ_cjs.run(config, "git-lfs version");
|
|
17
17
|
} catch (error) {
|
|
18
|
-
|
|
18
|
+
chunkGU6JHGME_cjs.writeError(
|
|
19
19
|
`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.
|
|
20
20
|
Error: ${error?.message}`,
|
|
21
21
|
config
|
|
22
22
|
);
|
|
23
|
-
|
|
23
|
+
chunkGU6JHGME_cjs.exitWithError(config);
|
|
24
24
|
}
|
|
25
25
|
chunkFH5OSXAJ_cjs.run(config, "git lfs post-checkout");
|
|
26
|
-
|
|
26
|
+
chunkGU6JHGME_cjs.exitWithSuccess(config);
|
|
27
27
|
} catch (error) {
|
|
28
|
-
|
|
28
|
+
chunkGU6JHGME_cjs.writeFatal(
|
|
29
29
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
30
30
|
config
|
|
31
31
|
);
|
|
32
|
-
|
|
32
|
+
chunkGU6JHGME_cjs.exitWithError(config);
|
|
33
33
|
process.exit(1);
|
|
34
34
|
}
|
|
35
35
|
})();
|
package/bin/post-checkout.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { checkPackageVersion } from './chunk-Q3DQKTOI.js';
|
|
3
3
|
import { run } from './chunk-G3YPGVPS.js';
|
|
4
|
-
import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-
|
|
4
|
+
import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-SAG2FKFE.js';
|
|
5
5
|
|
|
6
6
|
// bin/post-checkout.ts
|
|
7
7
|
void (async () => {
|
package/bin/post-commit.cjs
CHANGED
|
@@ -3,33 +3,33 @@
|
|
|
3
3
|
|
|
4
4
|
var chunkAU5PZKTN_cjs = require('./chunk-AU5PZKTN.cjs');
|
|
5
5
|
var chunkFH5OSXAJ_cjs = require('./chunk-FH5OSXAJ.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkGU6JHGME_cjs = require('./chunk-GU6JHGME.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/post-commit.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkGU6JHGME_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
chunkGU6JHGME_cjs.handleProcess(config);
|
|
13
|
+
chunkGU6JHGME_cjs.writeInfo("Running post-commit hook...", config);
|
|
14
14
|
chunkAU5PZKTN_cjs.checkPackageVersion(process.argv?.slice(1));
|
|
15
15
|
try {
|
|
16
16
|
chunkFH5OSXAJ_cjs.run(config, "git-lfs version");
|
|
17
17
|
} catch (error) {
|
|
18
|
-
|
|
18
|
+
chunkGU6JHGME_cjs.writeError(
|
|
19
19
|
`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.
|
|
20
20
|
Error: ${error?.message}`,
|
|
21
21
|
config
|
|
22
22
|
);
|
|
23
|
-
|
|
23
|
+
chunkGU6JHGME_cjs.exitWithError(config);
|
|
24
24
|
}
|
|
25
25
|
chunkFH5OSXAJ_cjs.run(config, "git lfs post-commit");
|
|
26
|
-
|
|
26
|
+
chunkGU6JHGME_cjs.exitWithSuccess(config);
|
|
27
27
|
} catch (error) {
|
|
28
|
-
|
|
28
|
+
chunkGU6JHGME_cjs.writeFatal(
|
|
29
29
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
30
30
|
config
|
|
31
31
|
);
|
|
32
|
-
|
|
32
|
+
chunkGU6JHGME_cjs.exitWithError(config);
|
|
33
33
|
process.exit(1);
|
|
34
34
|
}
|
|
35
35
|
})();
|
package/bin/post-commit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { checkPackageVersion } from './chunk-Q3DQKTOI.js';
|
|
3
3
|
import { run } from './chunk-G3YPGVPS.js';
|
|
4
|
-
import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-
|
|
4
|
+
import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-SAG2FKFE.js';
|
|
5
5
|
|
|
6
6
|
// bin/post-commit.ts
|
|
7
7
|
void (async () => {
|
package/bin/post-merge.cjs
CHANGED
|
@@ -3,33 +3,33 @@
|
|
|
3
3
|
|
|
4
4
|
var chunkAU5PZKTN_cjs = require('./chunk-AU5PZKTN.cjs');
|
|
5
5
|
var chunkFH5OSXAJ_cjs = require('./chunk-FH5OSXAJ.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkGU6JHGME_cjs = require('./chunk-GU6JHGME.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/post-merge.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkGU6JHGME_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
chunkGU6JHGME_cjs.handleProcess(config);
|
|
13
|
+
chunkGU6JHGME_cjs.writeInfo("Running post-merge hook...", config);
|
|
14
14
|
chunkAU5PZKTN_cjs.checkPackageVersion(process.argv?.slice(1));
|
|
15
15
|
try {
|
|
16
16
|
chunkFH5OSXAJ_cjs.run(config, "git-lfs version");
|
|
17
17
|
} catch (error) {
|
|
18
|
-
|
|
18
|
+
chunkGU6JHGME_cjs.writeError(
|
|
19
19
|
`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.
|
|
20
20
|
Error: ${error?.message}`,
|
|
21
21
|
config
|
|
22
22
|
);
|
|
23
|
-
|
|
23
|
+
chunkGU6JHGME_cjs.exitWithError(config);
|
|
24
24
|
}
|
|
25
25
|
chunkFH5OSXAJ_cjs.run(config, "git lfs post-merge");
|
|
26
|
-
|
|
26
|
+
chunkGU6JHGME_cjs.exitWithSuccess(config);
|
|
27
27
|
} catch (error) {
|
|
28
|
-
|
|
28
|
+
chunkGU6JHGME_cjs.writeFatal(
|
|
29
29
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
30
30
|
config
|
|
31
31
|
);
|
|
32
|
-
|
|
32
|
+
chunkGU6JHGME_cjs.exitWithError(config);
|
|
33
33
|
process.exit(1);
|
|
34
34
|
}
|
|
35
35
|
})();
|
package/bin/post-merge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { checkPackageVersion } from './chunk-Q3DQKTOI.js';
|
|
3
3
|
import { run } from './chunk-G3YPGVPS.js';
|
|
4
|
-
import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-
|
|
4
|
+
import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-SAG2FKFE.js';
|
|
5
5
|
|
|
6
6
|
// bin/post-merge.ts
|
|
7
7
|
void (async () => {
|
package/bin/pre-commit.cjs
CHANGED
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkAU5PZKTN_cjs = require('./chunk-AU5PZKTN.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkGU6JHGME_cjs = require('./chunk-GU6JHGME.cjs');
|
|
6
6
|
|
|
7
7
|
// bin/pre-commit.ts
|
|
8
8
|
void (async () => {
|
|
9
|
-
const config = await
|
|
9
|
+
const config = await chunkGU6JHGME_cjs.getConfig();
|
|
10
10
|
try {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
chunkGU6JHGME_cjs.handleProcess(config);
|
|
12
|
+
chunkGU6JHGME_cjs.writeInfo("Running pre-commit hook...", config);
|
|
13
13
|
chunkAU5PZKTN_cjs.checkPackageVersion(process.argv.slice(1));
|
|
14
14
|
if (chunkAU5PZKTN_cjs.isPackageVersionChanged(process.argv?.slice(1))) {
|
|
15
|
-
|
|
15
|
+
chunkGU6JHGME_cjs.writeError(
|
|
16
16
|
"Please regenerate the package lock file before committing...",
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkGU6JHGME_cjs.exitWithError(config);
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
chunkGU6JHGME_cjs.exitWithSuccess(config);
|
|
22
22
|
} catch (error) {
|
|
23
|
-
|
|
23
|
+
chunkGU6JHGME_cjs.writeFatal(
|
|
24
24
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
25
25
|
config
|
|
26
26
|
);
|
|
27
|
-
|
|
27
|
+
chunkGU6JHGME_cjs.exitWithError(config);
|
|
28
28
|
process.exit(1);
|
|
29
29
|
}
|
|
30
30
|
})();
|
package/bin/pre-commit.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { checkPackageVersion, isPackageVersionChanged } from './chunk-Q3DQKTOI.js';
|
|
3
|
-
import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-
|
|
3
|
+
import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-SAG2FKFE.js';
|
|
4
4
|
|
|
5
5
|
// bin/pre-commit.ts
|
|
6
6
|
void (async () => {
|
package/bin/pre-install.cjs
CHANGED
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkFH5OSXAJ_cjs = require('./chunk-FH5OSXAJ.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkGU6JHGME_cjs = require('./chunk-GU6JHGME.cjs');
|
|
6
6
|
|
|
7
7
|
// bin/pre-install.ts
|
|
8
8
|
void (async () => {
|
|
9
|
-
const config = await
|
|
9
|
+
const config = await chunkGU6JHGME_cjs.getConfig();
|
|
10
10
|
try {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
chunkGU6JHGME_cjs.handleProcess(config);
|
|
12
|
+
chunkGU6JHGME_cjs.writeInfo("Running pre-install hook...", config);
|
|
13
13
|
if (Boolean(process.env.CI) || Boolean(process.env.STORM_CI)) {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
chunkGU6JHGME_cjs.writeInfo("Skipping pre-install for CI process...", config);
|
|
15
|
+
chunkGU6JHGME_cjs.exitWithSuccess(config);
|
|
16
16
|
}
|
|
17
17
|
chunkFH5OSXAJ_cjs.run(config, "npx -y only-allow pnpm");
|
|
18
|
-
|
|
18
|
+
chunkGU6JHGME_cjs.exitWithSuccess(config);
|
|
19
19
|
} catch (error) {
|
|
20
|
-
|
|
20
|
+
chunkGU6JHGME_cjs.writeFatal(
|
|
21
21
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
22
22
|
config
|
|
23
23
|
);
|
|
24
|
-
|
|
24
|
+
chunkGU6JHGME_cjs.exitWithError(config);
|
|
25
25
|
process.exit(1);
|
|
26
26
|
}
|
|
27
27
|
})();
|
package/bin/pre-install.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { run } from './chunk-G3YPGVPS.js';
|
|
3
|
-
import { getConfig, handleProcess, writeInfo, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
3
|
+
import { getConfig, handleProcess, writeInfo, exitWithSuccess, writeFatal, exitWithError } from './chunk-SAG2FKFE.js';
|
|
4
4
|
|
|
5
5
|
// bin/pre-install.ts
|
|
6
6
|
void (async () => {
|
package/bin/pre-push.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var chunkAU5PZKTN_cjs = require('./chunk-AU5PZKTN.cjs');
|
|
5
5
|
var chunkFH5OSXAJ_cjs = require('./chunk-FH5OSXAJ.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkGU6JHGME_cjs = require('./chunk-GU6JHGME.cjs');
|
|
7
7
|
var fs = require('fs');
|
|
8
8
|
var promises = require('fs/promises');
|
|
9
9
|
var path = require('path');
|
|
@@ -14,12 +14,12 @@ var fs__default = /*#__PURE__*/_interopDefault(fs);
|
|
|
14
14
|
var path__default = /*#__PURE__*/_interopDefault(path);
|
|
15
15
|
|
|
16
16
|
void (async () => {
|
|
17
|
-
const config = await
|
|
17
|
+
const config = await chunkGU6JHGME_cjs.getConfig();
|
|
18
18
|
try {
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
chunkGU6JHGME_cjs.handleProcess(config);
|
|
20
|
+
chunkGU6JHGME_cjs.writeInfo("Running pre-push hook...", config);
|
|
21
21
|
chunkAU5PZKTN_cjs.checkPackageVersion(process.argv?.slice(1));
|
|
22
|
-
|
|
22
|
+
chunkGU6JHGME_cjs.writeInfo("\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}\n", config);
|
|
23
23
|
const errors = [];
|
|
24
24
|
if (fs__default.default.existsSync(
|
|
25
25
|
path__default.default.join(config.workspaceRoot ?? "./", "package-lock.json")
|
|
@@ -54,32 +54,32 @@ void (async () => {
|
|
|
54
54
|
errors.push('The "pnpm-lock.yaml" does not exist or cannot be read');
|
|
55
55
|
}
|
|
56
56
|
if (errors.length > 0) {
|
|
57
|
-
|
|
57
|
+
chunkGU6JHGME_cjs.writeError("\u274C Lock file validation failed", config);
|
|
58
58
|
for (const error of errors) {
|
|
59
59
|
console.error(error);
|
|
60
60
|
}
|
|
61
|
-
|
|
61
|
+
chunkGU6JHGME_cjs.exitWithError(config);
|
|
62
62
|
}
|
|
63
|
-
|
|
63
|
+
chunkGU6JHGME_cjs.writeSuccess("Lock file is valid \u2705", config);
|
|
64
64
|
chunkFH5OSXAJ_cjs.run(config, "git lfs pre-push origin");
|
|
65
65
|
try {
|
|
66
66
|
chunkFH5OSXAJ_cjs.run(config, "git-lfs version");
|
|
67
67
|
} catch (error) {
|
|
68
|
-
|
|
68
|
+
chunkGU6JHGME_cjs.writeError(
|
|
69
69
|
`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.
|
|
70
70
|
Error: ${error?.message}`,
|
|
71
71
|
config
|
|
72
72
|
);
|
|
73
|
-
|
|
73
|
+
chunkGU6JHGME_cjs.exitWithError(config);
|
|
74
74
|
}
|
|
75
75
|
chunkFH5OSXAJ_cjs.run(config, "git lfs pre-push origin");
|
|
76
|
-
|
|
76
|
+
chunkGU6JHGME_cjs.exitWithSuccess(config);
|
|
77
77
|
} catch (error) {
|
|
78
|
-
|
|
78
|
+
chunkGU6JHGME_cjs.writeFatal(
|
|
79
79
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
80
80
|
config
|
|
81
81
|
);
|
|
82
|
-
|
|
82
|
+
chunkGU6JHGME_cjs.exitWithError(config);
|
|
83
83
|
process.exit(1);
|
|
84
84
|
}
|
|
85
85
|
})();
|
package/bin/pre-push.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { checkPackageVersion } from './chunk-Q3DQKTOI.js';
|
|
3
3
|
import { run } from './chunk-G3YPGVPS.js';
|
|
4
|
-
import { getConfig, handleProcess, writeInfo, writeError, exitWithError, writeSuccess, exitWithSuccess, writeFatal } from './chunk-
|
|
4
|
+
import { getConfig, handleProcess, writeInfo, writeError, exitWithError, writeSuccess, exitWithSuccess, writeFatal } from './chunk-SAG2FKFE.js';
|
|
5
5
|
import fs from 'node:fs';
|
|
6
6
|
import { readFile } from 'node:fs/promises';
|
|
7
7
|
import path from 'node:path';
|
package/bin/prepare.cjs
CHANGED
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkFH5OSXAJ_cjs = require('./chunk-FH5OSXAJ.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkGU6JHGME_cjs = require('./chunk-GU6JHGME.cjs');
|
|
6
6
|
|
|
7
7
|
// bin/prepare.ts
|
|
8
8
|
void (async () => {
|
|
9
|
-
const config = await
|
|
9
|
+
const config = await chunkGU6JHGME_cjs.getConfig();
|
|
10
10
|
try {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
chunkGU6JHGME_cjs.handleProcess(config);
|
|
12
|
+
chunkGU6JHGME_cjs.writeInfo("Running prepare hook...", config);
|
|
13
13
|
if (!process.env.CI && !process.env.STORM_CI) {
|
|
14
14
|
chunkFH5OSXAJ_cjs.run(config, "lefthook install");
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
chunkGU6JHGME_cjs.exitWithSuccess(config);
|
|
17
17
|
} catch (error) {
|
|
18
|
-
|
|
18
|
+
chunkGU6JHGME_cjs.writeFatal(
|
|
19
19
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
20
20
|
config
|
|
21
21
|
);
|
|
22
|
-
|
|
22
|
+
chunkGU6JHGME_cjs.exitWithError(config);
|
|
23
23
|
process.exit(1);
|
|
24
24
|
}
|
|
25
25
|
})();
|
package/bin/prepare.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { run } from './chunk-G3YPGVPS.js';
|
|
3
|
-
import { getConfig, handleProcess, writeInfo, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
3
|
+
import { getConfig, handleProcess, writeInfo, exitWithSuccess, writeFatal, exitWithError } from './chunk-SAG2FKFE.js';
|
|
4
4
|
|
|
5
5
|
// bin/prepare.ts
|
|
6
6
|
void (async () => {
|
package/bin/version-warning.cjs
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkAU5PZKTN_cjs = require('./chunk-AU5PZKTN.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkGU6JHGME_cjs = require('./chunk-GU6JHGME.cjs');
|
|
6
6
|
|
|
7
7
|
// bin/version-warning.ts
|
|
8
8
|
void (async () => {
|
|
9
|
-
const config = await
|
|
9
|
+
const config = await chunkGU6JHGME_cjs.getConfig();
|
|
10
10
|
try {
|
|
11
|
-
|
|
11
|
+
chunkGU6JHGME_cjs.handleProcess(config);
|
|
12
12
|
chunkAU5PZKTN_cjs.checkPackageVersion(process.argv.slice(1));
|
|
13
13
|
} catch (error) {
|
|
14
|
-
|
|
14
|
+
chunkGU6JHGME_cjs.writeFatal(
|
|
15
15
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
16
16
|
config
|
|
17
17
|
);
|
|
18
|
-
|
|
18
|
+
chunkGU6JHGME_cjs.exitWithError(config);
|
|
19
19
|
process.exit(1);
|
|
20
20
|
}
|
|
21
21
|
})();
|
package/bin/version-warning.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { checkPackageVersion } from './chunk-Q3DQKTOI.js';
|
|
3
|
-
import { getConfig, handleProcess, writeFatal, exitWithError } from './chunk-
|
|
3
|
+
import { getConfig, handleProcess, writeFatal, exitWithError } from './chunk-SAG2FKFE.js';
|
|
4
4
|
|
|
5
5
|
// bin/version-warning.ts
|
|
6
6
|
void (async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/git-tools",
|
|
3
|
-
"version": "2.124.
|
|
3
|
+
"version": "2.124.65",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Tools for managing Git repositories within a Nx workspace.",
|
|
6
6
|
"repository": {
|
|
@@ -179,8 +179,8 @@
|
|
|
179
179
|
"@inquirer/prompts": "7.2.1",
|
|
180
180
|
"@nx/devkit": "^22.3.3",
|
|
181
181
|
"@nx/js": "^22.3.3",
|
|
182
|
-
"@storm-software/config": "^1.135.
|
|
183
|
-
"@storm-software/config-tools": "^1.
|
|
182
|
+
"@storm-software/config": "^1.135.1",
|
|
183
|
+
"@storm-software/config-tools": "^1.189.0",
|
|
184
184
|
"@textlint/ast-node-types": "14.4.2",
|
|
185
185
|
"@textlint/markdown-to-ast": "14.4.2",
|
|
186
186
|
"anchor-markdown-header": "0.7.0",
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
"chalk": "^4.1.2",
|
|
190
190
|
"chalk-template": "1.1.0",
|
|
191
191
|
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
192
|
-
"conventional-changelog-storm-software": "^0.3.
|
|
192
|
+
"conventional-changelog-storm-software": "^0.3.81",
|
|
193
193
|
"htmlparser2": "10.0.0",
|
|
194
194
|
"jsonc-parser": "3.2.1",
|
|
195
195
|
"nx": "^22.3.3",
|
|
@@ -211,5 +211,5 @@
|
|
|
211
211
|
"tsup": "8.4.0"
|
|
212
212
|
},
|
|
213
213
|
"publishConfig": { "access": "public" },
|
|
214
|
-
"gitHead": "
|
|
214
|
+
"gitHead": "0baa29a84f59924568ce3247fb7a804427c5dc2a"
|
|
215
215
|
}
|