@storm-software/git-tools 2.129.3 → 2.129.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/{chunk-N7J3ORRT.js → chunk-52H32YOS.js} +3 -3
- package/bin/{chunk-N7J3ORRT.js.map → chunk-52H32YOS.js.map} +1 -1
- package/bin/{chunk-Z64XNZ43.cjs → chunk-6W6FBNEJ.cjs} +4 -4
- package/bin/{chunk-Z64XNZ43.cjs.map → chunk-6W6FBNEJ.cjs.map} +1 -1
- package/bin/{chunk-ZW2KYP2Z.cjs → chunk-A3GMURSK.cjs} +4 -4
- package/bin/{chunk-ZW2KYP2Z.cjs.map → chunk-A3GMURSK.cjs.map} +1 -1
- package/bin/{chunk-IA2Z3BAB.cjs → chunk-DZDXQHJV.cjs} +5 -5
- package/bin/{chunk-IA2Z3BAB.cjs.map → chunk-DZDXQHJV.cjs.map} +1 -1
- package/bin/{chunk-6FITE6HP.js → chunk-EOTZWMWQ.js} +3 -3
- package/bin/{chunk-6FITE6HP.js.map → chunk-EOTZWMWQ.js.map} +1 -1
- package/bin/{chunk-3IBASKZ6.cjs → chunk-H2JIDXRZ.cjs} +4 -4
- package/bin/{chunk-3IBASKZ6.cjs.map → chunk-H2JIDXRZ.cjs.map} +1 -1
- package/bin/{chunk-RZZ5UCVV.js → chunk-LVSMYJQM.js} +3 -3
- package/bin/{chunk-RZZ5UCVV.js.map → chunk-LVSMYJQM.js.map} +1 -1
- package/bin/{chunk-EI723ABQ.cjs → chunk-MVQI65TW.cjs} +6 -6
- package/bin/{chunk-EI723ABQ.cjs.map → chunk-MVQI65TW.cjs.map} +1 -1
- package/bin/{chunk-S7Z6YPPG.js → chunk-N2HECVLR.js} +3 -3
- package/bin/{chunk-S7Z6YPPG.js.map → chunk-N2HECVLR.js.map} +1 -1
- package/bin/{chunk-S3E6UR4Y.js → chunk-NOO7FRF4.js} +42 -2
- package/bin/chunk-NOO7FRF4.js.map +1 -0
- package/bin/{chunk-ROGUZ46T.js → chunk-PFSAEKCF.js} +3 -3
- package/bin/{chunk-ROGUZ46T.js.map → chunk-PFSAEKCF.js.map} +1 -1
- package/bin/{chunk-DFXXNV3C.cjs → chunk-QDTVI7WT.cjs} +42 -2
- package/bin/chunk-QDTVI7WT.cjs.map +1 -0
- package/bin/{chunk-XHWHVOBP.cjs → chunk-RMBT73YE.cjs} +4 -4
- package/bin/{chunk-XHWHVOBP.cjs.map → chunk-RMBT73YE.cjs.map} +1 -1
- package/bin/{chunk-C7APS633.cjs → chunk-S32TDLJX.cjs} +4 -4
- package/bin/{chunk-C7APS633.cjs.map → chunk-S32TDLJX.cjs.map} +1 -1
- package/bin/{chunk-LHPUN2YZ.js → chunk-TWP7LTYJ.js} +3 -3
- package/bin/{chunk-LHPUN2YZ.js.map → chunk-TWP7LTYJ.js.map} +1 -1
- package/bin/{chunk-JE32WMBP.js → chunk-WCDB3OLV.js} +3 -3
- package/bin/{chunk-JE32WMBP.js.map → chunk-WCDB3OLV.js.map} +1 -1
- package/bin/git.cjs +118 -118
- package/bin/git.js +8 -8
- package/bin/post-checkout.cjs +7 -7
- package/bin/post-checkout.js +2 -2
- package/bin/post-commit.cjs +7 -7
- package/bin/post-commit.js +2 -2
- package/bin/post-merge.cjs +7 -7
- package/bin/post-merge.js +2 -2
- package/bin/pre-commit.cjs +7 -7
- package/bin/pre-commit.js +2 -2
- package/bin/pre-install.cjs +7 -7
- package/bin/pre-install.js +2 -2
- package/bin/pre-push.cjs +7 -7
- package/bin/pre-push.js +2 -2
- package/bin/prepare.cjs +7 -7
- package/bin/prepare.js +2 -2
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/dist/{chunk-BUQYMEBK.cjs → chunk-3OFWCM5Y.cjs} +2 -2
- package/dist/{chunk-RQ67RJVN.cjs → chunk-4FUTKXP2.cjs} +27 -10
- package/dist/{chunk-GTOCMU46.cjs → chunk-4PWPCASG.cjs} +4 -4
- package/dist/{chunk-ZKDVZXHI.js → chunk-5CRI6NO7.js} +1 -1
- package/dist/{chunk-DMVL4OYZ.cjs → chunk-6QAR5LMB.cjs} +2 -2
- package/dist/{chunk-UQMGLURT.js → chunk-AC5ULQLU.js} +1 -1
- package/dist/{chunk-HVTQXN3A.js → chunk-CD4EKGDM.js} +18 -1
- package/dist/{chunk-LSTKPCAN.cjs → chunk-D4WHHW75.cjs} +2 -2
- package/dist/{chunk-SIFTTG22.cjs → chunk-EV4B3GJD.cjs} +23 -1
- package/dist/{chunk-F2HQMRJH.cjs → chunk-GF4ZXZCS.cjs} +3 -3
- package/dist/{chunk-5DVCH44C.cjs → chunk-OYVBGDDT.cjs} +2 -2
- package/dist/{chunk-YUE6ZNKC.js → chunk-P5NAAC4N.js} +1 -1
- package/dist/{chunk-X7F62ZNF.js → chunk-TMHJ5TB2.js} +23 -1
- package/dist/{chunk-AU2RMJUK.js → chunk-U4ITJVBF.js} +1 -1
- package/dist/{chunk-RK75BACO.js → chunk-VFGEAZEU.js} +1 -1
- package/dist/{chunk-Z4CPTYLS.cjs → chunk-VQV7XNP4.cjs} +2 -2
- package/dist/{chunk-2NF67ZEY.js → chunk-WG652PIV.js} +1 -1
- package/dist/{chunk-C6MBULOZ.js → chunk-YLZ6V3A5.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 +6 -6
- package/bin/chunk-DFXXNV3C.cjs.map +0 -1
- package/bin/chunk-S3E6UR4Y.js.map +0 -1
package/bin/git.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { postCheckoutHook } from './chunk-
|
|
3
|
-
import { postCommitHook } from './chunk-
|
|
4
|
-
import { postMergeHook } from './chunk-
|
|
5
|
-
import { preCommitHook } from './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import { prePushHook } from './chunk-
|
|
2
|
+
import { postCheckoutHook } from './chunk-PFSAEKCF.js';
|
|
3
|
+
import { postCommitHook } from './chunk-LVSMYJQM.js';
|
|
4
|
+
import { postMergeHook } from './chunk-TWP7LTYJ.js';
|
|
5
|
+
import { preCommitHook } from './chunk-WCDB3OLV.js';
|
|
6
|
+
import './chunk-N2HECVLR.js';
|
|
7
|
+
import { prePushHook } from './chunk-EOTZWMWQ.js';
|
|
8
8
|
import './chunk-HBLWPOJV.js';
|
|
9
|
-
import { prepareHook } from './chunk-
|
|
9
|
+
import { prepareHook } from './chunk-52H32YOS.js';
|
|
10
10
|
import { run } from './chunk-G3YPGVPS.js';
|
|
11
|
-
import { getConfig, handleProcess, writeSuccess, exitWithSuccess, exitWithError, writeInfo, brandIcon, findWorkspaceRootSafe, writeFatal, getWorkspaceConfig, joinPaths, writeDebug, isVerbose, writeWarning, defu, writeTrace, STORM_DEFAULT_RELEASE_BANNER } from './chunk-
|
|
11
|
+
import { getConfig, handleProcess, writeSuccess, exitWithSuccess, exitWithError, writeInfo, brandIcon, findWorkspaceRootSafe, writeFatal, getWorkspaceConfig, joinPaths, writeDebug, isVerbose, writeWarning, defu, writeTrace, STORM_DEFAULT_RELEASE_BANNER } from './chunk-NOO7FRF4.js';
|
|
12
12
|
import TOML from '@ltd/j-toml';
|
|
13
13
|
import { Command } from 'commander';
|
|
14
14
|
import '@inquirer/checkbox';
|
package/bin/post-checkout.cjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkA3GMURSK_cjs = require('./chunk-A3GMURSK.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-FH5OSXAJ.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkQDTVI7WT_cjs = require('./chunk-QDTVI7WT.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-checkout.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkQDTVI7WT_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkA3GMURSK_cjs.postCheckoutHook(config, process.argv.slice(2));
|
|
14
|
+
chunkQDTVI7WT_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkQDTVI7WT_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkQDTVI7WT_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-PFSAEKCF.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-NOO7FRF4.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 chunkRMBT73YE_cjs = require('./chunk-RMBT73YE.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-FH5OSXAJ.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkQDTVI7WT_cjs = require('./chunk-QDTVI7WT.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-commit.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkQDTVI7WT_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkRMBT73YE_cjs.postCommitHook(config, process.argv.slice(2));
|
|
14
|
+
chunkQDTVI7WT_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkQDTVI7WT_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkQDTVI7WT_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-LVSMYJQM.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-NOO7FRF4.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 chunk6W6FBNEJ_cjs = require('./chunk-6W6FBNEJ.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-FH5OSXAJ.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkQDTVI7WT_cjs = require('./chunk-QDTVI7WT.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-merge.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkQDTVI7WT_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunk6W6FBNEJ_cjs.postMergeHook(config, process.argv.slice(2));
|
|
14
|
+
chunkQDTVI7WT_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkQDTVI7WT_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkQDTVI7WT_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-TWP7LTYJ.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-NOO7FRF4.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 chunkS32TDLJX_cjs = require('./chunk-S32TDLJX.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkQDTVI7WT_cjs = require('./chunk-QDTVI7WT.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-commit.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkQDTVI7WT_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkS32TDLJX_cjs.preCommitHook(config, process.argv.slice(2));
|
|
13
|
+
chunkQDTVI7WT_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkQDTVI7WT_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkQDTVI7WT_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-WCDB3OLV.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-NOO7FRF4.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 chunkDZDXQHJV_cjs = require('./chunk-DZDXQHJV.cjs');
|
|
5
5
|
require('./chunk-FH5OSXAJ.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkQDTVI7WT_cjs = require('./chunk-QDTVI7WT.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-install.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkQDTVI7WT_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkDZDXQHJV_cjs.preInstallHook(config);
|
|
13
|
+
chunkQDTVI7WT_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkQDTVI7WT_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkQDTVI7WT_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-N2HECVLR.js';
|
|
3
3
|
import './chunk-G3YPGVPS.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-NOO7FRF4.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 chunkMVQI65TW_cjs = require('./chunk-MVQI65TW.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkQDTVI7WT_cjs = require('./chunk-QDTVI7WT.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-push.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkQDTVI7WT_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkMVQI65TW_cjs.prePushHook(config, process.argv.slice(2));
|
|
13
|
+
chunkQDTVI7WT_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkQDTVI7WT_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkQDTVI7WT_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-EOTZWMWQ.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-NOO7FRF4.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 chunkH2JIDXRZ_cjs = require('./chunk-H2JIDXRZ.cjs');
|
|
5
5
|
require('./chunk-FH5OSXAJ.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkQDTVI7WT_cjs = require('./chunk-QDTVI7WT.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/prepare.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkQDTVI7WT_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkH2JIDXRZ_cjs.prepareHook(config);
|
|
13
|
+
chunkQDTVI7WT_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkQDTVI7WT_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkQDTVI7WT_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-52H32YOS.js';
|
|
3
3
|
import './chunk-G3YPGVPS.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-NOO7FRF4.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 chunkQDTVI7WT_cjs = require('./chunk-QDTVI7WT.cjs');
|
|
6
6
|
|
|
7
7
|
// bin/version-warning.ts
|
|
8
8
|
void (async () => {
|
|
9
|
-
const config = await
|
|
9
|
+
const config = await chunkQDTVI7WT_cjs.getConfig();
|
|
10
10
|
try {
|
|
11
|
-
|
|
11
|
+
chunkQDTVI7WT_cjs.handleProcess(config);
|
|
12
12
|
chunkYHZNDNCW_cjs.checkPackageVersion(process.argv.slice(1));
|
|
13
13
|
} catch (error) {
|
|
14
|
-
|
|
14
|
+
chunkQDTVI7WT_cjs.writeFatal(
|
|
15
15
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
16
16
|
config
|
|
17
17
|
);
|
|
18
|
-
|
|
18
|
+
chunkQDTVI7WT_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-NOO7FRF4.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 chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkEV4B3GJD_cjs = require('./chunk-EV4B3GJD.cjs');
|
|
5
5
|
|
|
6
6
|
// src/hooks/pre-commit.ts
|
|
7
7
|
async function preCommitHook(config, files) {
|
|
8
|
-
|
|
8
|
+
chunkEV4B3GJD_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,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 chunkEV4B3GJD_cjs = require('./chunk-EV4B3GJD.cjs');
|
|
6
6
|
var defu = require('defu');
|
|
7
7
|
var c12 = require('c12');
|
|
8
8
|
var fs = require('fs');
|
|
@@ -1662,6 +1662,10 @@ var fatalColorSchema = optional(colorSchema);
|
|
|
1662
1662
|
schemaRegistry.add(fatalColorSchema, {
|
|
1663
1663
|
description: "The fatal color of the workspace"
|
|
1664
1664
|
});
|
|
1665
|
+
var performanceColorSchema = _default(colorSchema, "#00ff00");
|
|
1666
|
+
schemaRegistry.add(performanceColorSchema, {
|
|
1667
|
+
description: "The performance color of the workspace"
|
|
1668
|
+
});
|
|
1665
1669
|
var positiveColorSchema = _default(colorSchema, "#4ade80");
|
|
1666
1670
|
schemaRegistry.add(positiveColorSchema, {
|
|
1667
1671
|
description: "The positive number color of the workspace"
|
|
@@ -1688,6 +1692,7 @@ var darkColorsSchema = object({
|
|
|
1688
1692
|
warning: warningColorSchema,
|
|
1689
1693
|
danger: dangerColorSchema,
|
|
1690
1694
|
fatal: fatalColorSchema,
|
|
1695
|
+
performance: performanceColorSchema,
|
|
1691
1696
|
positive: positiveColorSchema,
|
|
1692
1697
|
negative: negativeColorSchema,
|
|
1693
1698
|
gradient: gradientStopsSchema
|
|
@@ -1706,6 +1711,7 @@ var lightColorsSchema = object({
|
|
|
1706
1711
|
warning: warningColorSchema,
|
|
1707
1712
|
danger: dangerColorSchema,
|
|
1708
1713
|
fatal: fatalColorSchema,
|
|
1714
|
+
performance: performanceColorSchema,
|
|
1709
1715
|
positive: positiveColorSchema,
|
|
1710
1716
|
negative: negativeColorSchema,
|
|
1711
1717
|
gradient: gradientStopsSchema
|
|
@@ -1728,6 +1734,7 @@ var singleColorsSchema = object({
|
|
|
1728
1734
|
warning: warningColorSchema,
|
|
1729
1735
|
danger: dangerColorSchema,
|
|
1730
1736
|
fatal: fatalColorSchema,
|
|
1737
|
+
performance: performanceColorSchema,
|
|
1731
1738
|
positive: positiveColorSchema,
|
|
1732
1739
|
negative: negativeColorSchema,
|
|
1733
1740
|
gradient: gradientStopsSchema
|
|
@@ -2095,6 +2102,7 @@ var logLevelSchema = _default(
|
|
|
2095
2102
|
"warn",
|
|
2096
2103
|
"success",
|
|
2097
2104
|
"info",
|
|
2105
|
+
"performance",
|
|
2098
2106
|
"debug",
|
|
2099
2107
|
"trace",
|
|
2100
2108
|
"all"
|
|
@@ -2174,6 +2182,7 @@ var COLOR_KEYS = [
|
|
|
2174
2182
|
"warning",
|
|
2175
2183
|
"danger",
|
|
2176
2184
|
"fatal",
|
|
2185
|
+
"performance",
|
|
2177
2186
|
"positive",
|
|
2178
2187
|
"negative"
|
|
2179
2188
|
];
|
|
@@ -2302,7 +2311,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
2302
2311
|
let config2 = result.config;
|
|
2303
2312
|
const configFile = result.configFile;
|
|
2304
2313
|
if (config2 && configFile && Object.keys(config2).length > 0 && !config2.skipConfigLogging) {
|
|
2305
|
-
|
|
2314
|
+
chunkEV4B3GJD_cjs.writeTrace(
|
|
2306
2315
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
2307
2316
|
{
|
|
2308
2317
|
logLevel: "all"
|
|
@@ -2318,7 +2327,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
2318
2327
|
for (const result2 of results) {
|
|
2319
2328
|
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
2320
2329
|
if (!config2.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
2321
|
-
|
|
2330
|
+
chunkEV4B3GJD_cjs.writeTrace(
|
|
2322
2331
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
2323
2332
|
{
|
|
2324
2333
|
logLevel: "all"
|
|
@@ -2416,7 +2425,7 @@ var getConfigEnv = () => {
|
|
|
2416
2425
|
},
|
|
2417
2426
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
2418
2427
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
2419
|
-
) ?
|
|
2428
|
+
) ? chunkEV4B3GJD_cjs.getLogLevelLabel(
|
|
2420
2429
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
2421
2430
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
2422
2431
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
@@ -2491,6 +2500,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
2491
2500
|
warning: process.env[`${prefix}WARNING`],
|
|
2492
2501
|
danger: process.env[`${prefix}DANGER`],
|
|
2493
2502
|
fatal: process.env[`${prefix}FATAL`],
|
|
2503
|
+
performance: process.env[`${prefix}PERFORMANCE`],
|
|
2494
2504
|
positive: process.env[`${prefix}POSITIVE`],
|
|
2495
2505
|
negative: process.env[`${prefix}NEGATIVE`],
|
|
2496
2506
|
gradient
|
|
@@ -2530,6 +2540,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
2530
2540
|
warning: process.env[`${prefix}WARNING`],
|
|
2531
2541
|
danger: process.env[`${prefix}DANGER`],
|
|
2532
2542
|
fatal: process.env[`${prefix}FATAL`],
|
|
2543
|
+
performance: process.env[`${prefix}PERFORMANCE`],
|
|
2533
2544
|
positive: process.env[`${prefix}POSITIVE`],
|
|
2534
2545
|
negative: process.env[`${prefix}NEGATIVE`],
|
|
2535
2546
|
gradient
|
|
@@ -2781,9 +2792,9 @@ var setConfigEnv = (config2) => {
|
|
|
2781
2792
|
process.env[`${prefix}LOG_LEVEL`] = String(config2.logLevel);
|
|
2782
2793
|
process.env.LOG_LEVEL = String(config2.logLevel);
|
|
2783
2794
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
2784
|
-
|
|
2795
|
+
chunkEV4B3GJD_cjs.getLogLevel(config2.logLevel) >= chunkEV4B3GJD_cjs.LogLevel.DEBUG ? true : false
|
|
2785
2796
|
);
|
|
2786
|
-
process.env.RUST_BACKTRACE =
|
|
2797
|
+
process.env.RUST_BACKTRACE = chunkEV4B3GJD_cjs.getLogLevel(config2.logLevel) >= chunkEV4B3GJD_cjs.LogLevel.DEBUG ? "full" : "none";
|
|
2787
2798
|
}
|
|
2788
2799
|
if (config2.skipConfigLogging !== void 0) {
|
|
2789
2800
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -2840,6 +2851,9 @@ var setSingleThemeColorsEnv = (prefix, config2) => {
|
|
|
2840
2851
|
if (config2.fatal) {
|
|
2841
2852
|
process.env[`${prefix}FATAL`] = config2.fatal;
|
|
2842
2853
|
}
|
|
2854
|
+
if (config2.performance) {
|
|
2855
|
+
process.env[`${prefix}PERFORMANCE`] = config2.performance;
|
|
2856
|
+
}
|
|
2843
2857
|
if (config2.positive) {
|
|
2844
2858
|
process.env[`${prefix}POSITIVE`] = config2.positive;
|
|
2845
2859
|
}
|
|
@@ -2898,6 +2912,9 @@ var setBaseThemeColorsEnv = (prefix, config2) => {
|
|
|
2898
2912
|
if (config2.fatal) {
|
|
2899
2913
|
process.env[`${prefix}FATAL`] = config2.fatal;
|
|
2900
2914
|
}
|
|
2915
|
+
if (config2.performance) {
|
|
2916
|
+
process.env[`${prefix}PERFORMANCE`] = config2.performance;
|
|
2917
|
+
}
|
|
2901
2918
|
if (config2.positive) {
|
|
2902
2919
|
process.env[`${prefix}POSITIVE`] = config2.positive;
|
|
2903
2920
|
}
|
|
@@ -2922,7 +2939,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
2922
2939
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
2923
2940
|
if (!configFile) {
|
|
2924
2941
|
if (!skipLogs) {
|
|
2925
|
-
|
|
2942
|
+
chunkEV4B3GJD_cjs.writeWarning(
|
|
2926
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",
|
|
2927
2944
|
{ logLevel: "all" }
|
|
2928
2945
|
);
|
|
@@ -2949,7 +2966,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
2949
2966
|
throw new Error(
|
|
2950
2967
|
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
2951
2968
|
|
|
2952
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
2969
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${chunkEV4B3GJD_cjs.formatLogMessage(
|
|
2953
2970
|
configInput
|
|
2954
2971
|
)}`,
|
|
2955
2972
|
{
|
|
@@ -2976,9 +2993,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
2976
2993
|
);
|
|
2977
2994
|
setConfigEnv(config2);
|
|
2978
2995
|
if (!skipLogs && !config2.skipConfigLogging) {
|
|
2979
|
-
|
|
2996
|
+
chunkEV4B3GJD_cjs.writeTrace(
|
|
2980
2997
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
2981
|
-
${
|
|
2998
|
+
${chunkEV4B3GJD_cjs.formatLogMessage(config2)}`,
|
|
2982
2999
|
config2
|
|
2983
3000
|
);
|
|
2984
3001
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkEV4B3GJD_cjs = require('./chunk-EV4B3GJD.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
|
+
chunkEV4B3GJD_cjs.writeInfo("Running pre-push hook...", config);
|
|
16
16
|
chunkQCNDIFYQ_cjs.checkPackageVersion(files);
|
|
17
|
-
|
|
17
|
+
chunkEV4B3GJD_cjs.writeInfo("\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}\n", 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
|
+
chunkEV4B3GJD_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-TMHJ5TB2.js';
|
|
4
4
|
|
|
5
5
|
// src/hooks/post-commit.ts
|
|
6
6
|
async function postCommitHook(config, files) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkEV4B3GJD_cjs = require('./chunk-EV4B3GJD.cjs');
|
|
5
5
|
|
|
6
6
|
// src/hooks/prepare.ts
|
|
7
7
|
async function prepareHook(config) {
|
|
8
|
-
|
|
8
|
+
chunkEV4B3GJD_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
|
}
|
|
@@ -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-TMHJ5TB2.js';
|
|
4
4
|
|
|
5
5
|
// src/hooks/post-checkout.ts
|
|
6
6
|
async function postCheckoutHook(config, files) {
|