@storm-software/git-tools 2.124.57 → 2.124.59
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 -2
- package/bin/{chunk-3PQ6YKQX.cjs → chunk-NUGDUPXJ.cjs} +20 -4
- package/bin/chunk-NUGDUPXJ.cjs.map +1 -0
- package/bin/{chunk-GMMJM4AI.js → chunk-UKNYCUVS.js} +20 -4
- package/bin/chunk-UKNYCUVS.js.map +1 -0
- package/bin/git.cjs +75 -75
- package/bin/git.js +1 -1
- package/bin/post-checkout.cjs +9 -9
- package/bin/post-checkout.js +1 -1
- package/bin/post-commit.cjs +9 -9
- package/bin/post-commit.js +1 -1
- package/bin/post-merge.cjs +9 -9
- package/bin/post-merge.js +1 -1
- package/bin/pre-commit.cjs +9 -9
- package/bin/pre-commit.js +1 -1
- package/bin/pre-install.cjs +9 -9
- package/bin/pre-install.js +1 -1
- package/bin/pre-push.cjs +13 -13
- package/bin/pre-push.js +1 -1
- package/bin/prepare.cjs +7 -7
- package/bin/prepare.js +1 -1
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/dist/{chunk-PI2QGROD.cjs → chunk-D2BA7VDM.cjs} +18 -2
- package/dist/{chunk-ZWBINQV3.js → chunk-IZFUY6XB.js} +18 -2
- package/dist/index.cjs +8 -8
- package/dist/index.js +1 -1
- package/dist/release/config.cjs +8 -8
- package/dist/release/config.js +1 -1
- package/package.json +5 -5
- package/bin/chunk-3PQ6YKQX.cjs.map +0 -1
- package/bin/chunk-GMMJM4AI.js.map +0 -1
package/bin/post-merge.cjs
CHANGED
|
@@ -3,33 +3,33 @@
|
|
|
3
3
|
|
|
4
4
|
var chunkAU5PZKTN_cjs = require('./chunk-AU5PZKTN.cjs');
|
|
5
5
|
var chunkFH5OSXAJ_cjs = require('./chunk-FH5OSXAJ.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkNUGDUPXJ_cjs = require('./chunk-NUGDUPXJ.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/post-merge.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkNUGDUPXJ_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
chunkNUGDUPXJ_cjs.handleProcess(config);
|
|
13
|
+
chunkNUGDUPXJ_cjs.writeInfo("Running post-merge hook...", config);
|
|
14
14
|
chunkAU5PZKTN_cjs.checkPackageVersion(process.argv?.slice(1));
|
|
15
15
|
try {
|
|
16
16
|
chunkFH5OSXAJ_cjs.run(config, "git-lfs version");
|
|
17
17
|
} catch (error) {
|
|
18
|
-
|
|
18
|
+
chunkNUGDUPXJ_cjs.writeError(
|
|
19
19
|
`This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-merge.
|
|
20
20
|
Error: ${error?.message}`,
|
|
21
21
|
config
|
|
22
22
|
);
|
|
23
|
-
|
|
23
|
+
chunkNUGDUPXJ_cjs.exitWithError(config);
|
|
24
24
|
}
|
|
25
25
|
chunkFH5OSXAJ_cjs.run(config, "git lfs post-merge");
|
|
26
|
-
|
|
26
|
+
chunkNUGDUPXJ_cjs.exitWithSuccess(config);
|
|
27
27
|
} catch (error) {
|
|
28
|
-
|
|
28
|
+
chunkNUGDUPXJ_cjs.writeFatal(
|
|
29
29
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
30
30
|
config
|
|
31
31
|
);
|
|
32
|
-
|
|
32
|
+
chunkNUGDUPXJ_cjs.exitWithError(config);
|
|
33
33
|
process.exit(1);
|
|
34
34
|
}
|
|
35
35
|
})();
|
package/bin/post-merge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { checkPackageVersion } from './chunk-Q3DQKTOI.js';
|
|
3
3
|
import { run } from './chunk-G3YPGVPS.js';
|
|
4
|
-
import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-
|
|
4
|
+
import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-UKNYCUVS.js';
|
|
5
5
|
|
|
6
6
|
// bin/post-merge.ts
|
|
7
7
|
void (async () => {
|
package/bin/pre-commit.cjs
CHANGED
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkAU5PZKTN_cjs = require('./chunk-AU5PZKTN.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkNUGDUPXJ_cjs = require('./chunk-NUGDUPXJ.cjs');
|
|
6
6
|
|
|
7
7
|
// bin/pre-commit.ts
|
|
8
8
|
void (async () => {
|
|
9
|
-
const config = await
|
|
9
|
+
const config = await chunkNUGDUPXJ_cjs.getConfig();
|
|
10
10
|
try {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
chunkNUGDUPXJ_cjs.handleProcess(config);
|
|
12
|
+
chunkNUGDUPXJ_cjs.writeInfo("Running pre-commit hook...", config);
|
|
13
13
|
chunkAU5PZKTN_cjs.checkPackageVersion(process.argv.slice(1));
|
|
14
14
|
if (chunkAU5PZKTN_cjs.isPackageVersionChanged(process.argv?.slice(1))) {
|
|
15
|
-
|
|
15
|
+
chunkNUGDUPXJ_cjs.writeError(
|
|
16
16
|
"Please regenerate the package lock file before committing...",
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkNUGDUPXJ_cjs.exitWithError(config);
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
chunkNUGDUPXJ_cjs.exitWithSuccess(config);
|
|
22
22
|
} catch (error) {
|
|
23
|
-
|
|
23
|
+
chunkNUGDUPXJ_cjs.writeFatal(
|
|
24
24
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
25
25
|
config
|
|
26
26
|
);
|
|
27
|
-
|
|
27
|
+
chunkNUGDUPXJ_cjs.exitWithError(config);
|
|
28
28
|
process.exit(1);
|
|
29
29
|
}
|
|
30
30
|
})();
|
package/bin/pre-commit.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { checkPackageVersion, isPackageVersionChanged } from './chunk-Q3DQKTOI.js';
|
|
3
|
-
import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-
|
|
3
|
+
import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-UKNYCUVS.js';
|
|
4
4
|
|
|
5
5
|
// bin/pre-commit.ts
|
|
6
6
|
void (async () => {
|
package/bin/pre-install.cjs
CHANGED
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkFH5OSXAJ_cjs = require('./chunk-FH5OSXAJ.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkNUGDUPXJ_cjs = require('./chunk-NUGDUPXJ.cjs');
|
|
6
6
|
|
|
7
7
|
// bin/pre-install.ts
|
|
8
8
|
void (async () => {
|
|
9
|
-
const config = await
|
|
9
|
+
const config = await chunkNUGDUPXJ_cjs.getConfig();
|
|
10
10
|
try {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
chunkNUGDUPXJ_cjs.handleProcess(config);
|
|
12
|
+
chunkNUGDUPXJ_cjs.writeInfo("Running pre-install hook...", config);
|
|
13
13
|
if (Boolean(process.env.CI) || Boolean(process.env.STORM_CI)) {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
chunkNUGDUPXJ_cjs.writeInfo("Skipping pre-install for CI process...", config);
|
|
15
|
+
chunkNUGDUPXJ_cjs.exitWithSuccess(config);
|
|
16
16
|
}
|
|
17
17
|
chunkFH5OSXAJ_cjs.run(config, "npx -y only-allow pnpm");
|
|
18
|
-
|
|
18
|
+
chunkNUGDUPXJ_cjs.exitWithSuccess(config);
|
|
19
19
|
} catch (error) {
|
|
20
|
-
|
|
20
|
+
chunkNUGDUPXJ_cjs.writeFatal(
|
|
21
21
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
22
22
|
config
|
|
23
23
|
);
|
|
24
|
-
|
|
24
|
+
chunkNUGDUPXJ_cjs.exitWithError(config);
|
|
25
25
|
process.exit(1);
|
|
26
26
|
}
|
|
27
27
|
})();
|
package/bin/pre-install.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { run } from './chunk-G3YPGVPS.js';
|
|
3
|
-
import { getConfig, handleProcess, writeInfo, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
3
|
+
import { getConfig, handleProcess, writeInfo, exitWithSuccess, writeFatal, exitWithError } from './chunk-UKNYCUVS.js';
|
|
4
4
|
|
|
5
5
|
// bin/pre-install.ts
|
|
6
6
|
void (async () => {
|
package/bin/pre-push.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var chunkAU5PZKTN_cjs = require('./chunk-AU5PZKTN.cjs');
|
|
5
5
|
var chunkFH5OSXAJ_cjs = require('./chunk-FH5OSXAJ.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkNUGDUPXJ_cjs = require('./chunk-NUGDUPXJ.cjs');
|
|
7
7
|
var fs = require('fs');
|
|
8
8
|
var promises = require('fs/promises');
|
|
9
9
|
var path = require('path');
|
|
@@ -14,12 +14,12 @@ var fs__default = /*#__PURE__*/_interopDefault(fs);
|
|
|
14
14
|
var path__default = /*#__PURE__*/_interopDefault(path);
|
|
15
15
|
|
|
16
16
|
void (async () => {
|
|
17
|
-
const config = await
|
|
17
|
+
const config = await chunkNUGDUPXJ_cjs.getConfig();
|
|
18
18
|
try {
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
chunkNUGDUPXJ_cjs.handleProcess(config);
|
|
20
|
+
chunkNUGDUPXJ_cjs.writeInfo("Running pre-push hook...", config);
|
|
21
21
|
chunkAU5PZKTN_cjs.checkPackageVersion(process.argv?.slice(1));
|
|
22
|
-
|
|
22
|
+
chunkNUGDUPXJ_cjs.writeInfo("\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}\n", config);
|
|
23
23
|
const errors = [];
|
|
24
24
|
if (fs__default.default.existsSync(
|
|
25
25
|
path__default.default.join(config.workspaceRoot ?? "./", "package-lock.json")
|
|
@@ -54,32 +54,32 @@ void (async () => {
|
|
|
54
54
|
errors.push('The "pnpm-lock.yaml" does not exist or cannot be read');
|
|
55
55
|
}
|
|
56
56
|
if (errors.length > 0) {
|
|
57
|
-
|
|
57
|
+
chunkNUGDUPXJ_cjs.writeError("\u274C Lock file validation failed", config);
|
|
58
58
|
for (const error of errors) {
|
|
59
59
|
console.error(error);
|
|
60
60
|
}
|
|
61
|
-
|
|
61
|
+
chunkNUGDUPXJ_cjs.exitWithError(config);
|
|
62
62
|
}
|
|
63
|
-
|
|
63
|
+
chunkNUGDUPXJ_cjs.writeSuccess("Lock file is valid \u2705", config);
|
|
64
64
|
chunkFH5OSXAJ_cjs.run(config, "git lfs pre-push origin");
|
|
65
65
|
try {
|
|
66
66
|
chunkFH5OSXAJ_cjs.run(config, "git-lfs version");
|
|
67
67
|
} catch (error) {
|
|
68
|
-
|
|
68
|
+
chunkNUGDUPXJ_cjs.writeError(
|
|
69
69
|
`This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.
|
|
70
70
|
Error: ${error?.message}`,
|
|
71
71
|
config
|
|
72
72
|
);
|
|
73
|
-
|
|
73
|
+
chunkNUGDUPXJ_cjs.exitWithError(config);
|
|
74
74
|
}
|
|
75
75
|
chunkFH5OSXAJ_cjs.run(config, "git lfs pre-push origin");
|
|
76
|
-
|
|
76
|
+
chunkNUGDUPXJ_cjs.exitWithSuccess(config);
|
|
77
77
|
} catch (error) {
|
|
78
|
-
|
|
78
|
+
chunkNUGDUPXJ_cjs.writeFatal(
|
|
79
79
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
80
80
|
config
|
|
81
81
|
);
|
|
82
|
-
|
|
82
|
+
chunkNUGDUPXJ_cjs.exitWithError(config);
|
|
83
83
|
process.exit(1);
|
|
84
84
|
}
|
|
85
85
|
})();
|
package/bin/pre-push.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { checkPackageVersion } from './chunk-Q3DQKTOI.js';
|
|
3
3
|
import { run } from './chunk-G3YPGVPS.js';
|
|
4
|
-
import { getConfig, handleProcess, writeInfo, writeError, exitWithError, writeSuccess, exitWithSuccess, writeFatal } from './chunk-
|
|
4
|
+
import { getConfig, handleProcess, writeInfo, writeError, exitWithError, writeSuccess, exitWithSuccess, writeFatal } from './chunk-UKNYCUVS.js';
|
|
5
5
|
import fs from 'node:fs';
|
|
6
6
|
import { readFile } from 'node:fs/promises';
|
|
7
7
|
import path from 'node:path';
|
package/bin/prepare.cjs
CHANGED
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkFH5OSXAJ_cjs = require('./chunk-FH5OSXAJ.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkNUGDUPXJ_cjs = require('./chunk-NUGDUPXJ.cjs');
|
|
6
6
|
|
|
7
7
|
// bin/prepare.ts
|
|
8
8
|
void (async () => {
|
|
9
|
-
const config = await
|
|
9
|
+
const config = await chunkNUGDUPXJ_cjs.getConfig();
|
|
10
10
|
try {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
chunkNUGDUPXJ_cjs.handleProcess(config);
|
|
12
|
+
chunkNUGDUPXJ_cjs.writeInfo("Running prepare hook...", config);
|
|
13
13
|
if (!process.env.CI && !process.env.STORM_CI) {
|
|
14
14
|
chunkFH5OSXAJ_cjs.run(config, "lefthook install");
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
chunkNUGDUPXJ_cjs.exitWithSuccess(config);
|
|
17
17
|
} catch (error) {
|
|
18
|
-
|
|
18
|
+
chunkNUGDUPXJ_cjs.writeFatal(
|
|
19
19
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
20
20
|
config
|
|
21
21
|
);
|
|
22
|
-
|
|
22
|
+
chunkNUGDUPXJ_cjs.exitWithError(config);
|
|
23
23
|
process.exit(1);
|
|
24
24
|
}
|
|
25
25
|
})();
|
package/bin/prepare.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { run } from './chunk-G3YPGVPS.js';
|
|
3
|
-
import { getConfig, handleProcess, writeInfo, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
3
|
+
import { getConfig, handleProcess, writeInfo, exitWithSuccess, writeFatal, exitWithError } from './chunk-UKNYCUVS.js';
|
|
4
4
|
|
|
5
5
|
// bin/prepare.ts
|
|
6
6
|
void (async () => {
|
package/bin/version-warning.cjs
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkAU5PZKTN_cjs = require('./chunk-AU5PZKTN.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkNUGDUPXJ_cjs = require('./chunk-NUGDUPXJ.cjs');
|
|
6
6
|
|
|
7
7
|
// bin/version-warning.ts
|
|
8
8
|
void (async () => {
|
|
9
|
-
const config = await
|
|
9
|
+
const config = await chunkNUGDUPXJ_cjs.getConfig();
|
|
10
10
|
try {
|
|
11
|
-
|
|
11
|
+
chunkNUGDUPXJ_cjs.handleProcess(config);
|
|
12
12
|
chunkAU5PZKTN_cjs.checkPackageVersion(process.argv.slice(1));
|
|
13
13
|
} catch (error) {
|
|
14
|
-
|
|
14
|
+
chunkNUGDUPXJ_cjs.writeFatal(
|
|
15
15
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
16
16
|
config
|
|
17
17
|
);
|
|
18
|
-
|
|
18
|
+
chunkNUGDUPXJ_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-Q3DQKTOI.js';
|
|
3
|
-
import { getConfig, handleProcess, writeFatal, exitWithError } from './chunk-
|
|
3
|
+
import { getConfig, handleProcess, writeFatal, exitWithError } from './chunk-UKNYCUVS.js';
|
|
4
4
|
|
|
5
5
|
// bin/version-warning.ts
|
|
6
6
|
void (async () => {
|
|
@@ -218,6 +218,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
218
218
|
brand: "#2dd4bf",
|
|
219
219
|
success: "#10b981",
|
|
220
220
|
info: "#58a6ff",
|
|
221
|
+
debug: "#8afafc",
|
|
221
222
|
warning: "#f3d371",
|
|
222
223
|
danger: "#D8314A",
|
|
223
224
|
fatal: "#a40e26"}
|
|
@@ -390,7 +391,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
390
391
|
return (message) => {
|
|
391
392
|
console.debug(
|
|
392
393
|
`
|
|
393
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.
|
|
394
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
394
395
|
`
|
|
395
396
|
);
|
|
396
397
|
};
|
|
@@ -399,7 +400,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
399
400
|
return (message) => {
|
|
400
401
|
console.debug(
|
|
401
402
|
`
|
|
402
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.
|
|
403
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
403
404
|
`
|
|
404
405
|
);
|
|
405
406
|
};
|
|
@@ -581,6 +582,10 @@ var infoColorSchema = z__namespace._default(colorSchema, "#38bdf8");
|
|
|
581
582
|
schemaRegistry.add(infoColorSchema, {
|
|
582
583
|
description: "The informational color of the workspace"
|
|
583
584
|
});
|
|
585
|
+
var debugColorSchema = z__namespace._default(colorSchema, "#8afafc");
|
|
586
|
+
schemaRegistry.add(debugColorSchema, {
|
|
587
|
+
description: "The debug color of the workspace"
|
|
588
|
+
});
|
|
584
589
|
var warningColorSchema = z__namespace._default(colorSchema, "#f3d371");
|
|
585
590
|
schemaRegistry.add(warningColorSchema, {
|
|
586
591
|
description: "The warning color of the workspace"
|
|
@@ -615,6 +620,7 @@ var darkColorsSchema = z__namespace.object({
|
|
|
615
620
|
help: helpColorSchema,
|
|
616
621
|
success: successColorSchema,
|
|
617
622
|
info: infoColorSchema,
|
|
623
|
+
debug: debugColorSchema,
|
|
618
624
|
warning: warningColorSchema,
|
|
619
625
|
danger: dangerColorSchema,
|
|
620
626
|
fatal: fatalColorSchema,
|
|
@@ -632,6 +638,7 @@ var lightColorsSchema = z__namespace.object({
|
|
|
632
638
|
help: helpColorSchema,
|
|
633
639
|
success: successColorSchema,
|
|
634
640
|
info: infoColorSchema,
|
|
641
|
+
debug: debugColorSchema,
|
|
635
642
|
warning: warningColorSchema,
|
|
636
643
|
danger: dangerColorSchema,
|
|
637
644
|
fatal: fatalColorSchema,
|
|
@@ -653,6 +660,7 @@ var singleColorsSchema = z__namespace.object({
|
|
|
653
660
|
help: helpColorSchema,
|
|
654
661
|
success: successColorSchema,
|
|
655
662
|
info: infoColorSchema,
|
|
663
|
+
debug: debugColorSchema,
|
|
656
664
|
warning: warningColorSchema,
|
|
657
665
|
danger: dangerColorSchema,
|
|
658
666
|
fatal: fatalColorSchema,
|
|
@@ -1415,6 +1423,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
1415
1423
|
help: process.env[`${prefix}HELP`],
|
|
1416
1424
|
success: process.env[`${prefix}SUCCESS`],
|
|
1417
1425
|
info: process.env[`${prefix}INFO`],
|
|
1426
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
1418
1427
|
warning: process.env[`${prefix}WARNING`],
|
|
1419
1428
|
danger: process.env[`${prefix}DANGER`],
|
|
1420
1429
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -1453,6 +1462,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1453
1462
|
help: process.env[`${prefix}HELP`],
|
|
1454
1463
|
success: process.env[`${prefix}SUCCESS`],
|
|
1455
1464
|
info: process.env[`${prefix}INFO`],
|
|
1465
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
1456
1466
|
warning: process.env[`${prefix}WARNING`],
|
|
1457
1467
|
danger: process.env[`${prefix}DANGER`],
|
|
1458
1468
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -1754,6 +1764,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
|
|
|
1754
1764
|
if (config.info) {
|
|
1755
1765
|
process.env[`${prefix}INFO`] = config.info;
|
|
1756
1766
|
}
|
|
1767
|
+
if (config.debug) {
|
|
1768
|
+
process.env[`${prefix}DEBUG`] = config.debug;
|
|
1769
|
+
}
|
|
1757
1770
|
if (config.warning) {
|
|
1758
1771
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
1759
1772
|
}
|
|
@@ -1809,6 +1822,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
|
|
|
1809
1822
|
if (config.info) {
|
|
1810
1823
|
process.env[`${prefix}INFO`] = config.info;
|
|
1811
1824
|
}
|
|
1825
|
+
if (config.debug) {
|
|
1826
|
+
process.env[`${prefix}DEBUG`] = config.debug;
|
|
1827
|
+
}
|
|
1812
1828
|
if (config.warning) {
|
|
1813
1829
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
1814
1830
|
}
|
|
@@ -190,6 +190,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
190
190
|
brand: "#2dd4bf",
|
|
191
191
|
success: "#10b981",
|
|
192
192
|
info: "#58a6ff",
|
|
193
|
+
debug: "#8afafc",
|
|
193
194
|
warning: "#f3d371",
|
|
194
195
|
danger: "#D8314A",
|
|
195
196
|
fatal: "#a40e26"}
|
|
@@ -362,7 +363,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
362
363
|
return (message) => {
|
|
363
364
|
console.debug(
|
|
364
365
|
`
|
|
365
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.
|
|
366
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
366
367
|
`
|
|
367
368
|
);
|
|
368
369
|
};
|
|
@@ -371,7 +372,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
371
372
|
return (message) => {
|
|
372
373
|
console.debug(
|
|
373
374
|
`
|
|
374
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.
|
|
375
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
375
376
|
`
|
|
376
377
|
);
|
|
377
378
|
};
|
|
@@ -553,6 +554,10 @@ var infoColorSchema = z._default(colorSchema, "#38bdf8");
|
|
|
553
554
|
schemaRegistry.add(infoColorSchema, {
|
|
554
555
|
description: "The informational color of the workspace"
|
|
555
556
|
});
|
|
557
|
+
var debugColorSchema = z._default(colorSchema, "#8afafc");
|
|
558
|
+
schemaRegistry.add(debugColorSchema, {
|
|
559
|
+
description: "The debug color of the workspace"
|
|
560
|
+
});
|
|
556
561
|
var warningColorSchema = z._default(colorSchema, "#f3d371");
|
|
557
562
|
schemaRegistry.add(warningColorSchema, {
|
|
558
563
|
description: "The warning color of the workspace"
|
|
@@ -587,6 +592,7 @@ var darkColorsSchema = z.object({
|
|
|
587
592
|
help: helpColorSchema,
|
|
588
593
|
success: successColorSchema,
|
|
589
594
|
info: infoColorSchema,
|
|
595
|
+
debug: debugColorSchema,
|
|
590
596
|
warning: warningColorSchema,
|
|
591
597
|
danger: dangerColorSchema,
|
|
592
598
|
fatal: fatalColorSchema,
|
|
@@ -604,6 +610,7 @@ var lightColorsSchema = z.object({
|
|
|
604
610
|
help: helpColorSchema,
|
|
605
611
|
success: successColorSchema,
|
|
606
612
|
info: infoColorSchema,
|
|
613
|
+
debug: debugColorSchema,
|
|
607
614
|
warning: warningColorSchema,
|
|
608
615
|
danger: dangerColorSchema,
|
|
609
616
|
fatal: fatalColorSchema,
|
|
@@ -625,6 +632,7 @@ var singleColorsSchema = z.object({
|
|
|
625
632
|
help: helpColorSchema,
|
|
626
633
|
success: successColorSchema,
|
|
627
634
|
info: infoColorSchema,
|
|
635
|
+
debug: debugColorSchema,
|
|
628
636
|
warning: warningColorSchema,
|
|
629
637
|
danger: dangerColorSchema,
|
|
630
638
|
fatal: fatalColorSchema,
|
|
@@ -1387,6 +1395,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
1387
1395
|
help: process.env[`${prefix}HELP`],
|
|
1388
1396
|
success: process.env[`${prefix}SUCCESS`],
|
|
1389
1397
|
info: process.env[`${prefix}INFO`],
|
|
1398
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
1390
1399
|
warning: process.env[`${prefix}WARNING`],
|
|
1391
1400
|
danger: process.env[`${prefix}DANGER`],
|
|
1392
1401
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -1425,6 +1434,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1425
1434
|
help: process.env[`${prefix}HELP`],
|
|
1426
1435
|
success: process.env[`${prefix}SUCCESS`],
|
|
1427
1436
|
info: process.env[`${prefix}INFO`],
|
|
1437
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
1428
1438
|
warning: process.env[`${prefix}WARNING`],
|
|
1429
1439
|
danger: process.env[`${prefix}DANGER`],
|
|
1430
1440
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -1726,6 +1736,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
|
|
|
1726
1736
|
if (config.info) {
|
|
1727
1737
|
process.env[`${prefix}INFO`] = config.info;
|
|
1728
1738
|
}
|
|
1739
|
+
if (config.debug) {
|
|
1740
|
+
process.env[`${prefix}DEBUG`] = config.debug;
|
|
1741
|
+
}
|
|
1729
1742
|
if (config.warning) {
|
|
1730
1743
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
1731
1744
|
}
|
|
@@ -1781,6 +1794,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
|
|
|
1781
1794
|
if (config.info) {
|
|
1782
1795
|
process.env[`${prefix}INFO`] = config.info;
|
|
1783
1796
|
}
|
|
1797
|
+
if (config.debug) {
|
|
1798
|
+
process.env[`${prefix}DEBUG`] = config.debug;
|
|
1799
|
+
}
|
|
1784
1800
|
if (config.warning) {
|
|
1785
1801
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
1786
1802
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkD2BA7VDM_cjs = require('./chunk-D2BA7VDM.cjs');
|
|
4
4
|
var chunkNY53WLGC_cjs = require('./chunk-NY53WLGC.cjs');
|
|
5
5
|
require('./chunk-F7OO6L26.cjs');
|
|
6
6
|
var chunkYBAE6I5L_cjs = require('./chunk-YBAE6I5L.cjs');
|
|
@@ -10,31 +10,31 @@ require('./chunk-4VPJA7YJ.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "DEFAULT_CONVENTIONAL_COMMITS_CONFIG", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkD2BA7VDM_cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "DEFAULT_JS_RELEASE_GROUP_CONFIG", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkD2BA7VDM_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "DEFAULT_RELEASE_CONFIG", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkD2BA7VDM_cjs.DEFAULT_RELEASE_CONFIG; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_CONFIG", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkD2BA7VDM_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "DEFAULT_RELEASE_TAG_PATTERN", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkD2BA7VDM_cjs.DEFAULT_RELEASE_TAG_PATTERN; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "DEFAULT_RUST_RELEASE_GROUP_CONFIG", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkD2BA7VDM_cjs.DEFAULT_RUST_RELEASE_GROUP_CONFIG; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getReleaseGroupConfig", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkD2BA7VDM_cjs.getReleaseGroupConfig; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "DEFAULT_MONOREPO_COMMIT_QUESTIONS", {
|
|
40
40
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_TAG_PATTERN, DEFAULT_RUST_RELEASE_GROUP_CONFIG, getReleaseGroupConfig } from './chunk-
|
|
1
|
+
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_TAG_PATTERN, DEFAULT_RUST_RELEASE_GROUP_CONFIG, getReleaseGroupConfig } from './chunk-IZFUY6XB.js';
|
|
2
2
|
export { DEFAULT_MONOREPO_COMMIT_QUESTIONS } from './chunk-JCEVFJCA.js';
|
|
3
3
|
import './chunk-KZRVQ5RZ.js';
|
|
4
4
|
export { DEFAULT_COMMIT_PROMPT_MESSAGES } from './chunk-5XU2KBM6.js';
|
package/dist/release/config.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkD2BA7VDM_cjs = require('../chunk-D2BA7VDM.cjs');
|
|
4
4
|
require('../chunk-NY53WLGC.cjs');
|
|
5
5
|
require('../chunk-F7OO6L26.cjs');
|
|
6
6
|
require('../chunk-YBAE6I5L.cjs');
|
|
@@ -10,29 +10,29 @@ require('../chunk-4VPJA7YJ.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "DEFAULT_CONVENTIONAL_COMMITS_CONFIG", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkD2BA7VDM_cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "DEFAULT_JS_RELEASE_GROUP_CONFIG", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkD2BA7VDM_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "DEFAULT_RELEASE_CONFIG", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkD2BA7VDM_cjs.DEFAULT_RELEASE_CONFIG; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_CONFIG", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkD2BA7VDM_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "DEFAULT_RELEASE_TAG_PATTERN", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkD2BA7VDM_cjs.DEFAULT_RELEASE_TAG_PATTERN; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "DEFAULT_RUST_RELEASE_GROUP_CONFIG", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkD2BA7VDM_cjs.DEFAULT_RUST_RELEASE_GROUP_CONFIG; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getReleaseGroupConfig", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkD2BA7VDM_cjs.getReleaseGroupConfig; }
|
|
38
38
|
});
|
package/dist/release/config.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_TAG_PATTERN, DEFAULT_RUST_RELEASE_GROUP_CONFIG, getReleaseGroupConfig } from '../chunk-
|
|
1
|
+
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_TAG_PATTERN, DEFAULT_RUST_RELEASE_GROUP_CONFIG, getReleaseGroupConfig } from '../chunk-IZFUY6XB.js';
|
|
2
2
|
import '../chunk-JCEVFJCA.js';
|
|
3
3
|
import '../chunk-KZRVQ5RZ.js';
|
|
4
4
|
import '../chunk-5XU2KBM6.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/git-tools",
|
|
3
|
-
"version": "2.124.
|
|
3
|
+
"version": "2.124.59",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Tools for managing Git repositories within a Nx workspace.",
|
|
6
6
|
"repository": {
|
|
@@ -179,8 +179,8 @@
|
|
|
179
179
|
"@inquirer/prompts": "7.2.1",
|
|
180
180
|
"@nx/devkit": "^22.3.3",
|
|
181
181
|
"@nx/js": "^22.3.3",
|
|
182
|
-
"@storm-software/config": "^1.
|
|
183
|
-
"@storm-software/config-tools": "^1.188.
|
|
182
|
+
"@storm-software/config": "^1.135.0",
|
|
183
|
+
"@storm-software/config-tools": "^1.188.76",
|
|
184
184
|
"@textlint/ast-node-types": "14.4.2",
|
|
185
185
|
"@textlint/markdown-to-ast": "14.4.2",
|
|
186
186
|
"anchor-markdown-header": "0.7.0",
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
"chalk": "^4.1.2",
|
|
190
190
|
"chalk-template": "1.1.0",
|
|
191
191
|
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
192
|
-
"conventional-changelog-storm-software": "^0.3.
|
|
192
|
+
"conventional-changelog-storm-software": "^0.3.76",
|
|
193
193
|
"htmlparser2": "10.0.0",
|
|
194
194
|
"jsonc-parser": "3.2.1",
|
|
195
195
|
"nx": "^22.3.3",
|
|
@@ -211,5 +211,5 @@
|
|
|
211
211
|
"tsup": "8.4.0"
|
|
212
212
|
},
|
|
213
213
|
"publishConfig": { "access": "public" },
|
|
214
|
-
"gitHead": "
|
|
214
|
+
"gitHead": "e19d4a36814afd4e68d56d8c7e620ec273b71a03"
|
|
215
215
|
}
|