@storm-software/git-tools 2.131.23 → 2.131.24
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-77NN2DPB.cjs → chunk-3LVCR6LS.cjs} +4 -4
- package/bin/{chunk-77NN2DPB.cjs.map → chunk-3LVCR6LS.cjs.map} +1 -1
- package/bin/{chunk-S2N3WA4O.js → chunk-3PI2VV32.js} +3 -3
- package/bin/{chunk-S2N3WA4O.js.map → chunk-3PI2VV32.js.map} +1 -1
- package/bin/{chunk-KDRZY2YU.js → chunk-3XAQUPZK.js} +10 -8
- package/bin/chunk-3XAQUPZK.js.map +1 -0
- package/bin/{chunk-ZRZDX2ZA.cjs → chunk-4CS5RPMP.cjs} +5 -5
- package/bin/{chunk-ZRZDX2ZA.cjs.map → chunk-4CS5RPMP.cjs.map} +1 -1
- package/bin/{chunk-2JR3HPAL.js → chunk-4GZZR7XL.js} +3 -3
- package/bin/{chunk-2JR3HPAL.js.map → chunk-4GZZR7XL.js.map} +1 -1
- package/bin/{chunk-KBH5ZZ4V.js → chunk-AX3PXQKJ.js} +3 -3
- package/bin/{chunk-KBH5ZZ4V.js.map → chunk-AX3PXQKJ.js.map} +1 -1
- package/bin/{chunk-5OEE2E65.js → chunk-C6K3ZRT6.js} +3 -3
- package/bin/{chunk-5OEE2E65.js.map → chunk-C6K3ZRT6.js.map} +1 -1
- package/bin/{chunk-YDVAE433.js → chunk-DOELUOOS.js} +3 -3
- package/bin/{chunk-YDVAE433.js.map → chunk-DOELUOOS.js.map} +1 -1
- package/bin/{chunk-J76RVP3G.js → chunk-GPHBDU6A.js} +3 -3
- package/bin/{chunk-J76RVP3G.js.map → chunk-GPHBDU6A.js.map} +1 -1
- package/bin/{chunk-FNM5AXPR.cjs → chunk-M4UDDFX2.cjs} +4 -4
- package/bin/{chunk-FNM5AXPR.cjs.map → chunk-M4UDDFX2.cjs.map} +1 -1
- package/bin/{chunk-Z5SKX5XN.cjs → chunk-MQOEMLKV.cjs} +4 -4
- package/bin/{chunk-Z5SKX5XN.cjs.map → chunk-MQOEMLKV.cjs.map} +1 -1
- package/bin/{chunk-KHPLFH3X.cjs → chunk-NSP7UDOF.cjs} +4 -4
- package/bin/{chunk-KHPLFH3X.cjs.map → chunk-NSP7UDOF.cjs.map} +1 -1
- package/bin/{chunk-7I4XZL7P.cjs → chunk-QITSXT5W.cjs} +6 -6
- package/bin/{chunk-7I4XZL7P.cjs.map → chunk-QITSXT5W.cjs.map} +1 -1
- package/bin/{chunk-AU2HBQCB.cjs → chunk-QOOEK76B.cjs} +10 -8
- package/bin/chunk-QOOEK76B.cjs.map +1 -0
- package/bin/{chunk-NKCKZ3E3.cjs → chunk-WZZIVUHI.cjs} +4 -4
- package/bin/{chunk-NKCKZ3E3.cjs.map → chunk-WZZIVUHI.cjs.map} +1 -1
- package/bin/{chunk-CBJFXXVE.js → chunk-Y7OK7243.js} +3 -3
- package/bin/{chunk-CBJFXXVE.js.map → chunk-Y7OK7243.js.map} +1 -1
- package/bin/git.cjs +266 -155
- package/bin/git.cjs.map +1 -1
- package/bin/git.js +127 -16
- package/bin/git.js.map +1 -1
- 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-YOBEA3QU.cjs → chunk-3YY3EGSK.cjs} +2 -2
- package/dist/{chunk-CUC73XZD.cjs → chunk-4J6EYVX4.cjs} +16 -13
- package/dist/{chunk-BNXSIXM2.js → chunk-5AVCKBNV.js} +5 -2
- package/dist/{chunk-C53K5W6J.js → chunk-A3IJ22YJ.js} +1 -1
- package/dist/{chunk-D2TE2WQZ.cjs → chunk-AOPYQZJZ.cjs} +2 -2
- package/dist/{chunk-6HBRIYPP.cjs → chunk-C4226MIL.cjs} +3 -3
- package/dist/{chunk-46DT23BR.cjs → chunk-F67AF77W.cjs} +8 -6
- package/dist/{chunk-HRYBIFJL.js → chunk-GN5PPUYJ.js} +1 -1
- package/dist/{chunk-BPDSCBOI.js → chunk-ISJNCGTW.js} +8 -6
- package/dist/{chunk-UVEWNW75.js → chunk-JTMGWUUD.js} +1 -1
- package/dist/{chunk-WVCBWTDU.js → chunk-MTEWMWXP.js} +1 -1
- package/dist/{chunk-2KO5IEIY.cjs → chunk-MWFYZ6C5.cjs} +2 -2
- package/dist/{chunk-IDG5O4UL.cjs → chunk-QHOVDHJS.cjs} +2 -2
- package/dist/{chunk-NABJ2MII.js → chunk-RA7GZDUN.js} +1 -1
- package/dist/{chunk-KVTWY6IN.cjs → chunk-S57KI3QJ.cjs} +2 -2
- package/dist/{chunk-FBGULNA7.js → chunk-VXHEKX5N.js} +1 -1
- package/dist/{chunk-GNPQRGZ2.cjs → chunk-XMOG277R.cjs} +4 -4
- package/dist/{chunk-4KMJAFZI.js → chunk-YEPJCR66.js} +1 -1
- package/dist/index.cjs +33 -33
- package/dist/index.js +9 -9
- package/dist/release/config.cjs +19 -19
- package/dist/release/config.d.cts +2 -0
- package/dist/release/config.d.ts +2 -0
- package/dist/release/config.js +2 -2
- package/package.json +7 -7
- package/bin/chunk-AU2HBQCB.cjs.map +0 -1
- package/bin/chunk-KDRZY2YU.js.map +0 -1
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 chunkWZZIVUHI_cjs = require('./chunk-WZZIVUHI.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-MTAYUS7E.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkQOOEK76B_cjs = require('./chunk-QOOEK76B.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-checkout.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkQOOEK76B_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkWZZIVUHI_cjs.postCheckoutHook(config, process.argv.slice(2));
|
|
14
|
+
chunkQOOEK76B_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkQOOEK76B_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkQOOEK76B_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-DOELUOOS.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-3XAQUPZK.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 chunkNSP7UDOF_cjs = require('./chunk-NSP7UDOF.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-MTAYUS7E.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkQOOEK76B_cjs = require('./chunk-QOOEK76B.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-commit.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkQOOEK76B_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkNSP7UDOF_cjs.postCommitHook(config, process.argv.slice(2));
|
|
14
|
+
chunkQOOEK76B_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkQOOEK76B_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkQOOEK76B_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-3PI2VV32.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-3XAQUPZK.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 chunkM4UDDFX2_cjs = require('./chunk-M4UDDFX2.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-MTAYUS7E.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkQOOEK76B_cjs = require('./chunk-QOOEK76B.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-merge.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkQOOEK76B_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkM4UDDFX2_cjs.postMergeHook(config, process.argv.slice(2));
|
|
14
|
+
chunkQOOEK76B_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkQOOEK76B_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkQOOEK76B_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-AX3PXQKJ.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-3XAQUPZK.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 chunkMQOEMLKV_cjs = require('./chunk-MQOEMLKV.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkQOOEK76B_cjs = require('./chunk-QOOEK76B.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-commit.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkQOOEK76B_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkMQOEMLKV_cjs.preCommitHook(config, process.argv.slice(2));
|
|
13
|
+
chunkQOOEK76B_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkQOOEK76B_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkQOOEK76B_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-4GZZR7XL.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-3XAQUPZK.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 chunk4CS5RPMP_cjs = require('./chunk-4CS5RPMP.cjs');
|
|
5
5
|
require('./chunk-MTAYUS7E.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkQOOEK76B_cjs = require('./chunk-QOOEK76B.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-install.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkQOOEK76B_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunk4CS5RPMP_cjs.preInstallHook(config);
|
|
13
|
+
chunkQOOEK76B_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkQOOEK76B_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkQOOEK76B_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-C6K3ZRT6.js';
|
|
3
3
|
import './chunk-RPK5AKGK.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-3XAQUPZK.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 chunkQITSXT5W_cjs = require('./chunk-QITSXT5W.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkQOOEK76B_cjs = require('./chunk-QOOEK76B.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-push.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkQOOEK76B_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkQITSXT5W_cjs.prePushHook(config, process.argv.slice(2));
|
|
13
|
+
chunkQOOEK76B_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkQOOEK76B_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkQOOEK76B_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-GPHBDU6A.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-3XAQUPZK.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 chunk3LVCR6LS_cjs = require('./chunk-3LVCR6LS.cjs');
|
|
5
5
|
require('./chunk-MTAYUS7E.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkQOOEK76B_cjs = require('./chunk-QOOEK76B.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/prepare.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkQOOEK76B_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunk3LVCR6LS_cjs.prepareHook(config);
|
|
13
|
+
chunkQOOEK76B_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkQOOEK76B_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkQOOEK76B_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-Y7OK7243.js';
|
|
3
3
|
import './chunk-RPK5AKGK.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-3XAQUPZK.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 chunkQOOEK76B_cjs = require('./chunk-QOOEK76B.cjs');
|
|
6
6
|
|
|
7
7
|
// bin/version-warning.ts
|
|
8
8
|
void (async () => {
|
|
9
|
-
const config = await
|
|
9
|
+
const config = await chunkQOOEK76B_cjs.getConfig();
|
|
10
10
|
try {
|
|
11
|
-
|
|
11
|
+
chunkQOOEK76B_cjs.handleProcess(config);
|
|
12
12
|
chunkYHZNDNCW_cjs.checkPackageVersion(process.argv.slice(1));
|
|
13
13
|
} catch (error) {
|
|
14
|
-
|
|
14
|
+
chunkQOOEK76B_cjs.writeFatal(
|
|
15
15
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
16
16
|
config
|
|
17
17
|
);
|
|
18
|
-
|
|
18
|
+
chunkQOOEK76B_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-3XAQUPZK.js';
|
|
4
4
|
|
|
5
5
|
// bin/version-warning.ts
|
|
6
6
|
void (async () => {
|
|
@@ -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 chunkF67AF77W_cjs = require('./chunk-F67AF77W.cjs');
|
|
6
6
|
|
|
7
7
|
// src/hooks/post-commit.ts
|
|
8
8
|
async function postCommitHook(config, files) {
|
|
9
|
-
|
|
9
|
+
chunkF67AF77W_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,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chunk7ZSL4J35_cjs = require('./chunk-7ZSL4J35.cjs');
|
|
4
4
|
var chunk4VPJA7YJ_cjs = require('./chunk-4VPJA7YJ.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkF67AF77W_cjs = require('./chunk-F67AF77W.cjs');
|
|
6
6
|
var defu3 = require('defu');
|
|
7
7
|
var fs = require('fs');
|
|
8
8
|
var nxJson = require('nx/src/config/nx-json');
|
|
@@ -26,6 +26,7 @@ require('nx/src/command-line/release/utils/remote-release-clients/github');
|
|
|
26
26
|
require('yaml');
|
|
27
27
|
require('nx/src/command-line/release/utils/exec-command.js');
|
|
28
28
|
require('nx/src/command-line/release/utils/git');
|
|
29
|
+
require('nx/src/tasks-runner/utils.js');
|
|
29
30
|
|
|
30
31
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
31
32
|
|
|
@@ -2434,7 +2435,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
2434
2435
|
let config2 = result.config;
|
|
2435
2436
|
const configFile = result.configFile;
|
|
2436
2437
|
if (config2 && configFile && Object.keys(config2).length > 0 && !config2.skipConfigLogging) {
|
|
2437
|
-
|
|
2438
|
+
chunkF67AF77W_cjs.writeTrace(
|
|
2438
2439
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
2439
2440
|
{
|
|
2440
2441
|
logLevel: "all"
|
|
@@ -2450,7 +2451,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
2450
2451
|
for (const result2 of results) {
|
|
2451
2452
|
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
2452
2453
|
if (!config2.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
2453
|
-
|
|
2454
|
+
chunkF67AF77W_cjs.writeTrace(
|
|
2454
2455
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
2455
2456
|
{
|
|
2456
2457
|
logLevel: "all"
|
|
@@ -2548,7 +2549,7 @@ var getConfigEnv = () => {
|
|
|
2548
2549
|
},
|
|
2549
2550
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
2550
2551
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
2551
|
-
) ?
|
|
2552
|
+
) ? chunkF67AF77W_cjs.getLogLevelLabel(
|
|
2552
2553
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
2553
2554
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
2554
2555
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
@@ -2915,9 +2916,9 @@ var setConfigEnv = (config2) => {
|
|
|
2915
2916
|
process.env[`${prefix}LOG_LEVEL`] = String(config2.logLevel);
|
|
2916
2917
|
process.env.LOG_LEVEL = String(config2.logLevel);
|
|
2917
2918
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
2918
|
-
|
|
2919
|
+
chunkF67AF77W_cjs.getLogLevel(config2.logLevel) >= chunkF67AF77W_cjs.LogLevel.DEBUG ? true : false
|
|
2919
2920
|
);
|
|
2920
|
-
process.env.RUST_BACKTRACE =
|
|
2921
|
+
process.env.RUST_BACKTRACE = chunkF67AF77W_cjs.getLogLevel(config2.logLevel) >= chunkF67AF77W_cjs.LogLevel.DEBUG ? "full" : "none";
|
|
2921
2922
|
}
|
|
2922
2923
|
if (config2.skipConfigLogging !== void 0) {
|
|
2923
2924
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -3062,7 +3063,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
3062
3063
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
3063
3064
|
if (!configFile) {
|
|
3064
3065
|
if (!skipLogs) {
|
|
3065
|
-
|
|
3066
|
+
chunkF67AF77W_cjs.writeWarning(
|
|
3066
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",
|
|
3067
3068
|
{ logLevel: "all" }
|
|
3068
3069
|
);
|
|
@@ -3093,7 +3094,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
3093
3094
|
throw new Error(
|
|
3094
3095
|
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
3095
3096
|
|
|
3096
|
-
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: ${chunkF67AF77W_cjs.formatLogMessage(
|
|
3097
3098
|
configInput
|
|
3098
3099
|
)}`,
|
|
3099
3100
|
{
|
|
@@ -3120,9 +3121,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
3120
3121
|
);
|
|
3121
3122
|
setConfigEnv(config2);
|
|
3122
3123
|
if (!skipLogs && !config2.skipConfigLogging) {
|
|
3123
|
-
|
|
3124
|
+
chunkF67AF77W_cjs.writeTrace(
|
|
3124
3125
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
3125
|
-
${
|
|
3126
|
+
${chunkF67AF77W_cjs.formatLogMessage(config2)}`,
|
|
3126
3127
|
config2
|
|
3127
3128
|
);
|
|
3128
3129
|
}
|
|
@@ -3617,7 +3618,9 @@ var DEFAULT_RELEASE_GROUP_CONFIG = {
|
|
|
3617
3618
|
...DEFAULT_VERSION_RELEASE_CONFIG
|
|
3618
3619
|
},
|
|
3619
3620
|
releaseTag: {
|
|
3620
|
-
|
|
3621
|
+
checkAllBranchesWhen: true,
|
|
3622
|
+
preferDockerVersion: false,
|
|
3623
|
+
strictPreid: true
|
|
3621
3624
|
},
|
|
3622
3625
|
versionPlans: false
|
|
3623
3626
|
};
|
|
@@ -3725,7 +3728,7 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
|
|
|
3725
3728
|
projectGraph.nodes
|
|
3726
3729
|
);
|
|
3727
3730
|
if (!matchingProjects.length) {
|
|
3728
|
-
|
|
3731
|
+
chunkF67AF77W_cjs.writeWarning(
|
|
3729
3732
|
`Release group "${name}" does not have any matching projects.`
|
|
3730
3733
|
);
|
|
3731
3734
|
return void 0;
|
|
@@ -3840,7 +3843,7 @@ function getReleaseConfig(projectGraph, releaseConfig, workspaceConfig, ignoreNx
|
|
|
3840
3843
|
};
|
|
3841
3844
|
}
|
|
3842
3845
|
function formatConfigLog(config2) {
|
|
3843
|
-
return
|
|
3846
|
+
return chunkF67AF77W_cjs.formatLogMessage(config2, {
|
|
3844
3847
|
sort: true,
|
|
3845
3848
|
skip: ["workspaceConfig", "conventionalCommits"]
|
|
3846
3849
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DEFAULT_MONOREPO_COMMIT_QUESTIONS } from './chunk-USTER7R2.js';
|
|
2
2
|
import { DEFAULT_COMMIT_TYPES } from './chunk-3GGWHKRP.js';
|
|
3
|
-
import { writeWarning, formatLogMessage, writeTrace, getLogLevel, LogLevel, getLogLevelLabel } from './chunk-
|
|
3
|
+
import { writeWarning, formatLogMessage, writeTrace, getLogLevel, LogLevel, getLogLevelLabel } from './chunk-ISJNCGTW.js';
|
|
4
4
|
import defu3 from 'defu';
|
|
5
5
|
import { existsSync } from 'fs';
|
|
6
6
|
import { readNxJson } from 'nx/src/config/nx-json';
|
|
@@ -25,6 +25,7 @@ import 'nx/src/command-line/release/utils/remote-release-clients/github';
|
|
|
25
25
|
import 'yaml';
|
|
26
26
|
import 'nx/src/command-line/release/utils/exec-command.js';
|
|
27
27
|
import 'nx/src/command-line/release/utils/git';
|
|
28
|
+
import 'nx/src/tasks-runner/utils.js';
|
|
28
29
|
|
|
29
30
|
// ../config-tools/src/utilities/correct-paths.ts
|
|
30
31
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
@@ -3610,7 +3611,9 @@ var DEFAULT_RELEASE_GROUP_CONFIG = {
|
|
|
3610
3611
|
...DEFAULT_VERSION_RELEASE_CONFIG
|
|
3611
3612
|
},
|
|
3612
3613
|
releaseTag: {
|
|
3613
|
-
|
|
3614
|
+
checkAllBranchesWhen: true,
|
|
3615
|
+
preferDockerVersion: false,
|
|
3616
|
+
strictPreid: true
|
|
3614
3617
|
},
|
|
3615
3618
|
versionPlans: false
|
|
3616
3619
|
};
|
|
@@ -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 chunkF67AF77W_cjs = require('./chunk-F67AF77W.cjs');
|
|
6
6
|
|
|
7
7
|
// src/hooks/post-checkout.ts
|
|
8
8
|
async function postCheckoutHook(config, files) {
|
|
9
|
-
|
|
9
|
+
chunkF67AF77W_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,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkF67AF77W_cjs = require('./chunk-F67AF77W.cjs');
|
|
5
5
|
|
|
6
6
|
// src/hooks/pre-install.ts
|
|
7
7
|
async function preInstallHook(config) {
|
|
8
|
-
|
|
8
|
+
chunkF67AF77W_cjs.writeInfo("Running pre-install hook...", config);
|
|
9
9
|
if (Boolean(process.env.CI) || Boolean(process.env.STORM_CI)) {
|
|
10
|
-
|
|
10
|
+
chunkF67AF77W_cjs.writeInfo("Skipping pre-install for CI process...", config);
|
|
11
11
|
return;
|
|
12
12
|
}
|
|
13
13
|
chunkFJL2V56E_cjs.run(config, "npx -y only-allow pnpm");
|
|
@@ -288,7 +288,9 @@ var formatLogMessage = (message, options = {}, depth = 0) => {
|
|
|
288
288
|
const skip = options.skip ?? [];
|
|
289
289
|
const sort = options.sort ?? true;
|
|
290
290
|
return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
|
|
291
|
-
${message.
|
|
291
|
+
${message.sort(
|
|
292
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
293
|
+
).map(
|
|
292
294
|
(item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
|
|
293
295
|
item,
|
|
294
296
|
{ prefix: `${prefix}--`, skip, sort },
|
|
@@ -296,12 +298,12 @@ ${message.map(
|
|
|
296
298
|
)}`
|
|
297
299
|
).join("\n")}` : typeof message === "object" ? `
|
|
298
300
|
${Object.keys(message).filter(
|
|
299
|
-
(key) => !skip.map((k) => k.toLowerCase()).includes(
|
|
300
|
-
).sort(
|
|
301
|
+
(key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
|
|
302
|
+
).sort(
|
|
303
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
304
|
+
).map(
|
|
301
305
|
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
302
|
-
(key2) => !skip.map((k) => k.toLowerCase()).includes(
|
|
303
|
-
typeof key2 === "string" ? key2.toLowerCase() : key2
|
|
304
|
-
)
|
|
306
|
+
(key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
|
|
305
307
|
).length === 0 ? "{}" : formatLogMessage(
|
|
306
308
|
message[key],
|
|
307
309
|
{ prefix: `${prefix}--`, skip, sort },
|
|
@@ -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-ISJNCGTW.js';
|
|
4
4
|
|
|
5
5
|
// src/hooks/post-checkout.ts
|
|
6
6
|
async function postCheckoutHook(config, files) {
|
|
@@ -282,7 +282,9 @@ var formatLogMessage = (message, options = {}, depth = 0) => {
|
|
|
282
282
|
const skip = options.skip ?? [];
|
|
283
283
|
const sort = options.sort ?? true;
|
|
284
284
|
return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
|
|
285
|
-
${message.
|
|
285
|
+
${message.sort(
|
|
286
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
287
|
+
).map(
|
|
286
288
|
(item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
|
|
287
289
|
item,
|
|
288
290
|
{ prefix: `${prefix}--`, skip, sort },
|
|
@@ -290,12 +292,12 @@ ${message.map(
|
|
|
290
292
|
)}`
|
|
291
293
|
).join("\n")}` : typeof message === "object" ? `
|
|
292
294
|
${Object.keys(message).filter(
|
|
293
|
-
(key) => !skip.map((k) => k.toLowerCase()).includes(
|
|
294
|
-
).sort(
|
|
295
|
+
(key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
|
|
296
|
+
).sort(
|
|
297
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
298
|
+
).map(
|
|
295
299
|
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
296
|
-
(key2) => !skip.map((k) => k.toLowerCase()).includes(
|
|
297
|
-
typeof key2 === "string" ? key2.toLowerCase() : key2
|
|
298
|
-
)
|
|
300
|
+
(key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
|
|
299
301
|
).length === 0 ? "{}" : formatLogMessage(
|
|
300
302
|
message[key],
|
|
301
303
|
{ prefix: `${prefix}--`, skip, sort },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkPackageVersion } from './chunk-HMHOHK22.js';
|
|
2
|
-
import { writeInfo, writeSuccess } from './chunk-
|
|
2
|
+
import { writeInfo, writeSuccess } from './chunk-ISJNCGTW.js';
|
|
3
3
|
import fs from 'node:fs';
|
|
4
4
|
import { readFile } from 'node:fs/promises';
|
|
5
5
|
import path from 'node:path';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkF67AF77W_cjs = require('./chunk-F67AF77W.cjs');
|
|
5
5
|
|
|
6
6
|
// src/hooks/prepare.ts
|
|
7
7
|
async function prepareHook(config) {
|
|
8
|
-
|
|
8
|
+
chunkF67AF77W_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
|
}
|