@storm-software/git-tools 2.131.21 → 2.131.23
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-K3M4EFXG.js → chunk-2JR3HPAL.js} +3 -3
- package/bin/{chunk-K3M4EFXG.js.map → chunk-2JR3HPAL.js.map} +1 -1
- package/bin/{chunk-2K6K4B6C.js → chunk-5OEE2E65.js} +3 -3
- package/bin/{chunk-2K6K4B6C.js.map → chunk-5OEE2E65.js.map} +1 -1
- package/bin/{chunk-7FLNOTUH.cjs → chunk-77NN2DPB.cjs} +4 -4
- package/bin/{chunk-7FLNOTUH.cjs.map → chunk-77NN2DPB.cjs.map} +1 -1
- package/bin/{chunk-2DHSN2C3.cjs → chunk-7I4XZL7P.cjs} +6 -6
- package/bin/{chunk-2DHSN2C3.cjs.map → chunk-7I4XZL7P.cjs.map} +1 -1
- package/bin/{chunk-OOFHIS6Q.cjs → chunk-AU2HBQCB.cjs} +8 -4
- package/bin/{chunk-OOFHIS6Q.cjs.map → chunk-AU2HBQCB.cjs.map} +1 -1
- package/bin/{chunk-NPCKWTZG.js → chunk-CBJFXXVE.js} +3 -3
- package/bin/{chunk-NPCKWTZG.js.map → chunk-CBJFXXVE.js.map} +1 -1
- package/bin/{chunk-PXSKDL54.cjs → chunk-FNM5AXPR.cjs} +4 -4
- package/bin/{chunk-PXSKDL54.cjs.map → chunk-FNM5AXPR.cjs.map} +1 -1
- package/bin/{chunk-JZL474YC.js → chunk-J76RVP3G.js} +3 -3
- package/bin/{chunk-JZL474YC.js.map → chunk-J76RVP3G.js.map} +1 -1
- package/bin/{chunk-S2KYF4B5.js → chunk-KBH5ZZ4V.js} +3 -3
- package/bin/{chunk-S2KYF4B5.js.map → chunk-KBH5ZZ4V.js.map} +1 -1
- package/bin/{chunk-RNHFC7RJ.js → chunk-KDRZY2YU.js} +8 -4
- package/bin/{chunk-RNHFC7RJ.js.map → chunk-KDRZY2YU.js.map} +1 -1
- package/bin/{chunk-GVYZ5VMU.cjs → chunk-KHPLFH3X.cjs} +4 -4
- package/bin/{chunk-GVYZ5VMU.cjs.map → chunk-KHPLFH3X.cjs.map} +1 -1
- package/bin/{chunk-CZGE4575.cjs → chunk-NKCKZ3E3.cjs} +4 -4
- package/bin/{chunk-CZGE4575.cjs.map → chunk-NKCKZ3E3.cjs.map} +1 -1
- package/bin/{chunk-NFY3U5Y5.js → chunk-S2N3WA4O.js} +3 -3
- package/bin/{chunk-NFY3U5Y5.js.map → chunk-S2N3WA4O.js.map} +1 -1
- package/bin/{chunk-WVG2JDAL.js → chunk-YDVAE433.js} +3 -3
- package/bin/{chunk-WVG2JDAL.js.map → chunk-YDVAE433.js.map} +1 -1
- package/bin/{chunk-TCH5N4G6.cjs → chunk-Z5SKX5XN.cjs} +4 -4
- package/bin/{chunk-TCH5N4G6.cjs.map → chunk-Z5SKX5XN.cjs.map} +1 -1
- package/bin/{chunk-KQFEBKJ6.cjs → chunk-ZRZDX2ZA.cjs} +5 -5
- package/bin/{chunk-KQFEBKJ6.cjs.map → chunk-ZRZDX2ZA.cjs.map} +1 -1
- package/bin/git.cjs +179 -184
- package/bin/git.cjs.map +1 -1
- package/bin/git.js +43 -48
- 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-3ISKKN7V.cjs → chunk-2KO5IEIY.cjs} +2 -2
- package/dist/{chunk-3NDL3NYQ.cjs → chunk-46DT23BR.cjs} +6 -2
- package/dist/{chunk-22KHZEQ7.js → chunk-4KMJAFZI.js} +1 -1
- package/dist/{chunk-MWHYSQOS.cjs → chunk-6HBRIYPP.cjs} +3 -3
- package/dist/{chunk-HLX2O3W5.js → chunk-BNXSIXM2.js} +5 -16
- package/dist/{chunk-PV25OROZ.js → chunk-BPDSCBOI.js} +6 -2
- package/dist/{chunk-4SXK4XZ7.js → chunk-C53K5W6J.js} +1 -1
- package/dist/{chunk-Q22WRFSZ.cjs → chunk-CUC73XZD.cjs} +15 -26
- package/dist/{chunk-PUNY63CE.cjs → chunk-D2TE2WQZ.cjs} +2 -2
- package/dist/{chunk-ICTL4AOJ.js → chunk-FBGULNA7.js} +1 -1
- package/dist/{chunk-BBFGZEK2.cjs → chunk-GNPQRGZ2.cjs} +4 -4
- package/dist/{chunk-JOWTWLTO.js → chunk-HRYBIFJL.js} +1 -1
- package/dist/{chunk-K6YQY3XT.cjs → chunk-IDG5O4UL.cjs} +2 -2
- package/dist/{chunk-GQZU3KQU.cjs → chunk-KVTWY6IN.cjs} +2 -2
- package/dist/{chunk-GPIIJKQ7.js → chunk-NABJ2MII.js} +1 -1
- package/dist/{chunk-TUICLGR7.js → chunk-UVEWNW75.js} +1 -1
- package/dist/{chunk-VVDS3FJO.js → chunk-WVCBWTDU.js} +1 -1
- package/dist/{chunk-OWXRRH4A.cjs → chunk-YOBEA3QU.cjs} +2 -2
- 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 +6 -6
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 chunkNKCKZ3E3_cjs = require('./chunk-NKCKZ3E3.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-MTAYUS7E.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkAU2HBQCB_cjs = require('./chunk-AU2HBQCB.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-checkout.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkAU2HBQCB_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkNKCKZ3E3_cjs.postCheckoutHook(config, process.argv.slice(2));
|
|
14
|
+
chunkAU2HBQCB_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkAU2HBQCB_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-YDVAE433.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-KDRZY2YU.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 chunkKHPLFH3X_cjs = require('./chunk-KHPLFH3X.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-MTAYUS7E.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkAU2HBQCB_cjs = require('./chunk-AU2HBQCB.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-commit.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkAU2HBQCB_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkKHPLFH3X_cjs.postCommitHook(config, process.argv.slice(2));
|
|
14
|
+
chunkAU2HBQCB_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkAU2HBQCB_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-S2N3WA4O.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-KDRZY2YU.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 chunkFNM5AXPR_cjs = require('./chunk-FNM5AXPR.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-MTAYUS7E.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkAU2HBQCB_cjs = require('./chunk-AU2HBQCB.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-merge.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkAU2HBQCB_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkFNM5AXPR_cjs.postMergeHook(config, process.argv.slice(2));
|
|
14
|
+
chunkAU2HBQCB_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkAU2HBQCB_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-KBH5ZZ4V.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-KDRZY2YU.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 chunkZ5SKX5XN_cjs = require('./chunk-Z5SKX5XN.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkAU2HBQCB_cjs = require('./chunk-AU2HBQCB.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-commit.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkAU2HBQCB_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkZ5SKX5XN_cjs.preCommitHook(config, process.argv.slice(2));
|
|
13
|
+
chunkAU2HBQCB_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkAU2HBQCB_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-2JR3HPAL.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-KDRZY2YU.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 chunkZRZDX2ZA_cjs = require('./chunk-ZRZDX2ZA.cjs');
|
|
5
5
|
require('./chunk-MTAYUS7E.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkAU2HBQCB_cjs = require('./chunk-AU2HBQCB.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-install.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkAU2HBQCB_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkZRZDX2ZA_cjs.preInstallHook(config);
|
|
13
|
+
chunkAU2HBQCB_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkAU2HBQCB_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-5OEE2E65.js';
|
|
3
3
|
import './chunk-RPK5AKGK.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-KDRZY2YU.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 chunk7I4XZL7P_cjs = require('./chunk-7I4XZL7P.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkAU2HBQCB_cjs = require('./chunk-AU2HBQCB.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-push.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkAU2HBQCB_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunk7I4XZL7P_cjs.prePushHook(config, process.argv.slice(2));
|
|
13
|
+
chunkAU2HBQCB_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkAU2HBQCB_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-J76RVP3G.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-KDRZY2YU.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 chunk77NN2DPB_cjs = require('./chunk-77NN2DPB.cjs');
|
|
5
5
|
require('./chunk-MTAYUS7E.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkAU2HBQCB_cjs = require('./chunk-AU2HBQCB.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/prepare.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkAU2HBQCB_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunk77NN2DPB_cjs.prepareHook(config);
|
|
13
|
+
chunkAU2HBQCB_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkAU2HBQCB_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-CBJFXXVE.js';
|
|
3
3
|
import './chunk-RPK5AKGK.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-KDRZY2YU.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 chunkAU2HBQCB_cjs = require('./chunk-AU2HBQCB.cjs');
|
|
6
6
|
|
|
7
7
|
// bin/version-warning.ts
|
|
8
8
|
void (async () => {
|
|
9
|
-
const config = await
|
|
9
|
+
const config = await chunkAU2HBQCB_cjs.getConfig();
|
|
10
10
|
try {
|
|
11
|
-
|
|
11
|
+
chunkAU2HBQCB_cjs.handleProcess(config);
|
|
12
12
|
chunkYHZNDNCW_cjs.checkPackageVersion(process.argv.slice(1));
|
|
13
13
|
} catch (error) {
|
|
14
|
-
|
|
14
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
15
15
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
16
16
|
config
|
|
17
17
|
);
|
|
18
|
-
|
|
18
|
+
chunkAU2HBQCB_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-KDRZY2YU.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 chunk46DT23BR_cjs = require('./chunk-46DT23BR.cjs');
|
|
5
5
|
|
|
6
6
|
// src/hooks/prepare.ts
|
|
7
7
|
async function prepareHook(config) {
|
|
8
|
-
|
|
8
|
+
chunk46DT23BR_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
|
}
|
|
@@ -295,9 +295,13 @@ ${message.map(
|
|
|
295
295
|
depth + 1
|
|
296
296
|
)}`
|
|
297
297
|
).join("\n")}` : typeof message === "object" ? `
|
|
298
|
-
${Object.keys(message).filter(
|
|
298
|
+
${Object.keys(message).filter(
|
|
299
|
+
(key) => !skip.map((k) => k.toLowerCase()).includes(typeof key === "string" ? key.toLowerCase() : key)
|
|
300
|
+
).sort(sort ? (a, b) => a.localeCompare(b) : void 0).map(
|
|
299
301
|
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
300
|
-
(key2) => !skip.includes(
|
|
302
|
+
(key2) => !skip.map((k) => k.toLowerCase()).includes(
|
|
303
|
+
typeof key2 === "string" ? key2.toLowerCase() : key2
|
|
304
|
+
)
|
|
301
305
|
).length === 0 ? "{}" : formatLogMessage(
|
|
302
306
|
message[key],
|
|
303
307
|
{ prefix: `${prefix}--`, skip, sort },
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk46DT23BR_cjs = require('./chunk-46DT23BR.cjs');
|
|
5
5
|
|
|
6
6
|
// src/hooks/pre-install.ts
|
|
7
7
|
async function preInstallHook(config) {
|
|
8
|
-
|
|
8
|
+
chunk46DT23BR_cjs.writeInfo("Running pre-install hook...", config);
|
|
9
9
|
if (Boolean(process.env.CI) || Boolean(process.env.STORM_CI)) {
|
|
10
|
-
|
|
10
|
+
chunk46DT23BR_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");
|
|
@@ -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-BPDSCBOI.js';
|
|
4
4
|
import defu3 from 'defu';
|
|
5
5
|
import { existsSync } from 'fs';
|
|
6
6
|
import { readNxJson } from 'nx/src/config/nx-json';
|
|
@@ -3833,21 +3833,10 @@ function getReleaseConfig(projectGraph, releaseConfig, workspaceConfig, ignoreNx
|
|
|
3833
3833
|
};
|
|
3834
3834
|
}
|
|
3835
3835
|
function formatConfigLog(config2) {
|
|
3836
|
-
return formatLogMessage(
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
Object.entries(config2.groups ?? {}).map(([name, group]) => [
|
|
3841
|
-
name,
|
|
3842
|
-
{
|
|
3843
|
-
...omit(group, ["projects"]),
|
|
3844
|
-
projects: group.projects.length ? group.projects : "No projects"
|
|
3845
|
-
}
|
|
3846
|
-
])
|
|
3847
|
-
)
|
|
3848
|
-
},
|
|
3849
|
-
{ sort: true, skip: ["workspaceConfig"] }
|
|
3850
|
-
);
|
|
3836
|
+
return formatLogMessage(config2, {
|
|
3837
|
+
sort: true,
|
|
3838
|
+
skip: ["workspaceConfig", "conventionalCommits"]
|
|
3839
|
+
});
|
|
3851
3840
|
}
|
|
3852
3841
|
|
|
3853
3842
|
export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG2 as DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_FIXED_RELEASE_GROUP_CONFIG, DEFAULT_FIXED_RELEASE_TAG_PATTERN, DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG, DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_GROUP_GIT_CONFIG, DEFAULT_RUST_RELEASE_GROUP_CONFIG, DEFAULT_VERSION_RELEASE_CONFIG, formatConfigLog, getReleaseConfig, getReleaseGroupConfig, mergeReleaseGroupConfig };
|
|
@@ -289,9 +289,13 @@ ${message.map(
|
|
|
289
289
|
depth + 1
|
|
290
290
|
)}`
|
|
291
291
|
).join("\n")}` : typeof message === "object" ? `
|
|
292
|
-
${Object.keys(message).filter(
|
|
292
|
+
${Object.keys(message).filter(
|
|
293
|
+
(key) => !skip.map((k) => k.toLowerCase()).includes(typeof key === "string" ? key.toLowerCase() : key)
|
|
294
|
+
).sort(sort ? (a, b) => a.localeCompare(b) : void 0).map(
|
|
293
295
|
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
294
|
-
(key2) => !skip.includes(
|
|
296
|
+
(key2) => !skip.map((k) => k.toLowerCase()).includes(
|
|
297
|
+
typeof key2 === "string" ? key2.toLowerCase() : key2
|
|
298
|
+
)
|
|
295
299
|
).length === 0 ? "{}" : formatLogMessage(
|
|
296
300
|
message[key],
|
|
297
301
|
{ prefix: `${prefix}--`, skip, sort },
|
|
@@ -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 chunk46DT23BR_cjs = require('./chunk-46DT23BR.cjs');
|
|
6
6
|
var defu3 = require('defu');
|
|
7
7
|
var fs = require('fs');
|
|
8
8
|
var nxJson = require('nx/src/config/nx-json');
|
|
@@ -2434,7 +2434,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
2434
2434
|
let config2 = result.config;
|
|
2435
2435
|
const configFile = result.configFile;
|
|
2436
2436
|
if (config2 && configFile && Object.keys(config2).length > 0 && !config2.skipConfigLogging) {
|
|
2437
|
-
|
|
2437
|
+
chunk46DT23BR_cjs.writeTrace(
|
|
2438
2438
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
2439
2439
|
{
|
|
2440
2440
|
logLevel: "all"
|
|
@@ -2450,7 +2450,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
2450
2450
|
for (const result2 of results) {
|
|
2451
2451
|
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
2452
2452
|
if (!config2.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
2453
|
-
|
|
2453
|
+
chunk46DT23BR_cjs.writeTrace(
|
|
2454
2454
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
2455
2455
|
{
|
|
2456
2456
|
logLevel: "all"
|
|
@@ -2548,7 +2548,7 @@ var getConfigEnv = () => {
|
|
|
2548
2548
|
},
|
|
2549
2549
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
2550
2550
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
2551
|
-
) ?
|
|
2551
|
+
) ? chunk46DT23BR_cjs.getLogLevelLabel(
|
|
2552
2552
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
2553
2553
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
2554
2554
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
@@ -2915,9 +2915,9 @@ var setConfigEnv = (config2) => {
|
|
|
2915
2915
|
process.env[`${prefix}LOG_LEVEL`] = String(config2.logLevel);
|
|
2916
2916
|
process.env.LOG_LEVEL = String(config2.logLevel);
|
|
2917
2917
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
2918
|
-
|
|
2918
|
+
chunk46DT23BR_cjs.getLogLevel(config2.logLevel) >= chunk46DT23BR_cjs.LogLevel.DEBUG ? true : false
|
|
2919
2919
|
);
|
|
2920
|
-
process.env.RUST_BACKTRACE =
|
|
2920
|
+
process.env.RUST_BACKTRACE = chunk46DT23BR_cjs.getLogLevel(config2.logLevel) >= chunk46DT23BR_cjs.LogLevel.DEBUG ? "full" : "none";
|
|
2921
2921
|
}
|
|
2922
2922
|
if (config2.skipConfigLogging !== void 0) {
|
|
2923
2923
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -3062,7 +3062,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
3062
3062
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
3063
3063
|
if (!configFile) {
|
|
3064
3064
|
if (!skipLogs) {
|
|
3065
|
-
|
|
3065
|
+
chunk46DT23BR_cjs.writeWarning(
|
|
3066
3066
|
"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
3067
|
{ logLevel: "all" }
|
|
3068
3068
|
);
|
|
@@ -3093,7 +3093,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
3093
3093
|
throw new Error(
|
|
3094
3094
|
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
3095
3095
|
|
|
3096
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
3096
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${chunk46DT23BR_cjs.formatLogMessage(
|
|
3097
3097
|
configInput
|
|
3098
3098
|
)}`,
|
|
3099
3099
|
{
|
|
@@ -3120,9 +3120,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
3120
3120
|
);
|
|
3121
3121
|
setConfigEnv(config2);
|
|
3122
3122
|
if (!skipLogs && !config2.skipConfigLogging) {
|
|
3123
|
-
|
|
3123
|
+
chunk46DT23BR_cjs.writeTrace(
|
|
3124
3124
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
3125
|
-
${
|
|
3125
|
+
${chunk46DT23BR_cjs.formatLogMessage(config2)}`,
|
|
3126
3126
|
config2
|
|
3127
3127
|
);
|
|
3128
3128
|
}
|
|
@@ -3725,7 +3725,7 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
|
|
|
3725
3725
|
projectGraph.nodes
|
|
3726
3726
|
);
|
|
3727
3727
|
if (!matchingProjects.length) {
|
|
3728
|
-
|
|
3728
|
+
chunk46DT23BR_cjs.writeWarning(
|
|
3729
3729
|
`Release group "${name}" does not have any matching projects.`
|
|
3730
3730
|
);
|
|
3731
3731
|
return void 0;
|
|
@@ -3840,21 +3840,10 @@ function getReleaseConfig(projectGraph, releaseConfig, workspaceConfig, ignoreNx
|
|
|
3840
3840
|
};
|
|
3841
3841
|
}
|
|
3842
3842
|
function formatConfigLog(config2) {
|
|
3843
|
-
return
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
Object.entries(config2.groups ?? {}).map(([name, group]) => [
|
|
3848
|
-
name,
|
|
3849
|
-
{
|
|
3850
|
-
...omit(group, ["projects"]),
|
|
3851
|
-
projects: group.projects.length ? group.projects : "No projects"
|
|
3852
|
-
}
|
|
3853
|
-
])
|
|
3854
|
-
)
|
|
3855
|
-
},
|
|
3856
|
-
{ sort: true, skip: ["workspaceConfig"] }
|
|
3857
|
-
);
|
|
3843
|
+
return chunk46DT23BR_cjs.formatLogMessage(config2, {
|
|
3844
|
+
sort: true,
|
|
3845
|
+
skip: ["workspaceConfig", "conventionalCommits"]
|
|
3846
|
+
});
|
|
3858
3847
|
}
|
|
3859
3848
|
|
|
3860
3849
|
exports.DEFAULT_CHANGELOG_RELEASE_CONFIG = DEFAULT_CHANGELOG_RELEASE_CONFIG;
|
|
@@ -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 chunk46DT23BR_cjs = require('./chunk-46DT23BR.cjs');
|
|
6
6
|
|
|
7
7
|
// src/hooks/post-checkout.ts
|
|
8
8
|
async function postCheckoutHook(config, files) {
|
|
9
|
-
|
|
9
|
+
chunk46DT23BR_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-BPDSCBOI.js';
|
|
4
4
|
|
|
5
5
|
// src/hooks/post-commit.ts
|
|
6
6
|
async function postCommitHook(config, files) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk46DT23BR_cjs = require('./chunk-46DT23BR.cjs');
|
|
5
5
|
var fs = require('fs');
|
|
6
6
|
var promises = require('fs/promises');
|
|
7
7
|
var path = require('path');
|
|
@@ -12,9 +12,9 @@ var fs__default = /*#__PURE__*/_interopDefault(fs);
|
|
|
12
12
|
var path__default = /*#__PURE__*/_interopDefault(path);
|
|
13
13
|
|
|
14
14
|
async function prePushHook(config, files) {
|
|
15
|
-
|
|
15
|
+
chunk46DT23BR_cjs.writeInfo("Running pre-push hook...", config);
|
|
16
16
|
chunkQCNDIFYQ_cjs.checkPackageVersion(files);
|
|
17
|
-
|
|
17
|
+
chunk46DT23BR_cjs.writeInfo("\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}", config);
|
|
18
18
|
const errors = [];
|
|
19
19
|
if (fs__default.default.existsSync(path__default.default.join(config.workspaceRoot ?? "./", "package-lock.json"))) {
|
|
20
20
|
errors.push(
|
|
@@ -51,7 +51,7 @@ async function prePushHook(config, files) {
|
|
|
51
51
|
"\u274C Lock file validation failed\n" + errors.join("\n")
|
|
52
52
|
);
|
|
53
53
|
}
|
|
54
|
-
|
|
54
|
+
chunk46DT23BR_cjs.writeSuccess("\u2714 Lock file is valid for push", config);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
exports.prePushHook = prePushHook;
|
|
@@ -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-BPDSCBOI.js';
|
|
4
4
|
|
|
5
5
|
// src/hooks/post-checkout.ts
|
|
6
6
|
async function postCheckoutHook(config, files) {
|