@storm-software/git-tools 2.131.35 → 2.131.37
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 +1 -1
- package/bin/{chunk-DDC7F5UZ.js → chunk-5UB7ENM7.js} +3 -3
- package/bin/{chunk-DDC7F5UZ.js.map → chunk-5UB7ENM7.js.map} +1 -1
- package/bin/{chunk-3NC3GIM6.js → chunk-6RJW5N5U.js} +3 -3
- package/bin/{chunk-3NC3GIM6.js.map → chunk-6RJW5N5U.js.map} +1 -1
- package/bin/{chunk-EQ7Z3P24.js → chunk-7DRPNOP2.js} +3 -3
- package/bin/{chunk-EQ7Z3P24.js.map → chunk-7DRPNOP2.js.map} +1 -1
- package/bin/{chunk-Y7LS5W35.cjs → chunk-C53M6LQP.cjs} +5 -5
- package/bin/{chunk-Y7LS5W35.cjs.map → chunk-C53M6LQP.cjs.map} +1 -1
- package/bin/{chunk-U7X6DX3D.cjs → chunk-CKFNJZL7.cjs} +4 -4
- package/bin/{chunk-U7X6DX3D.cjs.map → chunk-CKFNJZL7.cjs.map} +1 -1
- package/bin/{chunk-AY74OKG5.cjs → chunk-DPV4WJQX.cjs} +6 -6
- package/bin/{chunk-AY74OKG5.cjs.map → chunk-DPV4WJQX.cjs.map} +1 -1
- package/bin/{chunk-ZMVLIEV4.cjs → chunk-F7DR27M6.cjs} +4 -4
- package/bin/{chunk-ZMVLIEV4.cjs.map → chunk-F7DR27M6.cjs.map} +1 -1
- package/bin/{chunk-M4LUWNQR.cjs → chunk-MEDWSATF.cjs} +4 -4
- package/bin/chunk-MEDWSATF.cjs.map +1 -0
- package/bin/{chunk-O5U4PY3Z.js → chunk-OCSAALFK.js} +3 -3
- package/bin/{chunk-O5U4PY3Z.js.map → chunk-OCSAALFK.js.map} +1 -1
- package/bin/{chunk-3I7DR63M.js → chunk-OGQQZKVO.js} +3 -3
- package/bin/{chunk-3I7DR63M.js.map → chunk-OGQQZKVO.js.map} +1 -1
- package/bin/{chunk-O3X5QPCQ.cjs → chunk-P6GZDOJU.cjs} +4 -4
- package/bin/{chunk-O3X5QPCQ.cjs.map → chunk-P6GZDOJU.cjs.map} +1 -1
- package/bin/{chunk-FC4WBB3T.js → chunk-SV32VEVP.js} +3 -3
- package/bin/{chunk-FC4WBB3T.js.map → chunk-SV32VEVP.js.map} +1 -1
- package/bin/{chunk-SJQTSJGU.js → chunk-TPKTGVGN.js} +3 -3
- package/bin/{chunk-SJQTSJGU.js.map → chunk-TPKTGVGN.js.map} +1 -1
- package/bin/{chunk-6AN4QYAN.cjs → chunk-WSO2CLZQ.cjs} +4 -4
- package/bin/{chunk-6AN4QYAN.cjs.map → chunk-WSO2CLZQ.cjs.map} +1 -1
- package/bin/{chunk-B56KWU7H.cjs → chunk-X6OUWIBF.cjs} +4 -4
- package/bin/{chunk-B56KWU7H.cjs.map → chunk-X6OUWIBF.cjs.map} +1 -1
- package/bin/{chunk-BPY6SBLC.js → chunk-Z6NRSWOS.js} +4 -4
- package/bin/chunk-Z6NRSWOS.js.map +1 -0
- package/bin/git.cjs +155 -155
- package/bin/git.js +8 -8
- package/bin/post-checkout.cjs +7 -7
- package/bin/post-checkout.js +2 -2
- package/bin/post-commit.cjs +7 -7
- package/bin/post-commit.js +2 -2
- package/bin/post-merge.cjs +7 -7
- package/bin/post-merge.js +2 -2
- package/bin/pre-commit.cjs +7 -7
- package/bin/pre-commit.js +2 -2
- package/bin/pre-install.cjs +7 -7
- package/bin/pre-install.js +2 -2
- package/bin/pre-push.cjs +7 -7
- package/bin/pre-push.js +2 -2
- package/bin/prepare.cjs +7 -7
- package/bin/prepare.js +2 -2
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/dist/{chunk-MWFYZ6C5.cjs → chunk-2EDGEFIN.cjs} +2 -2
- package/dist/{chunk-YEPJCR66.js → chunk-4CNI2AUV.js} +1 -1
- package/dist/{chunk-ISJNCGTW.js → chunk-65JOK2FH.js} +2 -2
- package/dist/{chunk-MTEWMWXP.js → chunk-7MPJQQWV.js} +1 -1
- package/dist/{chunk-S57KI3QJ.cjs → chunk-EDWBTVLU.cjs} +2 -2
- package/dist/{chunk-QHOVDHJS.cjs → chunk-H7X5GPVB.cjs} +2 -2
- package/dist/{chunk-VXHEKX5N.js → chunk-I466BEBD.js} +1 -1
- package/dist/{chunk-F67AF77W.cjs → chunk-KPQYZBLU.cjs} +2 -2
- package/dist/{chunk-64WGOUGZ.cjs → chunk-N72HVHEL.cjs} +12 -12
- package/dist/{chunk-A3IJ22YJ.js → chunk-OUBVN7NJ.js} +1 -1
- package/dist/{chunk-3YY3EGSK.cjs → chunk-OUEVASU4.cjs} +2 -2
- package/dist/{chunk-AOPYQZJZ.cjs → chunk-R4FXLDRM.cjs} +2 -2
- package/dist/{chunk-GN5PPUYJ.js → chunk-SCUQMGQU.js} +1 -1
- package/dist/{chunk-RKA52WU4.js → chunk-TPQUURZQ.js} +1 -1
- package/dist/{chunk-RA7GZDUN.js → chunk-UEIRCOPF.js} +1 -1
- package/dist/{chunk-XMOG277R.cjs → chunk-VB32QNN4.cjs} +4 -4
- package/dist/{chunk-JTMGWUUD.js → chunk-VI7BWUAD.js} +1 -1
- package/dist/{chunk-C4226MIL.cjs → chunk-XYYQXO3Y.cjs} +3 -3
- package/dist/index.cjs +33 -33
- package/dist/index.js +9 -9
- package/dist/release/config.cjs +19 -19
- package/dist/release/config.js +2 -2
- package/package.json +10 -10
- package/bin/chunk-BPY6SBLC.js.map +0 -1
- package/bin/chunk-M4LUWNQR.cjs.map +0 -1
package/bin/git.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { postCheckoutHook } from './chunk-
|
|
3
|
-
import { postCommitHook } from './chunk-
|
|
4
|
-
import { postMergeHook } from './chunk-
|
|
5
|
-
import { preCommitHook } from './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import { prePushHook } from './chunk-
|
|
2
|
+
import { postCheckoutHook } from './chunk-OCSAALFK.js';
|
|
3
|
+
import { postCommitHook } from './chunk-TPKTGVGN.js';
|
|
4
|
+
import { postMergeHook } from './chunk-OGQQZKVO.js';
|
|
5
|
+
import { preCommitHook } from './chunk-SV32VEVP.js';
|
|
6
|
+
import './chunk-6RJW5N5U.js';
|
|
7
|
+
import { prePushHook } from './chunk-5UB7ENM7.js';
|
|
8
8
|
import './chunk-HBLWPOJV.js';
|
|
9
|
-
import { prepareHook } from './chunk-
|
|
9
|
+
import { prepareHook } from './chunk-7DRPNOP2.js';
|
|
10
10
|
import { run, runAsync } from './chunk-RPK5AKGK.js';
|
|
11
|
-
import { defu, getConfig, handleProcess, writeSuccess, exitWithSuccess, exitWithError, writeInfo, brandIcon, findWorkspaceRootSafe, writeFatal, getWorkspaceConfig, joinPaths, writeDebug, writeWarning, writeTrace, isVerbose, formatLogMessage, __require, STORM_DEFAULT_RELEASE_BANNER } from './chunk-
|
|
11
|
+
import { defu, getConfig, handleProcess, writeSuccess, exitWithSuccess, exitWithError, writeInfo, brandIcon, findWorkspaceRootSafe, writeFatal, getWorkspaceConfig, joinPaths, writeDebug, writeWarning, writeTrace, isVerbose, formatLogMessage, __require, STORM_DEFAULT_RELEASE_BANNER } from './chunk-Z6NRSWOS.js';
|
|
12
12
|
import TOML from '@ltd/j-toml';
|
|
13
13
|
import { Command } from 'commander';
|
|
14
14
|
import '@inquirer/checkbox';
|
package/bin/post-checkout.cjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkP6GZDOJU_cjs = require('./chunk-P6GZDOJU.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-MTAYUS7E.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkMEDWSATF_cjs = require('./chunk-MEDWSATF.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-checkout.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkMEDWSATF_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkP6GZDOJU_cjs.postCheckoutHook(config, process.argv.slice(2));
|
|
14
|
+
chunkMEDWSATF_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkMEDWSATF_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkMEDWSATF_cjs.exitWithError(config);
|
|
21
21
|
process.exit(1);
|
|
22
22
|
}
|
|
23
23
|
})();
|
package/bin/post-checkout.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { postCheckoutHook } from './chunk-
|
|
2
|
+
import { postCheckoutHook } from './chunk-OCSAALFK.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
4
|
import './chunk-RPK5AKGK.js';
|
|
5
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
5
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-Z6NRSWOS.js';
|
|
6
6
|
|
|
7
7
|
// bin/post-checkout.ts
|
|
8
8
|
void (async () => {
|
package/bin/post-commit.cjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkF7DR27M6_cjs = require('./chunk-F7DR27M6.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-MTAYUS7E.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkMEDWSATF_cjs = require('./chunk-MEDWSATF.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-commit.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkMEDWSATF_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkF7DR27M6_cjs.postCommitHook(config, process.argv.slice(2));
|
|
14
|
+
chunkMEDWSATF_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkMEDWSATF_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkMEDWSATF_cjs.exitWithError(config);
|
|
21
21
|
process.exit(1);
|
|
22
22
|
}
|
|
23
23
|
})();
|
package/bin/post-commit.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { postCommitHook } from './chunk-
|
|
2
|
+
import { postCommitHook } from './chunk-TPKTGVGN.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
4
|
import './chunk-RPK5AKGK.js';
|
|
5
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
5
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-Z6NRSWOS.js';
|
|
6
6
|
|
|
7
7
|
// bin/post-commit.ts
|
|
8
8
|
void (async () => {
|
package/bin/post-merge.cjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkX6OUWIBF_cjs = require('./chunk-X6OUWIBF.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-MTAYUS7E.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkMEDWSATF_cjs = require('./chunk-MEDWSATF.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-merge.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkMEDWSATF_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkX6OUWIBF_cjs.postMergeHook(config, process.argv.slice(2));
|
|
14
|
+
chunkMEDWSATF_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkMEDWSATF_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkMEDWSATF_cjs.exitWithError(config);
|
|
21
21
|
process.exit(1);
|
|
22
22
|
}
|
|
23
23
|
})();
|
package/bin/post-merge.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { postMergeHook } from './chunk-
|
|
2
|
+
import { postMergeHook } from './chunk-OGQQZKVO.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
4
|
import './chunk-RPK5AKGK.js';
|
|
5
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
5
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-Z6NRSWOS.js';
|
|
6
6
|
|
|
7
7
|
// bin/post-merge.ts
|
|
8
8
|
void (async () => {
|
package/bin/pre-commit.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkWSO2CLZQ_cjs = require('./chunk-WSO2CLZQ.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkMEDWSATF_cjs = require('./chunk-MEDWSATF.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-commit.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkMEDWSATF_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkWSO2CLZQ_cjs.preCommitHook(config, process.argv.slice(2));
|
|
13
|
+
chunkMEDWSATF_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkMEDWSATF_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkMEDWSATF_cjs.exitWithError(config);
|
|
20
20
|
process.exit(1);
|
|
21
21
|
}
|
|
22
22
|
})();
|
package/bin/pre-commit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { preCommitHook } from './chunk-
|
|
2
|
+
import { preCommitHook } from './chunk-SV32VEVP.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-Z6NRSWOS.js';
|
|
5
5
|
|
|
6
6
|
// bin/pre-commit.ts
|
|
7
7
|
void (async () => {
|
package/bin/pre-install.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkC53M6LQP_cjs = require('./chunk-C53M6LQP.cjs');
|
|
5
5
|
require('./chunk-MTAYUS7E.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkMEDWSATF_cjs = require('./chunk-MEDWSATF.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-install.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkMEDWSATF_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkC53M6LQP_cjs.preInstallHook(config);
|
|
13
|
+
chunkMEDWSATF_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkMEDWSATF_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkMEDWSATF_cjs.exitWithError(config);
|
|
20
20
|
process.exit(1);
|
|
21
21
|
}
|
|
22
22
|
})();
|
package/bin/pre-install.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { preInstallHook } from './chunk-
|
|
2
|
+
import { preInstallHook } from './chunk-6RJW5N5U.js';
|
|
3
3
|
import './chunk-RPK5AKGK.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-Z6NRSWOS.js';
|
|
5
5
|
|
|
6
6
|
// bin/pre-install.ts
|
|
7
7
|
void (async () => {
|
package/bin/pre-push.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkDPV4WJQX_cjs = require('./chunk-DPV4WJQX.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkMEDWSATF_cjs = require('./chunk-MEDWSATF.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-push.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkMEDWSATF_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkDPV4WJQX_cjs.prePushHook(config, process.argv.slice(2));
|
|
13
|
+
chunkMEDWSATF_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkMEDWSATF_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkMEDWSATF_cjs.exitWithError(config);
|
|
20
20
|
process.exit(1);
|
|
21
21
|
}
|
|
22
22
|
})();
|
package/bin/pre-push.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { prePushHook } from './chunk-
|
|
2
|
+
import { prePushHook } from './chunk-5UB7ENM7.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-Z6NRSWOS.js';
|
|
5
5
|
|
|
6
6
|
// bin/pre-push.ts
|
|
7
7
|
void (async () => {
|
package/bin/prepare.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkCKFNJZL7_cjs = require('./chunk-CKFNJZL7.cjs');
|
|
5
5
|
require('./chunk-MTAYUS7E.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkMEDWSATF_cjs = require('./chunk-MEDWSATF.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/prepare.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkMEDWSATF_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkCKFNJZL7_cjs.prepareHook(config);
|
|
13
|
+
chunkMEDWSATF_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkMEDWSATF_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkMEDWSATF_cjs.exitWithError(config);
|
|
20
20
|
process.exit(1);
|
|
21
21
|
}
|
|
22
22
|
})();
|
package/bin/prepare.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { prepareHook } from './chunk-
|
|
2
|
+
import { prepareHook } from './chunk-7DRPNOP2.js';
|
|
3
3
|
import './chunk-RPK5AKGK.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-Z6NRSWOS.js';
|
|
5
5
|
|
|
6
6
|
// bin/prepare.ts
|
|
7
7
|
void (async () => {
|
package/bin/version-warning.cjs
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkYHZNDNCW_cjs = require('./chunk-YHZNDNCW.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkMEDWSATF_cjs = require('./chunk-MEDWSATF.cjs');
|
|
6
6
|
|
|
7
7
|
// bin/version-warning.ts
|
|
8
8
|
void (async () => {
|
|
9
|
-
const config = await
|
|
9
|
+
const config = await chunkMEDWSATF_cjs.getConfig();
|
|
10
10
|
try {
|
|
11
|
-
|
|
11
|
+
chunkMEDWSATF_cjs.handleProcess(config);
|
|
12
12
|
chunkYHZNDNCW_cjs.checkPackageVersion(process.argv.slice(1));
|
|
13
13
|
} catch (error) {
|
|
14
|
-
|
|
14
|
+
chunkMEDWSATF_cjs.writeFatal(
|
|
15
15
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
16
16
|
config
|
|
17
17
|
);
|
|
18
|
-
|
|
18
|
+
chunkMEDWSATF_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-HBLWPOJV.js';
|
|
3
|
-
import { getConfig, handleProcess, writeFatal, exitWithError } from './chunk-
|
|
3
|
+
import { getConfig, handleProcess, writeFatal, exitWithError } from './chunk-Z6NRSWOS.js';
|
|
4
4
|
|
|
5
5
|
// bin/version-warning.ts
|
|
6
6
|
void (async () => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkKPQYZBLU_cjs = require('./chunk-KPQYZBLU.cjs');
|
|
5
5
|
|
|
6
6
|
// src/hooks/prepare.ts
|
|
7
7
|
async function prepareHook(config) {
|
|
8
|
-
|
|
8
|
+
chunkKPQYZBLU_cjs.writeInfo("Running prepare hook...", config);
|
|
9
9
|
if (!process.env.CI && !process.env.STORM_CI) {
|
|
10
10
|
chunkFJL2V56E_cjs.run(config, "pnpm lefthook install");
|
|
11
11
|
}
|
|
@@ -290,13 +290,13 @@ ${message.sort(
|
|
|
290
290
|
{ prefix: `${prefix}--`, skip, sort },
|
|
291
291
|
depth + 1
|
|
292
292
|
)}`
|
|
293
|
-
).join("\n")}` : typeof message === "object" ? `
|
|
293
|
+
).join("\n")}` : typeof message === "object" && message ? `
|
|
294
294
|
${Object.keys(message).filter(
|
|
295
295
|
(key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
|
|
296
296
|
).sort(
|
|
297
297
|
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
298
298
|
).map(
|
|
299
|
-
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
299
|
+
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" && message[key] ? Object.keys(message[key]).filter(
|
|
300
300
|
(key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
|
|
301
301
|
).length === 0 ? "{}" : formatLogMessage(
|
|
302
302
|
message[key],
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
|
|
4
4
|
var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkKPQYZBLU_cjs = require('./chunk-KPQYZBLU.cjs');
|
|
6
6
|
|
|
7
7
|
// src/hooks/post-merge.ts
|
|
8
8
|
async function postMergeHook(config, files) {
|
|
9
|
-
|
|
9
|
+
chunkKPQYZBLU_cjs.writeInfo("Running post-merge hook...", config);
|
|
10
10
|
chunkQCNDIFYQ_cjs.checkPackageVersion(files);
|
|
11
11
|
try {
|
|
12
12
|
chunkFJL2V56E_cjs.run(config, "git-lfs version");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkKPQYZBLU_cjs = require('./chunk-KPQYZBLU.cjs');
|
|
5
5
|
|
|
6
6
|
// src/hooks/pre-commit.ts
|
|
7
7
|
async function preCommitHook(config, files) {
|
|
8
|
-
|
|
8
|
+
chunkKPQYZBLU_cjs.writeInfo("Running pre-commit hook...", config);
|
|
9
9
|
chunkQCNDIFYQ_cjs.checkPackageVersion(files);
|
|
10
10
|
if (chunkQCNDIFYQ_cjs.isPackageVersionChanged(files)) {
|
|
11
11
|
throw new Error(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { checkPackageVersion } from './chunk-HMHOHK22.js';
|
|
2
2
|
import { run } from './chunk-JOPN56T4.js';
|
|
3
|
-
import { writeInfo } from './chunk-
|
|
3
|
+
import { writeInfo } from './chunk-65JOK2FH.js';
|
|
4
4
|
|
|
5
5
|
// src/hooks/post-commit.ts
|
|
6
6
|
async function postCommitHook(config, files) {
|
|
@@ -296,13 +296,13 @@ ${message.sort(
|
|
|
296
296
|
{ prefix: `${prefix}--`, skip, sort },
|
|
297
297
|
depth + 1
|
|
298
298
|
)}`
|
|
299
|
-
).join("\n")}` : typeof message === "object" ? `
|
|
299
|
+
).join("\n")}` : typeof message === "object" && message ? `
|
|
300
300
|
${Object.keys(message).filter(
|
|
301
301
|
(key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
|
|
302
302
|
).sort(
|
|
303
303
|
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
304
304
|
).map(
|
|
305
|
-
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
305
|
+
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" && message[key] ? Object.keys(message[key]).filter(
|
|
306
306
|
(key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
|
|
307
307
|
).length === 0 ? "{}" : formatLogMessage(
|
|
308
308
|
message[key],
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkRIPABM45_cjs = require('./chunk-RIPABM45.cjs');
|
|
4
4
|
var chunk5TXHP6RI_cjs = require('./chunk-5TXHP6RI.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkKPQYZBLU_cjs = require('./chunk-KPQYZBLU.cjs');
|
|
6
6
|
var defu3 = require('defu');
|
|
7
7
|
var fs = require('fs');
|
|
8
8
|
var nxJson = require('nx/src/config/nx-json');
|
|
@@ -2435,7 +2435,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
2435
2435
|
let config2 = result.config;
|
|
2436
2436
|
const configFile = result.configFile;
|
|
2437
2437
|
if (config2 && configFile && Object.keys(config2).length > 0 && !config2.skipConfigLogging) {
|
|
2438
|
-
|
|
2438
|
+
chunkKPQYZBLU_cjs.writeTrace(
|
|
2439
2439
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
2440
2440
|
{
|
|
2441
2441
|
logLevel: "all"
|
|
@@ -2451,7 +2451,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
2451
2451
|
for (const result2 of results) {
|
|
2452
2452
|
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
2453
2453
|
if (!config2.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
2454
|
-
|
|
2454
|
+
chunkKPQYZBLU_cjs.writeTrace(
|
|
2455
2455
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
2456
2456
|
{
|
|
2457
2457
|
logLevel: "all"
|
|
@@ -2549,7 +2549,7 @@ var getConfigEnv = () => {
|
|
|
2549
2549
|
},
|
|
2550
2550
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
2551
2551
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
2552
|
-
) ?
|
|
2552
|
+
) ? chunkKPQYZBLU_cjs.getLogLevelLabel(
|
|
2553
2553
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
2554
2554
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
2555
2555
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
@@ -2916,9 +2916,9 @@ var setConfigEnv = (config2) => {
|
|
|
2916
2916
|
process.env[`${prefix}LOG_LEVEL`] = String(config2.logLevel);
|
|
2917
2917
|
process.env.LOG_LEVEL = String(config2.logLevel);
|
|
2918
2918
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
2919
|
-
|
|
2919
|
+
chunkKPQYZBLU_cjs.getLogLevel(config2.logLevel) >= chunkKPQYZBLU_cjs.LogLevel.DEBUG ? true : false
|
|
2920
2920
|
);
|
|
2921
|
-
process.env.RUST_BACKTRACE =
|
|
2921
|
+
process.env.RUST_BACKTRACE = chunkKPQYZBLU_cjs.getLogLevel(config2.logLevel) >= chunkKPQYZBLU_cjs.LogLevel.DEBUG ? "full" : "none";
|
|
2922
2922
|
}
|
|
2923
2923
|
if (config2.skipConfigLogging !== void 0) {
|
|
2924
2924
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -3063,7 +3063,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
3063
3063
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
3064
3064
|
if (!configFile) {
|
|
3065
3065
|
if (!skipLogs) {
|
|
3066
|
-
|
|
3066
|
+
chunkKPQYZBLU_cjs.writeWarning(
|
|
3067
3067
|
"No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
|
|
3068
3068
|
{ logLevel: "all" }
|
|
3069
3069
|
);
|
|
@@ -3094,7 +3094,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
3094
3094
|
throw new Error(
|
|
3095
3095
|
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
3096
3096
|
|
|
3097
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
3097
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${chunkKPQYZBLU_cjs.formatLogMessage(
|
|
3098
3098
|
configInput
|
|
3099
3099
|
)}`,
|
|
3100
3100
|
{
|
|
@@ -3121,9 +3121,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
3121
3121
|
);
|
|
3122
3122
|
setConfigEnv(config2);
|
|
3123
3123
|
if (!skipLogs && !config2.skipConfigLogging) {
|
|
3124
|
-
|
|
3124
|
+
chunkKPQYZBLU_cjs.writeTrace(
|
|
3125
3125
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
3126
|
-
${
|
|
3126
|
+
${chunkKPQYZBLU_cjs.formatLogMessage(config2)}`,
|
|
3127
3127
|
config2
|
|
3128
3128
|
);
|
|
3129
3129
|
}
|
|
@@ -3722,7 +3722,7 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
|
|
|
3722
3722
|
projectGraph.nodes
|
|
3723
3723
|
);
|
|
3724
3724
|
if (!matchingProjects.length) {
|
|
3725
|
-
|
|
3725
|
+
chunkKPQYZBLU_cjs.writeWarning(
|
|
3726
3726
|
`Release group "${name}" does not have any matching projects.`
|
|
3727
3727
|
);
|
|
3728
3728
|
return void 0;
|
|
@@ -3837,7 +3837,7 @@ function getReleaseConfig(projectGraph, releaseConfig, workspaceConfig, ignoreNx
|
|
|
3837
3837
|
};
|
|
3838
3838
|
}
|
|
3839
3839
|
function formatConfigLog(config2) {
|
|
3840
|
-
return
|
|
3840
|
+
return chunkKPQYZBLU_cjs.formatLogMessage(config2, {
|
|
3841
3841
|
sort: true,
|
|
3842
3842
|
skip: ["workspaceConfig", "conventionalCommits"]
|
|
3843
3843
|
});
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
|
|
4
4
|
var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkKPQYZBLU_cjs = require('./chunk-KPQYZBLU.cjs');
|
|
6
6
|
|
|
7
7
|
// src/hooks/post-commit.ts
|
|
8
8
|
async function postCommitHook(config, files) {
|
|
9
|
-
|
|
9
|
+
chunkKPQYZBLU_cjs.writeInfo("Running post-commit hook...", config);
|
|
10
10
|
chunkQCNDIFYQ_cjs.checkPackageVersion(files);
|
|
11
11
|
try {
|
|
12
12
|
chunkFJL2V56E_cjs.run(config, "git-lfs version");
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
|
|
4
4
|
var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkKPQYZBLU_cjs = require('./chunk-KPQYZBLU.cjs');
|
|
6
6
|
|
|
7
7
|
// src/hooks/post-checkout.ts
|
|
8
8
|
async function postCheckoutHook(config, files) {
|
|
9
|
-
|
|
9
|
+
chunkKPQYZBLU_cjs.writeInfo("Running post-checkout hook...", config);
|
|
10
10
|
chunkQCNDIFYQ_cjs.checkPackageVersion(files);
|
|
11
11
|
try {
|
|
12
12
|
chunkFJL2V56E_cjs.run(config, "git-lfs version");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { checkPackageVersion } from './chunk-HMHOHK22.js';
|
|
2
2
|
import { run } from './chunk-JOPN56T4.js';
|
|
3
|
-
import { writeInfo } from './chunk-
|
|
3
|
+
import { writeInfo } from './chunk-65JOK2FH.js';
|
|
4
4
|
|
|
5
5
|
// src/hooks/post-checkout.ts
|
|
6
6
|
async function postCheckoutHook(config, files) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DEFAULT_MONOREPO_COMMIT_QUESTIONS } from './chunk-OMWWQPRY.js';
|
|
2
2
|
import { DEFAULT_COMMIT_TYPES } from './chunk-4T5NCWMG.js';
|
|
3
|
-
import { writeWarning, formatLogMessage, writeTrace, getLogLevel, LogLevel, getLogLevelLabel } from './chunk-
|
|
3
|
+
import { writeWarning, formatLogMessage, writeTrace, getLogLevel, LogLevel, getLogLevelLabel } from './chunk-65JOK2FH.js';
|
|
4
4
|
import defu3 from 'defu';
|
|
5
5
|
import { existsSync } from 'fs';
|
|
6
6
|
import { readNxJson } from 'nx/src/config/nx-json';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { checkPackageVersion } from './chunk-HMHOHK22.js';
|
|
2
2
|
import { run } from './chunk-JOPN56T4.js';
|
|
3
|
-
import { writeInfo } from './chunk-
|
|
3
|
+
import { writeInfo } from './chunk-65JOK2FH.js';
|
|
4
4
|
|
|
5
5
|
// src/hooks/post-merge.ts
|
|
6
6
|
async function postMergeHook(config, files) {
|