@storm-software/git-tools 2.130.2 → 2.130.4
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-A3GMURSK.cjs → chunk-7F3TVMCA.cjs} +4 -4
- package/bin/{chunk-A3GMURSK.cjs.map → chunk-7F3TVMCA.cjs.map} +1 -1
- package/bin/{chunk-WCDB3OLV.js → chunk-CVJTBRYR.js} +3 -3
- package/bin/{chunk-WCDB3OLV.js.map → chunk-CVJTBRYR.js.map} +1 -1
- package/bin/{chunk-S32TDLJX.cjs → chunk-CW3OIFB4.cjs} +4 -4
- package/bin/{chunk-S32TDLJX.cjs.map → chunk-CW3OIFB4.cjs.map} +1 -1
- package/bin/{chunk-N2HECVLR.js → chunk-EQGVGVJD.js} +3 -3
- package/bin/{chunk-N2HECVLR.js.map → chunk-EQGVGVJD.js.map} +1 -1
- package/bin/{chunk-PFSAEKCF.js → chunk-FQBQE6ZB.js} +3 -3
- package/bin/{chunk-PFSAEKCF.js.map → chunk-FQBQE6ZB.js.map} +1 -1
- package/bin/{chunk-NOO7FRF4.js → chunk-GUBKGNXI.js} +5 -5
- package/bin/{chunk-NOO7FRF4.js.map → chunk-GUBKGNXI.js.map} +1 -1
- package/bin/{chunk-H2JIDXRZ.cjs → chunk-I2HNX3GG.cjs} +4 -4
- package/bin/{chunk-H2JIDXRZ.cjs.map → chunk-I2HNX3GG.cjs.map} +1 -1
- package/bin/{chunk-QDTVI7WT.cjs → chunk-I7B6IYBB.cjs} +5 -5
- package/bin/{chunk-QDTVI7WT.cjs.map → chunk-I7B6IYBB.cjs.map} +1 -1
- package/bin/{chunk-6W6FBNEJ.cjs → chunk-J7EC3A2H.cjs} +4 -4
- package/bin/{chunk-6W6FBNEJ.cjs.map → chunk-J7EC3A2H.cjs.map} +1 -1
- package/bin/{chunk-RMBT73YE.cjs → chunk-MOZKMSXM.cjs} +4 -4
- package/bin/{chunk-RMBT73YE.cjs.map → chunk-MOZKMSXM.cjs.map} +1 -1
- package/bin/{chunk-LVSMYJQM.js → chunk-MWT3CRQG.js} +3 -3
- package/bin/{chunk-LVSMYJQM.js.map → chunk-MWT3CRQG.js.map} +1 -1
- package/bin/{chunk-MVQI65TW.cjs → chunk-OE7KAAB5.cjs} +6 -6
- package/bin/{chunk-MVQI65TW.cjs.map → chunk-OE7KAAB5.cjs.map} +1 -1
- package/bin/{chunk-TWP7LTYJ.js → chunk-OGI5YX4H.js} +3 -3
- package/bin/{chunk-TWP7LTYJ.js.map → chunk-OGI5YX4H.js.map} +1 -1
- package/bin/{chunk-52H32YOS.js → chunk-RKEJZ2TR.js} +3 -3
- package/bin/{chunk-52H32YOS.js.map → chunk-RKEJZ2TR.js.map} +1 -1
- package/bin/{chunk-DZDXQHJV.cjs → chunk-T4KL5T3Y.cjs} +5 -5
- package/bin/{chunk-DZDXQHJV.cjs.map → chunk-T4KL5T3Y.cjs.map} +1 -1
- package/bin/{chunk-EOTZWMWQ.js → chunk-VPYYIUSQ.js} +3 -3
- package/bin/{chunk-EOTZWMWQ.js.map → chunk-VPYYIUSQ.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-5CRI6NO7.js → chunk-2NX5AYN5.js} +1 -1
- package/dist/{chunk-P5NAAC4N.js → chunk-2WB3Y3LV.js} +1 -1
- package/dist/{chunk-OYVBGDDT.cjs → chunk-4WE2GYN5.cjs} +2 -2
- package/dist/{chunk-AC5ULQLU.js → chunk-5LXLYDKZ.js} +1 -1
- package/dist/{chunk-4PWPCASG.cjs → chunk-AAIROCDF.cjs} +4 -4
- package/dist/{chunk-3OFWCM5Y.cjs → chunk-B7UB3ZXH.cjs} +2 -2
- package/dist/{chunk-GF4ZXZCS.cjs → chunk-DNPDNWA3.cjs} +3 -3
- package/dist/{chunk-VFGEAZEU.js → chunk-DQBPRD5I.js} +1 -1
- package/dist/{chunk-U4ITJVBF.js → chunk-HLX3ZD3F.js} +1 -1
- package/dist/{chunk-D4WHHW75.cjs → chunk-IDLABXSC.cjs} +2 -2
- package/dist/{chunk-EV4B3GJD.cjs → chunk-ISLA7CP2.cjs} +1 -1
- package/dist/{chunk-CD4EKGDM.js → chunk-NTYI6N67.js} +2 -2
- package/dist/{chunk-WG652PIV.js → chunk-PSIDOCCW.js} +1 -1
- package/dist/{chunk-4FUTKXP2.cjs → chunk-UVILOGFH.cjs} +11 -11
- package/dist/{chunk-TMHJ5TB2.js → chunk-VNHQ67ST.js} +1 -1
- package/dist/{chunk-6QAR5LMB.cjs → chunk-VOTWSUDD.cjs} +2 -2
- package/dist/{chunk-YLZ6V3A5.js → chunk-WCBM32NK.js} +1 -1
- package/dist/{chunk-VQV7XNP4.cjs → chunk-WKT2GS3D.cjs} +2 -2
- package/dist/index.cjs +23 -23
- package/dist/index.js +9 -9
- package/dist/lefthook/recommended.yml +1 -1
- package/dist/release/config.cjs +9 -9
- package/dist/release/config.js +2 -2
- package/package.json +6 -6
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-FQBQE6ZB.js';
|
|
3
|
+
import { postCommitHook } from './chunk-MWT3CRQG.js';
|
|
4
|
+
import { postMergeHook } from './chunk-OGI5YX4H.js';
|
|
5
|
+
import { preCommitHook } from './chunk-CVJTBRYR.js';
|
|
6
|
+
import './chunk-EQGVGVJD.js';
|
|
7
|
+
import { prePushHook } from './chunk-VPYYIUSQ.js';
|
|
8
8
|
import './chunk-HBLWPOJV.js';
|
|
9
|
-
import { prepareHook } from './chunk-
|
|
9
|
+
import { prepareHook } from './chunk-RKEJZ2TR.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-GUBKGNXI.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 chunk7F3TVMCA_cjs = require('./chunk-7F3TVMCA.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-FH5OSXAJ.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkI7B6IYBB_cjs = require('./chunk-I7B6IYBB.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-checkout.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkI7B6IYBB_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunk7F3TVMCA_cjs.postCheckoutHook(config, process.argv.slice(2));
|
|
14
|
+
chunkI7B6IYBB_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkI7B6IYBB_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkI7B6IYBB_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-FQBQE6ZB.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-GUBKGNXI.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 chunkMOZKMSXM_cjs = require('./chunk-MOZKMSXM.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-FH5OSXAJ.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkI7B6IYBB_cjs = require('./chunk-I7B6IYBB.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-commit.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkI7B6IYBB_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkMOZKMSXM_cjs.postCommitHook(config, process.argv.slice(2));
|
|
14
|
+
chunkI7B6IYBB_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkI7B6IYBB_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkI7B6IYBB_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-MWT3CRQG.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-GUBKGNXI.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 chunkJ7EC3A2H_cjs = require('./chunk-J7EC3A2H.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-FH5OSXAJ.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkI7B6IYBB_cjs = require('./chunk-I7B6IYBB.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-merge.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkI7B6IYBB_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkJ7EC3A2H_cjs.postMergeHook(config, process.argv.slice(2));
|
|
14
|
+
chunkI7B6IYBB_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkI7B6IYBB_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkI7B6IYBB_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-OGI5YX4H.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-GUBKGNXI.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 chunkCW3OIFB4_cjs = require('./chunk-CW3OIFB4.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkI7B6IYBB_cjs = require('./chunk-I7B6IYBB.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-commit.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkI7B6IYBB_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkCW3OIFB4_cjs.preCommitHook(config, process.argv.slice(2));
|
|
13
|
+
chunkI7B6IYBB_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkI7B6IYBB_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkI7B6IYBB_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-CVJTBRYR.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-GUBKGNXI.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 chunkT4KL5T3Y_cjs = require('./chunk-T4KL5T3Y.cjs');
|
|
5
5
|
require('./chunk-FH5OSXAJ.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkI7B6IYBB_cjs = require('./chunk-I7B6IYBB.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-install.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkI7B6IYBB_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkT4KL5T3Y_cjs.preInstallHook(config);
|
|
13
|
+
chunkI7B6IYBB_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkI7B6IYBB_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkI7B6IYBB_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-EQGVGVJD.js';
|
|
3
3
|
import './chunk-G3YPGVPS.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-GUBKGNXI.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 chunkOE7KAAB5_cjs = require('./chunk-OE7KAAB5.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkI7B6IYBB_cjs = require('./chunk-I7B6IYBB.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-push.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkI7B6IYBB_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkOE7KAAB5_cjs.prePushHook(config, process.argv.slice(2));
|
|
13
|
+
chunkI7B6IYBB_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkI7B6IYBB_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkI7B6IYBB_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-VPYYIUSQ.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-GUBKGNXI.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 chunkI2HNX3GG_cjs = require('./chunk-I2HNX3GG.cjs');
|
|
5
5
|
require('./chunk-FH5OSXAJ.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkI7B6IYBB_cjs = require('./chunk-I7B6IYBB.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/prepare.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkI7B6IYBB_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkI2HNX3GG_cjs.prepareHook(config);
|
|
13
|
+
chunkI7B6IYBB_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkI7B6IYBB_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkI7B6IYBB_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-RKEJZ2TR.js';
|
|
3
3
|
import './chunk-G3YPGVPS.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-GUBKGNXI.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 chunkI7B6IYBB_cjs = require('./chunk-I7B6IYBB.cjs');
|
|
6
6
|
|
|
7
7
|
// bin/version-warning.ts
|
|
8
8
|
void (async () => {
|
|
9
|
-
const config = await
|
|
9
|
+
const config = await chunkI7B6IYBB_cjs.getConfig();
|
|
10
10
|
try {
|
|
11
|
-
|
|
11
|
+
chunkI7B6IYBB_cjs.handleProcess(config);
|
|
12
12
|
chunkYHZNDNCW_cjs.checkPackageVersion(process.argv.slice(1));
|
|
13
13
|
} catch (error) {
|
|
14
|
-
|
|
14
|
+
chunkI7B6IYBB_cjs.writeFatal(
|
|
15
15
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
16
16
|
config
|
|
17
17
|
);
|
|
18
|
-
|
|
18
|
+
chunkI7B6IYBB_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-GUBKGNXI.js';
|
|
4
4
|
|
|
5
5
|
// bin/version-warning.ts
|
|
6
6
|
void (async () => {
|
|
@@ -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-VNHQ67ST.js';
|
|
4
4
|
|
|
5
5
|
// src/hooks/post-commit.ts
|
|
6
6
|
async function postCommitHook(config, files) {
|
|
@@ -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 chunkISLA7CP2_cjs = require('./chunk-ISLA7CP2.cjs');
|
|
6
6
|
|
|
7
7
|
// src/hooks/post-merge.ts
|
|
8
8
|
async function postMergeHook(config, files) {
|
|
9
|
-
|
|
9
|
+
chunkISLA7CP2_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,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-VNHQ67ST.js';
|
|
4
4
|
|
|
5
5
|
// src/hooks/post-checkout.ts
|
|
6
6
|
async function postCheckoutHook(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 chunkISLA7CP2_cjs = require('./chunk-ISLA7CP2.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
|
+
chunkISLA7CP2_cjs.writeInfo("Running pre-push hook...", config);
|
|
16
16
|
chunkQCNDIFYQ_cjs.checkPackageVersion(files);
|
|
17
|
-
|
|
17
|
+
chunkISLA7CP2_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
|
+
chunkISLA7CP2_cjs.writeSuccess(" \u2714 Lock file is valid for push", config);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
exports.prePushHook = prePushHook;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkISLA7CP2_cjs = require('./chunk-ISLA7CP2.cjs');
|
|
5
5
|
|
|
6
6
|
// src/hooks/pre-commit.ts
|
|
7
7
|
async function preCommitHook(config, files) {
|
|
8
|
-
|
|
8
|
+
chunkISLA7CP2_cjs.writeInfo("Running pre-commit hook...", config);
|
|
9
9
|
chunkQCNDIFYQ_cjs.checkPackageVersion(files);
|
|
10
10
|
if (chunkQCNDIFYQ_cjs.isPackageVersionChanged(files)) {
|
|
11
11
|
throw new Error(
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkISLA7CP2_cjs = require('./chunk-ISLA7CP2.cjs');
|
|
5
5
|
|
|
6
6
|
// src/hooks/pre-install.ts
|
|
7
7
|
async function preInstallHook(config) {
|
|
8
|
-
|
|
8
|
+
chunkISLA7CP2_cjs.writeInfo("Running pre-install hook...", config);
|
|
9
9
|
if (Boolean(process.env.CI) || Boolean(process.env.STORM_CI)) {
|
|
10
|
-
|
|
10
|
+
chunkISLA7CP2_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,5 +1,5 @@
|
|
|
1
1
|
import { checkPackageVersion } from './chunk-HMHOHK22.js';
|
|
2
|
-
import { writeInfo, writeSuccess } from './chunk-
|
|
2
|
+
import { writeInfo, writeSuccess } from './chunk-VNHQ67ST.js';
|
|
3
3
|
import fs from 'node:fs';
|
|
4
4
|
import { readFile } from 'node:fs/promises';
|
|
5
5
|
import path from 'node:path';
|
|
@@ -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-VNHQ67ST.js';
|
|
4
4
|
|
|
5
5
|
// src/hooks/post-merge.ts
|
|
6
6
|
async function postMergeHook(config, files) {
|
|
@@ -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 chunkISLA7CP2_cjs = require('./chunk-ISLA7CP2.cjs');
|
|
6
6
|
|
|
7
7
|
// src/hooks/post-checkout.ts
|
|
8
8
|
async function postCheckoutHook(config, files) {
|
|
9
|
-
|
|
9
|
+
chunkISLA7CP2_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 { 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-VNHQ67ST.js';
|
|
4
4
|
import defu from 'defu';
|
|
5
5
|
import { loadConfig } from 'c12';
|
|
6
6
|
import { existsSync } from 'node:fs';
|
|
@@ -1654,7 +1654,7 @@ var fatalColorSchema = optional(colorSchema);
|
|
|
1654
1654
|
schemaRegistry.add(fatalColorSchema, {
|
|
1655
1655
|
description: "The fatal color of the workspace"
|
|
1656
1656
|
});
|
|
1657
|
-
var performanceColorSchema = _default(colorSchema, "#
|
|
1657
|
+
var performanceColorSchema = _default(colorSchema, "#80fd74");
|
|
1658
1658
|
schemaRegistry.add(performanceColorSchema, {
|
|
1659
1659
|
description: "The performance color of the workspace"
|
|
1660
1660
|
});
|
|
@@ -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 chunkISLA7CP2_cjs = require('./chunk-ISLA7CP2.cjs');
|
|
6
6
|
var defu = require('defu');
|
|
7
7
|
var c12 = require('c12');
|
|
8
8
|
var fs = require('fs');
|
|
@@ -1662,7 +1662,7 @@ 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, "#
|
|
1665
|
+
var performanceColorSchema = _default(colorSchema, "#80fd74");
|
|
1666
1666
|
schemaRegistry.add(performanceColorSchema, {
|
|
1667
1667
|
description: "The performance color of the workspace"
|
|
1668
1668
|
});
|
|
@@ -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
|
+
chunkISLA7CP2_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
|
+
chunkISLA7CP2_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
|
+
) ? chunkISLA7CP2_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
|
+
chunkISLA7CP2_cjs.getLogLevel(config2.logLevel) >= chunkISLA7CP2_cjs.LogLevel.DEBUG ? true : false
|
|
2796
2796
|
);
|
|
2797
|
-
process.env.RUST_BACKTRACE =
|
|
2797
|
+
process.env.RUST_BACKTRACE = chunkISLA7CP2_cjs.getLogLevel(config2.logLevel) >= chunkISLA7CP2_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
|
+
chunkISLA7CP2_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
|
);
|
|
@@ -2966,7 +2966,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
2966
2966
|
throw new Error(
|
|
2967
2967
|
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
2968
2968
|
|
|
2969
|
-
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: ${chunkISLA7CP2_cjs.formatLogMessage(
|
|
2970
2970
|
configInput
|
|
2971
2971
|
)}`,
|
|
2972
2972
|
{
|
|
@@ -2993,9 +2993,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
2993
2993
|
);
|
|
2994
2994
|
setConfigEnv(config2);
|
|
2995
2995
|
if (!skipLogs && !config2.skipConfigLogging) {
|
|
2996
|
-
|
|
2996
|
+
chunkISLA7CP2_cjs.writeTrace(
|
|
2997
2997
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
2998
|
-
${
|
|
2998
|
+
${chunkISLA7CP2_cjs.formatLogMessage(config2)}`,
|
|
2999
2999
|
config2
|
|
3000
3000
|
);
|
|
3001
3001
|
}
|