@storm-software/git-tools 2.130.36 → 2.130.38
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-KTR6DN32.js → chunk-2QLTCKJS.js} +3 -3
- package/bin/{chunk-KTR6DN32.js.map → chunk-2QLTCKJS.js.map} +1 -1
- package/bin/{chunk-UHJ3INXD.js → chunk-2RGP4ACE.js} +3 -3
- package/bin/{chunk-UHJ3INXD.js.map → chunk-2RGP4ACE.js.map} +1 -1
- package/bin/{chunk-VFP2YC56.js → chunk-5VMV7N3G.js} +19 -30
- package/bin/chunk-5VMV7N3G.js.map +1 -0
- package/bin/{chunk-EGDFRWIN.cjs → chunk-5Z6RONLO.cjs} +4 -4
- package/bin/{chunk-EGDFRWIN.cjs.map → chunk-5Z6RONLO.cjs.map} +1 -1
- package/bin/{chunk-ECWQIUB4.js → chunk-CW2LOJGK.js} +3 -3
- package/bin/{chunk-ECWQIUB4.js.map → chunk-CW2LOJGK.js.map} +1 -1
- package/bin/{chunk-FVR6F5QB.js → chunk-GULFJC7R.js} +3 -3
- package/bin/{chunk-FVR6F5QB.js.map → chunk-GULFJC7R.js.map} +1 -1
- package/bin/{chunk-EGX3JSKB.cjs → chunk-HIBBA263.cjs} +5 -5
- package/bin/{chunk-EGX3JSKB.cjs.map → chunk-HIBBA263.cjs.map} +1 -1
- package/bin/{chunk-DI6PREU4.cjs → chunk-HVR76UIF.cjs} +19 -30
- package/bin/chunk-HVR76UIF.cjs.map +1 -0
- package/bin/{chunk-ATE3TAGF.cjs → chunk-L5CIC5RM.cjs} +4 -4
- package/bin/{chunk-ATE3TAGF.cjs.map → chunk-L5CIC5RM.cjs.map} +1 -1
- package/bin/{chunk-LSV4BGLC.cjs → chunk-LOG3DPPQ.cjs} +4 -4
- package/bin/{chunk-LSV4BGLC.cjs.map → chunk-LOG3DPPQ.cjs.map} +1 -1
- package/bin/{chunk-MQWJPO5J.js → chunk-NBAUOCB4.js} +3 -3
- package/bin/{chunk-MQWJPO5J.js.map → chunk-NBAUOCB4.js.map} +1 -1
- package/bin/{chunk-QOXHPYED.cjs → chunk-NZCON5HN.cjs} +4 -4
- package/bin/{chunk-QOXHPYED.cjs.map → chunk-NZCON5HN.cjs.map} +1 -1
- package/bin/{chunk-ZGZ6JZDP.cjs → chunk-OVGMWXXJ.cjs} +6 -6
- package/bin/{chunk-ZGZ6JZDP.cjs.map → chunk-OVGMWXXJ.cjs.map} +1 -1
- package/bin/{chunk-XFAV5NG6.cjs → chunk-PRWPYXMH.cjs} +4 -4
- package/bin/{chunk-XFAV5NG6.cjs.map → chunk-PRWPYXMH.cjs.map} +1 -1
- package/bin/{chunk-WRLNGX7N.js → chunk-WBM5EHOT.js} +3 -3
- package/bin/{chunk-WRLNGX7N.js.map → chunk-WBM5EHOT.js.map} +1 -1
- package/bin/{chunk-QP6P24WO.js → chunk-ZSLNAQQG.js} +3 -3
- package/bin/{chunk-QP6P24WO.js.map → chunk-ZSLNAQQG.js.map} +1 -1
- package/bin/git.cjs +121 -121
- package/bin/git.cjs.map +1 -1
- package/bin/git.js +18 -18
- 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-4WE2GYN5.cjs → chunk-6AS5VMOX.cjs} +2 -2
- package/dist/{chunk-DQBPRD5I.js → chunk-7YZQR2LH.js} +1 -1
- package/dist/{chunk-N7GR4PRY.cjs → chunk-AH2722GG.cjs} +10 -10
- package/dist/{chunk-VNHQ67ST.js → chunk-DHMSMFL3.js} +17 -28
- package/dist/{chunk-B7UB3ZXH.cjs → chunk-DLFBUN66.cjs} +2 -2
- package/dist/{chunk-2WB3Y3LV.js → chunk-GEBZ74NA.js} +1 -1
- package/dist/{chunk-WKT2GS3D.cjs → chunk-HDNOJ6YK.cjs} +2 -2
- package/dist/{chunk-IDLABXSC.cjs → chunk-HZMRQVJW.cjs} +2 -2
- package/dist/{chunk-PSIDOCCW.js → chunk-IIIM2NQL.js} +1 -1
- package/dist/{chunk-5LXLYDKZ.js → chunk-JXKM22DX.js} +1 -1
- package/dist/{chunk-ZHSRGVUS.js → chunk-LXOOPN74.js} +1 -1
- package/dist/{chunk-VOTWSUDD.cjs → chunk-MC3B4RZP.cjs} +2 -2
- package/dist/{chunk-AAIROCDF.cjs → chunk-O56OC5QZ.cjs} +4 -4
- package/dist/{chunk-ISLA7CP2.cjs → chunk-OZEUXY3F.cjs} +17 -28
- package/dist/{chunk-DNPDNWA3.cjs → chunk-S7OVYP3G.cjs} +3 -3
- package/dist/{chunk-HLX3ZD3F.js → chunk-XOVOHV4M.js} +1 -1
- package/dist/{chunk-WCBM32NK.js → chunk-YIORTE6Q.js} +1 -1
- package/dist/{chunk-2NX5AYN5.js → chunk-ZRFCAV5X.js} +1 -1
- package/dist/index.cjs +23 -23
- package/dist/index.js +9 -9
- package/dist/release/config.cjs +9 -9
- package/dist/release/config.js +2 -2
- package/package.json +5 -5
- package/bin/chunk-DI6PREU4.cjs.map +0 -1
- package/bin/chunk-VFP2YC56.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 chunkNZCON5HN_cjs = require('./chunk-NZCON5HN.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-FH5OSXAJ.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkHVR76UIF_cjs = require('./chunk-HVR76UIF.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-checkout.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkHVR76UIF_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkNZCON5HN_cjs.postCheckoutHook(config, process.argv.slice(2));
|
|
14
|
+
chunkHVR76UIF_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkHVR76UIF_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkHVR76UIF_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-GULFJC7R.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
4
|
import './chunk-G3YPGVPS.js';
|
|
5
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
5
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-5VMV7N3G.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 chunk5Z6RONLO_cjs = require('./chunk-5Z6RONLO.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-FH5OSXAJ.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkHVR76UIF_cjs = require('./chunk-HVR76UIF.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-commit.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkHVR76UIF_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunk5Z6RONLO_cjs.postCommitHook(config, process.argv.slice(2));
|
|
14
|
+
chunkHVR76UIF_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkHVR76UIF_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkHVR76UIF_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-ZSLNAQQG.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
4
|
import './chunk-G3YPGVPS.js';
|
|
5
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
5
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-5VMV7N3G.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 chunkLOG3DPPQ_cjs = require('./chunk-LOG3DPPQ.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-FH5OSXAJ.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkHVR76UIF_cjs = require('./chunk-HVR76UIF.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-merge.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkHVR76UIF_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkLOG3DPPQ_cjs.postMergeHook(config, process.argv.slice(2));
|
|
14
|
+
chunkHVR76UIF_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkHVR76UIF_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkHVR76UIF_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-CW2LOJGK.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
4
|
import './chunk-G3YPGVPS.js';
|
|
5
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
5
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-5VMV7N3G.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 chunkL5CIC5RM_cjs = require('./chunk-L5CIC5RM.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkHVR76UIF_cjs = require('./chunk-HVR76UIF.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-commit.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkHVR76UIF_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkL5CIC5RM_cjs.preCommitHook(config, process.argv.slice(2));
|
|
13
|
+
chunkHVR76UIF_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkHVR76UIF_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkHVR76UIF_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-WBM5EHOT.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-5VMV7N3G.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 chunkHIBBA263_cjs = require('./chunk-HIBBA263.cjs');
|
|
5
5
|
require('./chunk-FH5OSXAJ.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkHVR76UIF_cjs = require('./chunk-HVR76UIF.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-install.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkHVR76UIF_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkHIBBA263_cjs.preInstallHook(config);
|
|
13
|
+
chunkHVR76UIF_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkHVR76UIF_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkHVR76UIF_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-2RGP4ACE.js';
|
|
3
3
|
import './chunk-G3YPGVPS.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-5VMV7N3G.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 chunkOVGMWXXJ_cjs = require('./chunk-OVGMWXXJ.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkHVR76UIF_cjs = require('./chunk-HVR76UIF.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-push.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkHVR76UIF_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkOVGMWXXJ_cjs.prePushHook(config, process.argv.slice(2));
|
|
13
|
+
chunkHVR76UIF_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkHVR76UIF_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkHVR76UIF_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-NBAUOCB4.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-5VMV7N3G.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 chunkPRWPYXMH_cjs = require('./chunk-PRWPYXMH.cjs');
|
|
5
5
|
require('./chunk-FH5OSXAJ.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkHVR76UIF_cjs = require('./chunk-HVR76UIF.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/prepare.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkHVR76UIF_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkPRWPYXMH_cjs.prepareHook(config);
|
|
13
|
+
chunkHVR76UIF_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkHVR76UIF_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkHVR76UIF_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-2QLTCKJS.js';
|
|
3
3
|
import './chunk-G3YPGVPS.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-5VMV7N3G.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 chunkHVR76UIF_cjs = require('./chunk-HVR76UIF.cjs');
|
|
6
6
|
|
|
7
7
|
// bin/version-warning.ts
|
|
8
8
|
void (async () => {
|
|
9
|
-
const config = await
|
|
9
|
+
const config = await chunkHVR76UIF_cjs.getConfig();
|
|
10
10
|
try {
|
|
11
|
-
|
|
11
|
+
chunkHVR76UIF_cjs.handleProcess(config);
|
|
12
12
|
chunkYHZNDNCW_cjs.checkPackageVersion(process.argv.slice(1));
|
|
13
13
|
} catch (error) {
|
|
14
|
-
|
|
14
|
+
chunkHVR76UIF_cjs.writeFatal(
|
|
15
15
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
16
16
|
config
|
|
17
17
|
);
|
|
18
|
-
|
|
18
|
+
chunkHVR76UIF_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-5VMV7N3G.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 chunkOZEUXY3F_cjs = require('./chunk-OZEUXY3F.cjs');
|
|
6
6
|
|
|
7
7
|
// src/hooks/post-merge.ts
|
|
8
8
|
async function postMergeHook(config, files) {
|
|
9
|
-
|
|
9
|
+
chunkOZEUXY3F_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,5 +1,5 @@
|
|
|
1
1
|
import { checkPackageVersion } from './chunk-HMHOHK22.js';
|
|
2
|
-
import { writeInfo, writeSuccess } from './chunk-
|
|
2
|
+
import { writeInfo, writeSuccess } from './chunk-DHMSMFL3.js';
|
|
3
3
|
import fs from 'node:fs';
|
|
4
4
|
import { readFile } from 'node:fs/promises';
|
|
5
5
|
import path from 'node:path';
|
|
@@ -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 chunkOZEUXY3F_cjs = require('./chunk-OZEUXY3F.cjs');
|
|
6
6
|
var defu = require('defu');
|
|
7
7
|
var c12 = require('c12');
|
|
8
8
|
var fs = require('fs');
|
|
@@ -2311,7 +2311,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
2311
2311
|
let config2 = result.config;
|
|
2312
2312
|
const configFile = result.configFile;
|
|
2313
2313
|
if (config2 && configFile && Object.keys(config2).length > 0 && !config2.skipConfigLogging) {
|
|
2314
|
-
|
|
2314
|
+
chunkOZEUXY3F_cjs.writeTrace(
|
|
2315
2315
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
2316
2316
|
{
|
|
2317
2317
|
logLevel: "all"
|
|
@@ -2327,7 +2327,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
2327
2327
|
for (const result2 of results) {
|
|
2328
2328
|
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
2329
2329
|
if (!config2.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
2330
|
-
|
|
2330
|
+
chunkOZEUXY3F_cjs.writeTrace(
|
|
2331
2331
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
2332
2332
|
{
|
|
2333
2333
|
logLevel: "all"
|
|
@@ -2425,7 +2425,7 @@ var getConfigEnv = () => {
|
|
|
2425
2425
|
},
|
|
2426
2426
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
2427
2427
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
2428
|
-
) ?
|
|
2428
|
+
) ? chunkOZEUXY3F_cjs.getLogLevelLabel(
|
|
2429
2429
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
2430
2430
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
2431
2431
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
@@ -2792,9 +2792,9 @@ var setConfigEnv = (config2) => {
|
|
|
2792
2792
|
process.env[`${prefix}LOG_LEVEL`] = String(config2.logLevel);
|
|
2793
2793
|
process.env.LOG_LEVEL = String(config2.logLevel);
|
|
2794
2794
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
2795
|
-
|
|
2795
|
+
chunkOZEUXY3F_cjs.getLogLevel(config2.logLevel) >= chunkOZEUXY3F_cjs.LogLevel.DEBUG ? true : false
|
|
2796
2796
|
);
|
|
2797
|
-
process.env.RUST_BACKTRACE =
|
|
2797
|
+
process.env.RUST_BACKTRACE = chunkOZEUXY3F_cjs.getLogLevel(config2.logLevel) >= chunkOZEUXY3F_cjs.LogLevel.DEBUG ? "full" : "none";
|
|
2798
2798
|
}
|
|
2799
2799
|
if (config2.skipConfigLogging !== void 0) {
|
|
2800
2800
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -2939,7 +2939,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
2939
2939
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
2940
2940
|
if (!configFile) {
|
|
2941
2941
|
if (!skipLogs) {
|
|
2942
|
-
|
|
2942
|
+
chunkOZEUXY3F_cjs.writeWarning(
|
|
2943
2943
|
"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",
|
|
2944
2944
|
{ logLevel: "all" }
|
|
2945
2945
|
);
|
|
@@ -2970,7 +2970,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
2970
2970
|
throw new Error(
|
|
2971
2971
|
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
2972
2972
|
|
|
2973
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
2973
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${chunkOZEUXY3F_cjs.formatLogMessage(
|
|
2974
2974
|
configInput
|
|
2975
2975
|
)}`,
|
|
2976
2976
|
{
|
|
@@ -2997,9 +2997,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
2997
2997
|
);
|
|
2998
2998
|
setConfigEnv(config2);
|
|
2999
2999
|
if (!skipLogs && !config2.skipConfigLogging) {
|
|
3000
|
-
|
|
3000
|
+
chunkOZEUXY3F_cjs.writeTrace(
|
|
3001
3001
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
3002
|
-
${
|
|
3002
|
+
${chunkOZEUXY3F_cjs.formatLogMessage(config2)}`,
|
|
3003
3003
|
config2
|
|
3004
3004
|
);
|
|
3005
3005
|
}
|
|
@@ -98,8 +98,8 @@ var CONSOLE_ICONS = {
|
|
|
98
98
|
};
|
|
99
99
|
|
|
100
100
|
// ../config-tools/src/logger/format-timestamp.ts
|
|
101
|
-
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
102
|
-
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
101
|
+
var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
|
|
102
|
+
return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
|
|
103
103
|
};
|
|
104
104
|
|
|
105
105
|
// ../config-tools/src/logger/get-log-level.ts
|
|
@@ -159,7 +159,12 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
159
159
|
};
|
|
160
160
|
|
|
161
161
|
// ../config-tools/src/logger/console.ts
|
|
162
|
-
var getLogFn = (logLevel = LogLevel.INFO, config = {},
|
|
162
|
+
var getLogFn = (logLevel = LogLevel.INFO, config = {}, options = {}) => {
|
|
163
|
+
const {
|
|
164
|
+
chalk: _chalk = getChalk(),
|
|
165
|
+
fullDateTime = false,
|
|
166
|
+
hideDateTime = false
|
|
167
|
+
} = options;
|
|
163
168
|
const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
|
|
164
169
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
165
170
|
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
@@ -170,9 +175,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
|
170
175
|
return (message) => {
|
|
171
176
|
console.error(
|
|
172
177
|
`
|
|
173
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
174
|
-
colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
|
|
175
|
-
)(
|
|
178
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(
|
|
176
179
|
`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
|
|
177
180
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
178
181
|
`
|
|
@@ -183,9 +186,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
183
186
|
return (message) => {
|
|
184
187
|
console.error(
|
|
185
188
|
`
|
|
186
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
187
|
-
colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
|
|
188
|
-
)(
|
|
189
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(
|
|
189
190
|
`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
|
|
190
191
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
191
192
|
`
|
|
@@ -196,9 +197,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
196
197
|
return (message) => {
|
|
197
198
|
console.warn(
|
|
198
199
|
`
|
|
199
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
200
|
-
colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
|
|
201
|
-
)(
|
|
200
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(
|
|
202
201
|
`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
|
|
203
202
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
204
203
|
`
|
|
@@ -209,9 +208,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
209
208
|
return (message) => {
|
|
210
209
|
console.info(
|
|
211
210
|
`
|
|
212
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
213
|
-
colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
|
|
214
|
-
)(
|
|
211
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(
|
|
215
212
|
`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
|
|
216
213
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
217
214
|
`
|
|
@@ -222,9 +219,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
222
219
|
return (message) => {
|
|
223
220
|
console.info(
|
|
224
221
|
`
|
|
225
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
226
|
-
colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
|
|
227
|
-
)(
|
|
222
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(
|
|
228
223
|
`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
|
|
229
224
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
230
225
|
`
|
|
@@ -235,9 +230,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
235
230
|
return (message) => {
|
|
236
231
|
console.debug(
|
|
237
232
|
`
|
|
238
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
239
|
-
colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance
|
|
240
|
-
)(
|
|
233
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(
|
|
241
234
|
`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
|
|
242
235
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
243
236
|
`
|
|
@@ -248,9 +241,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
248
241
|
return (message) => {
|
|
249
242
|
console.debug(
|
|
250
243
|
`
|
|
251
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
252
|
-
colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
|
|
253
|
-
)(
|
|
244
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(
|
|
254
245
|
`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
|
|
255
246
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
256
247
|
`
|
|
@@ -261,7 +252,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
261
252
|
return (message) => {
|
|
262
253
|
console.debug(
|
|
263
254
|
`
|
|
264
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
255
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
|
|
265
256
|
`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
|
|
266
257
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
267
258
|
`
|
|
@@ -271,9 +262,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
|
271
262
|
return (message) => {
|
|
272
263
|
console.log(
|
|
273
264
|
`
|
|
274
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
275
|
-
colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
|
|
276
|
-
)(
|
|
265
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(
|
|
277
266
|
`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
|
|
278
267
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
279
268
|
`
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkOZEUXY3F_cjs = require('./chunk-OZEUXY3F.cjs');
|
|
5
5
|
|
|
6
6
|
// src/hooks/pre-commit.ts
|
|
7
7
|
async function preCommitHook(config, files) {
|
|
8
|
-
|
|
8
|
+
chunkOZEUXY3F_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(
|
|
@@ -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 chunkOZEUXY3F_cjs = require('./chunk-OZEUXY3F.cjs');
|
|
6
6
|
|
|
7
7
|
// src/hooks/post-commit.ts
|
|
8
8
|
async function postCommitHook(config, files) {
|
|
9
|
-
|
|
9
|
+
chunkOZEUXY3F_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 chunkOZEUXY3F_cjs = require('./chunk-OZEUXY3F.cjs');
|
|
6
6
|
|
|
7
7
|
// src/hooks/post-checkout.ts
|
|
8
8
|
async function postCheckoutHook(config, files) {
|
|
9
|
-
|
|
9
|
+
chunkOZEUXY3F_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-DHMSMFL3.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-USTER7R2.js';
|
|
2
2
|
import { DEFAULT_COMMIT_TYPES } from './chunk-3GGWHKRP.js';
|
|
3
|
-
import { writeTrace, formatLogMessage, writeWarning, getLogLevel, LogLevel, getLogLevelLabel } from './chunk-
|
|
3
|
+
import { writeTrace, formatLogMessage, writeWarning, getLogLevel, LogLevel, getLogLevelLabel } from './chunk-DHMSMFL3.js';
|
|
4
4
|
import defu from 'defu';
|
|
5
5
|
import { loadConfig } from 'c12';
|
|
6
6
|
import { existsSync } from 'node:fs';
|