@storm-software/git-tools 2.131.22 → 2.131.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/{chunk-K3M4EFXG.js → chunk-2JR3HPAL.js} +3 -3
- package/bin/{chunk-K3M4EFXG.js.map → chunk-2JR3HPAL.js.map} +1 -1
- package/bin/{chunk-2K6K4B6C.js → chunk-5OEE2E65.js} +3 -3
- package/bin/{chunk-2K6K4B6C.js.map → chunk-5OEE2E65.js.map} +1 -1
- package/bin/{chunk-7FLNOTUH.cjs → chunk-77NN2DPB.cjs} +4 -4
- package/bin/{chunk-7FLNOTUH.cjs.map → chunk-77NN2DPB.cjs.map} +1 -1
- package/bin/{chunk-2DHSN2C3.cjs → chunk-7I4XZL7P.cjs} +6 -6
- package/bin/{chunk-2DHSN2C3.cjs.map → chunk-7I4XZL7P.cjs.map} +1 -1
- package/bin/{chunk-OOFHIS6Q.cjs → chunk-AU2HBQCB.cjs} +8 -4
- package/bin/{chunk-OOFHIS6Q.cjs.map → chunk-AU2HBQCB.cjs.map} +1 -1
- package/bin/{chunk-NPCKWTZG.js → chunk-CBJFXXVE.js} +3 -3
- package/bin/{chunk-NPCKWTZG.js.map → chunk-CBJFXXVE.js.map} +1 -1
- package/bin/{chunk-PXSKDL54.cjs → chunk-FNM5AXPR.cjs} +4 -4
- package/bin/{chunk-PXSKDL54.cjs.map → chunk-FNM5AXPR.cjs.map} +1 -1
- package/bin/{chunk-JZL474YC.js → chunk-J76RVP3G.js} +3 -3
- package/bin/{chunk-JZL474YC.js.map → chunk-J76RVP3G.js.map} +1 -1
- package/bin/{chunk-S2KYF4B5.js → chunk-KBH5ZZ4V.js} +3 -3
- package/bin/{chunk-S2KYF4B5.js.map → chunk-KBH5ZZ4V.js.map} +1 -1
- package/bin/{chunk-RNHFC7RJ.js → chunk-KDRZY2YU.js} +8 -4
- package/bin/{chunk-RNHFC7RJ.js.map → chunk-KDRZY2YU.js.map} +1 -1
- package/bin/{chunk-GVYZ5VMU.cjs → chunk-KHPLFH3X.cjs} +4 -4
- package/bin/{chunk-GVYZ5VMU.cjs.map → chunk-KHPLFH3X.cjs.map} +1 -1
- package/bin/{chunk-CZGE4575.cjs → chunk-NKCKZ3E3.cjs} +4 -4
- package/bin/{chunk-CZGE4575.cjs.map → chunk-NKCKZ3E3.cjs.map} +1 -1
- package/bin/{chunk-NFY3U5Y5.js → chunk-S2N3WA4O.js} +3 -3
- package/bin/{chunk-NFY3U5Y5.js.map → chunk-S2N3WA4O.js.map} +1 -1
- package/bin/{chunk-WVG2JDAL.js → chunk-YDVAE433.js} +3 -3
- package/bin/{chunk-WVG2JDAL.js.map → chunk-YDVAE433.js.map} +1 -1
- package/bin/{chunk-TCH5N4G6.cjs → chunk-Z5SKX5XN.cjs} +4 -4
- package/bin/{chunk-TCH5N4G6.cjs.map → chunk-Z5SKX5XN.cjs.map} +1 -1
- package/bin/{chunk-KQFEBKJ6.cjs → chunk-ZRZDX2ZA.cjs} +5 -5
- package/bin/{chunk-KQFEBKJ6.cjs.map → chunk-ZRZDX2ZA.cjs.map} +1 -1
- package/bin/git.cjs +152 -163
- package/bin/git.cjs.map +1 -1
- package/bin/git.js +15 -26
- package/bin/git.js.map +1 -1
- package/bin/post-checkout.cjs +7 -7
- package/bin/post-checkout.js +2 -2
- package/bin/post-commit.cjs +7 -7
- package/bin/post-commit.js +2 -2
- package/bin/post-merge.cjs +7 -7
- package/bin/post-merge.js +2 -2
- package/bin/pre-commit.cjs +7 -7
- package/bin/pre-commit.js +2 -2
- package/bin/pre-install.cjs +7 -7
- package/bin/pre-install.js +2 -2
- package/bin/pre-push.cjs +7 -7
- package/bin/pre-push.js +2 -2
- package/bin/prepare.cjs +7 -7
- package/bin/prepare.js +2 -2
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/dist/{chunk-3ISKKN7V.cjs → chunk-2KO5IEIY.cjs} +2 -2
- package/dist/{chunk-3NDL3NYQ.cjs → chunk-46DT23BR.cjs} +6 -2
- package/dist/{chunk-22KHZEQ7.js → chunk-4KMJAFZI.js} +1 -1
- package/dist/{chunk-MWHYSQOS.cjs → chunk-6HBRIYPP.cjs} +3 -3
- package/dist/{chunk-HLX2O3W5.js → chunk-BNXSIXM2.js} +5 -16
- package/dist/{chunk-PV25OROZ.js → chunk-BPDSCBOI.js} +6 -2
- package/dist/{chunk-4SXK4XZ7.js → chunk-C53K5W6J.js} +1 -1
- package/dist/{chunk-Q22WRFSZ.cjs → chunk-CUC73XZD.cjs} +15 -26
- package/dist/{chunk-PUNY63CE.cjs → chunk-D2TE2WQZ.cjs} +2 -2
- package/dist/{chunk-ICTL4AOJ.js → chunk-FBGULNA7.js} +1 -1
- package/dist/{chunk-BBFGZEK2.cjs → chunk-GNPQRGZ2.cjs} +4 -4
- package/dist/{chunk-JOWTWLTO.js → chunk-HRYBIFJL.js} +1 -1
- package/dist/{chunk-K6YQY3XT.cjs → chunk-IDG5O4UL.cjs} +2 -2
- package/dist/{chunk-GQZU3KQU.cjs → chunk-KVTWY6IN.cjs} +2 -2
- package/dist/{chunk-GPIIJKQ7.js → chunk-NABJ2MII.js} +1 -1
- package/dist/{chunk-TUICLGR7.js → chunk-UVEWNW75.js} +1 -1
- package/dist/{chunk-VVDS3FJO.js → chunk-WVCBWTDU.js} +1 -1
- package/dist/{chunk-OWXRRH4A.cjs → chunk-YOBEA3QU.cjs} +2 -2
- package/dist/index.cjs +33 -33
- package/dist/index.js +9 -9
- package/dist/release/config.cjs +19 -19
- package/dist/release/config.js +2 -2
- package/package.json +6 -6
package/bin/git.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
9
|
-
var
|
|
4
|
+
var chunkNKCKZ3E3_cjs = require('./chunk-NKCKZ3E3.cjs');
|
|
5
|
+
var chunkKHPLFH3X_cjs = require('./chunk-KHPLFH3X.cjs');
|
|
6
|
+
var chunkFNM5AXPR_cjs = require('./chunk-FNM5AXPR.cjs');
|
|
7
|
+
var chunkZ5SKX5XN_cjs = require('./chunk-Z5SKX5XN.cjs');
|
|
8
|
+
require('./chunk-ZRZDX2ZA.cjs');
|
|
9
|
+
var chunk7I4XZL7P_cjs = require('./chunk-7I4XZL7P.cjs');
|
|
10
10
|
require('./chunk-YHZNDNCW.cjs');
|
|
11
|
-
var
|
|
11
|
+
var chunk77NN2DPB_cjs = require('./chunk-77NN2DPB.cjs');
|
|
12
12
|
var chunkMTAYUS7E_cjs = require('./chunk-MTAYUS7E.cjs');
|
|
13
|
-
var
|
|
13
|
+
var chunkAU2HBQCB_cjs = require('./chunk-AU2HBQCB.cjs');
|
|
14
14
|
var TOML = require('@ltd/j-toml');
|
|
15
15
|
var commander = require('commander');
|
|
16
16
|
require('@inquirer/checkbox');
|
|
@@ -431,9 +431,9 @@ function getRuleFromScopeEnum(scopeEnum) {
|
|
|
431
431
|
|
|
432
432
|
// ../conventional-changelog/src/index.ts
|
|
433
433
|
async function createPreset(variant = "monorepo") {
|
|
434
|
-
const workspaceConfig = await
|
|
434
|
+
const workspaceConfig = await chunkAU2HBQCB_cjs.getWorkspaceConfig();
|
|
435
435
|
if (variant === "minimal") {
|
|
436
|
-
return
|
|
436
|
+
return chunkAU2HBQCB_cjs.defu(
|
|
437
437
|
await createBasePreset__default.default({ ...COMMIT_CONFIGS.minimal.changelogs.props }),
|
|
438
438
|
{
|
|
439
439
|
...COMMIT_CONFIGS.minimal,
|
|
@@ -447,7 +447,7 @@ async function createPreset(variant = "monorepo") {
|
|
|
447
447
|
);
|
|
448
448
|
}
|
|
449
449
|
const nxScopes = await getNxScopes({ config: workspaceConfig });
|
|
450
|
-
return
|
|
450
|
+
return chunkAU2HBQCB_cjs.defu(
|
|
451
451
|
await createBasePreset__default.default({
|
|
452
452
|
...COMMIT_CONFIGS.monorepo.changelogs.props,
|
|
453
453
|
scope: nxScopes
|
|
@@ -1011,7 +1011,7 @@ async function lint(message, config5) {
|
|
|
1011
1011
|
// src/commitlint/run.ts
|
|
1012
1012
|
var COMMIT_EDITMSG_PATH = ".git/COMMIT_EDITMSG";
|
|
1013
1013
|
async function runCommitLint(workspaceConfig, options) {
|
|
1014
|
-
|
|
1014
|
+
chunkAU2HBQCB_cjs.writeInfo(
|
|
1015
1015
|
"\u{1F4DD} Validating git commit message aligns with the Storm Software specification",
|
|
1016
1016
|
workspaceConfig
|
|
1017
1017
|
);
|
|
@@ -1019,7 +1019,7 @@ async function runCommitLint(workspaceConfig, options) {
|
|
|
1019
1019
|
if (options.message && options.message !== COMMIT_EDITMSG_PATH) {
|
|
1020
1020
|
commitMessage = options.message;
|
|
1021
1021
|
} else {
|
|
1022
|
-
const commitFile =
|
|
1022
|
+
const commitFile = chunkAU2HBQCB_cjs.joinPaths(
|
|
1023
1023
|
workspaceConfig.workspaceRoot,
|
|
1024
1024
|
options.file || options.message || COMMIT_EDITMSG_PATH
|
|
1025
1025
|
);
|
|
@@ -1036,17 +1036,17 @@ async function runCommitLint(workspaceConfig, options) {
|
|
|
1036
1036
|
if (upstreamRemote) {
|
|
1037
1037
|
const upstreamRemoteIdentifier = upstreamRemote.split(" ")[0]?.trim();
|
|
1038
1038
|
if (!upstreamRemoteIdentifier) {
|
|
1039
|
-
|
|
1039
|
+
chunkAU2HBQCB_cjs.writeWarning(
|
|
1040
1040
|
`No upstream remote found for ${workspaceConfig.name}.git. Skipping comparison.`,
|
|
1041
1041
|
workspaceConfig
|
|
1042
1042
|
);
|
|
1043
1043
|
return;
|
|
1044
1044
|
}
|
|
1045
|
-
|
|
1045
|
+
chunkAU2HBQCB_cjs.writeDebug(`Comparing against remote ${upstreamRemoteIdentifier}`);
|
|
1046
1046
|
const currentBranch = childProcess__default.default.execSync("git branch --show-current").toString().trim();
|
|
1047
1047
|
gitLogCmd = gitLogCmd + ` ${currentBranch} ^${upstreamRemoteIdentifier}/main`;
|
|
1048
1048
|
} else {
|
|
1049
|
-
|
|
1049
|
+
chunkAU2HBQCB_cjs.writeWarning(
|
|
1050
1050
|
`No upstream remote found for ${workspaceConfig.name}.git. Skipping comparison against upstream main.`,
|
|
1051
1051
|
workspaceConfig
|
|
1052
1052
|
);
|
|
@@ -1054,7 +1054,7 @@ async function runCommitLint(workspaceConfig, options) {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
commitMessage = childProcess__default.default.execSync(gitLogCmd).toString().trim();
|
|
1056
1056
|
if (!commitMessage) {
|
|
1057
|
-
|
|
1057
|
+
chunkAU2HBQCB_cjs.writeWarning(
|
|
1058
1058
|
"No commits found. Skipping commit message validation.",
|
|
1059
1059
|
workspaceConfig
|
|
1060
1060
|
);
|
|
@@ -1064,7 +1064,7 @@ async function runCommitLint(workspaceConfig, options) {
|
|
|
1064
1064
|
const preset = await createPreset(workspaceConfig.variant);
|
|
1065
1065
|
const report = await lint(commitMessage, preset);
|
|
1066
1066
|
if (!preset.commitlint.regex.test(commitMessage) || report.errors.length || report.warnings.length) {
|
|
1067
|
-
|
|
1067
|
+
chunkAU2HBQCB_cjs.writeSuccess(
|
|
1068
1068
|
`Commit was processing completed successfully!`,
|
|
1069
1069
|
workspaceConfig
|
|
1070
1070
|
);
|
|
@@ -1276,7 +1276,7 @@ async function createState(workspaceConfig, configPath) {
|
|
|
1276
1276
|
const project = projectConfigurations.projects[scope];
|
|
1277
1277
|
if (project) {
|
|
1278
1278
|
let description = `${project.name} - ${project.root}`;
|
|
1279
|
-
const packageJsonPath =
|
|
1279
|
+
const packageJsonPath = chunkAU2HBQCB_cjs.joinPaths(project.root, "package.json");
|
|
1280
1280
|
if (fs$1.existsSync(packageJsonPath)) {
|
|
1281
1281
|
const packageJsonFile = await fs.readFile(packageJsonPath, "utf8");
|
|
1282
1282
|
const packageJson = JSON.parse(packageJsonFile);
|
|
@@ -1350,20 +1350,20 @@ ${closedIssueEmoji}${config5.settings.closedIssueMessage}${issues}`;
|
|
|
1350
1350
|
|
|
1351
1351
|
// src/commit/run.ts
|
|
1352
1352
|
async function runCommit(commitizenFile, dryRun = false) {
|
|
1353
|
-
const workspaceConfig = await
|
|
1353
|
+
const workspaceConfig = await chunkAU2HBQCB_cjs.getWorkspaceConfig();
|
|
1354
1354
|
const state = await createState(workspaceConfig);
|
|
1355
1355
|
if (dryRun) {
|
|
1356
|
-
|
|
1356
|
+
chunkAU2HBQCB_cjs.writeInfo("Running in dry mode.", workspaceConfig);
|
|
1357
1357
|
}
|
|
1358
1358
|
console.log(chalkTemplate__default.default`
|
|
1359
1359
|
{bold.#999999 ----------------------------------------}
|
|
1360
1360
|
|
|
1361
|
-
{bold.#FFFFFF ${
|
|
1361
|
+
{bold.#FFFFFF ${chunkAU2HBQCB_cjs.brandIcon(workspaceConfig)} Storm Software Git-Tools - Commit}
|
|
1362
1362
|
{#CCCCCC Please provide the requested details below...}
|
|
1363
1363
|
`);
|
|
1364
1364
|
state.answers = await askQuestions(state);
|
|
1365
1365
|
const message = formatCommitMessage(state, workspaceConfig);
|
|
1366
|
-
const commitMsgFile =
|
|
1366
|
+
const commitMsgFile = chunkAU2HBQCB_cjs.joinPaths(getGitDir(), "COMMIT_EDITMSG");
|
|
1367
1367
|
console.log(chalkTemplate__default.default`
|
|
1368
1368
|
{bold.#999999 ----------------------------------------}
|
|
1369
1369
|
|
|
@@ -1376,11 +1376,11 @@ async function runCommit(commitizenFile, dryRun = false) {
|
|
|
1376
1376
|
commandItems.push(...["--file", commitMsgFile]);
|
|
1377
1377
|
const command = shellescape__default.default(commandItems);
|
|
1378
1378
|
if (dryRun) {
|
|
1379
|
-
|
|
1379
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
1380
1380
|
`Skipping execution [dry-run]: ${command.replace(commitMsgFile, ".git/COMMIT_EDITMSG")}`,
|
|
1381
1381
|
workspaceConfig
|
|
1382
1382
|
);
|
|
1383
|
-
|
|
1383
|
+
chunkAU2HBQCB_cjs.writeDebug(`Message [dry-run]: ${message}`, workspaceConfig);
|
|
1384
1384
|
} else {
|
|
1385
1385
|
await fs__default.default.writeFile(commitMsgFile, message);
|
|
1386
1386
|
chunkMTAYUS7E_cjs.run(workspaceConfig, command);
|
|
@@ -2039,7 +2039,7 @@ var runReadme = async ({
|
|
|
2039
2039
|
exitOnError: true
|
|
2040
2040
|
});
|
|
2041
2041
|
const projectConfigs = projectGraph_js.readProjectsConfigurationFromProjectGraph(projectGraph);
|
|
2042
|
-
const workspaceRoot =
|
|
2042
|
+
const workspaceRoot = chunkAU2HBQCB_cjs.findWorkspaceRootSafe(process.cwd());
|
|
2043
2043
|
if (!workspaceRoot) {
|
|
2044
2044
|
throw new Error(
|
|
2045
2045
|
"Unable to find the workspace root. Please ensure you are running this command from within a workspace."
|
|
@@ -2456,7 +2456,7 @@ async function generateChangelogContent(releaseVersion, filepath, newContent, cu
|
|
|
2456
2456
|
const header = await prettier.format(
|
|
2457
2457
|
` : void 0 : workspaceConfig?.release.banner.alt) || "Branded release banner image"}](${bannerUrl || chunkAU2HBQCB_cjs.STORM_DEFAULT_RELEASE_BANNER})
|
|
2460
2460
|
|
|
2461
2461
|
# Changelog ${project || workspaceConfig?.name ? "for" : ""}${workspaceConfig?.name ? ` ${titleCase(workspaceConfig.name)}` : ""}${project ? `${workspaceConfig?.name ? " -" : ""} ${titleCase(project)}` : ""}
|
|
2462
2462
|
|
|
@@ -2632,12 +2632,12 @@ async function generateChangelogForProjects({
|
|
|
2632
2632
|
projectChangelogs
|
|
2633
2633
|
)) {
|
|
2634
2634
|
if (!projectGraph.nodes[projectName]?.data.root) {
|
|
2635
|
-
|
|
2635
|
+
chunkAU2HBQCB_cjs.writeWarning(
|
|
2636
2636
|
`A changelog was generated for ${projectName}, but it could not be found in the project graph. Skipping writing changelog file.`,
|
|
2637
2637
|
workspaceConfig
|
|
2638
2638
|
);
|
|
2639
2639
|
} else if (projectChangelog.contents) {
|
|
2640
|
-
const filePath =
|
|
2640
|
+
const filePath = chunkAU2HBQCB_cjs.joinPaths(
|
|
2641
2641
|
projectGraph.nodes[projectName].data.root,
|
|
2642
2642
|
"CHANGELOG.md"
|
|
2643
2643
|
);
|
|
@@ -2645,7 +2645,7 @@ async function generateChangelogForProjects({
|
|
|
2645
2645
|
if (fs$1.existsSync(filePath)) {
|
|
2646
2646
|
currentContent = await fs.readFile(filePath, "utf8");
|
|
2647
2647
|
}
|
|
2648
|
-
|
|
2648
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
2649
2649
|
`\u270D\uFE0F Writing changelog for project ${projectName} to ${filePath}`,
|
|
2650
2650
|
workspaceConfig
|
|
2651
2651
|
);
|
|
@@ -2868,7 +2868,7 @@ var StormGithubRemoteReleaseClient = class extends github.GithubRemoteReleaseCli
|
|
|
2868
2868
|
}
|
|
2869
2869
|
async createOrUpdateRelease(releaseVersion, changelogContents, latestCommit, { dryRun }) {
|
|
2870
2870
|
if (!this.workspaceConfig) {
|
|
2871
|
-
this.workspaceConfig = await
|
|
2871
|
+
this.workspaceConfig = await chunkAU2HBQCB_cjs.getWorkspaceConfig();
|
|
2872
2872
|
}
|
|
2873
2873
|
const name = releaseVersion.gitTag.includes("@") ? releaseVersion.gitTag.replace(new RegExp(`^@${this.workspaceConfig.name}/`), "").replace(/@.*$/, "") : releaseVersion.gitTag;
|
|
2874
2874
|
return super.createOrUpdateRelease(
|
|
@@ -3061,7 +3061,7 @@ async function format3(path, data) {
|
|
|
3061
3061
|
if (resolvedConfig) {
|
|
3062
3062
|
code = await prettier.format(
|
|
3063
3063
|
data,
|
|
3064
|
-
|
|
3064
|
+
chunkAU2HBQCB_cjs.defu(
|
|
3065
3065
|
{
|
|
3066
3066
|
absolutePath: path,
|
|
3067
3067
|
...resolvedConfig
|
|
@@ -3117,7 +3117,7 @@ var StormChangelogRenderer = class extends DefaultChangelogRenderer__default.def
|
|
|
3117
3117
|
}
|
|
3118
3118
|
async render() {
|
|
3119
3119
|
if (!this.workspaceConfig) {
|
|
3120
|
-
this.workspaceConfig = await
|
|
3120
|
+
this.workspaceConfig = await chunkAU2HBQCB_cjs.getWorkspaceConfig();
|
|
3121
3121
|
}
|
|
3122
3122
|
return super.render();
|
|
3123
3123
|
}
|
|
@@ -3427,7 +3427,7 @@ var DEFAULT_RUST_RELEASE_GROUP_CONFIG = {
|
|
|
3427
3427
|
var DEFAULT_RELEASE_CONFIG = {
|
|
3428
3428
|
conventionalCommits: DEFAULT_CONVENTIONAL_COMMITS_CONFIG2,
|
|
3429
3429
|
groups: {
|
|
3430
|
-
packages:
|
|
3430
|
+
packages: chunkAU2HBQCB_cjs.defu(
|
|
3431
3431
|
{
|
|
3432
3432
|
projects: ["packages/*"]
|
|
3433
3433
|
},
|
|
@@ -3435,7 +3435,7 @@ var DEFAULT_RELEASE_CONFIG = {
|
|
|
3435
3435
|
DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG,
|
|
3436
3436
|
DEFAULT_RELEASE_GROUP_CONFIG
|
|
3437
3437
|
),
|
|
3438
|
-
crates:
|
|
3438
|
+
crates: chunkAU2HBQCB_cjs.defu(
|
|
3439
3439
|
{
|
|
3440
3440
|
projects: ["crates/*"]
|
|
3441
3441
|
},
|
|
@@ -3459,7 +3459,7 @@ var DEFAULT_RELEASE_CONFIG = {
|
|
|
3459
3459
|
}
|
|
3460
3460
|
};
|
|
3461
3461
|
function mergeReleaseGroupConfig(config5, defaultConfig, workspaceConfig) {
|
|
3462
|
-
return
|
|
3462
|
+
return chunkAU2HBQCB_cjs.defu(
|
|
3463
3463
|
{
|
|
3464
3464
|
...omit(defaultConfig, ["changelog", "version"]),
|
|
3465
3465
|
...config5
|
|
@@ -3490,7 +3490,7 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
|
|
|
3490
3490
|
projectGraph.nodes
|
|
3491
3491
|
);
|
|
3492
3492
|
if (!matchingProjects.length) {
|
|
3493
|
-
|
|
3493
|
+
chunkAU2HBQCB_cjs.writeWarning(
|
|
3494
3494
|
`Release group "${name}" does not have any matching projects.`
|
|
3495
3495
|
);
|
|
3496
3496
|
return void 0;
|
|
@@ -3510,13 +3510,13 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
|
|
|
3510
3510
|
ProjectTagConstants.Language.TAG_ID,
|
|
3511
3511
|
ProjectTagConstants.Language.TYPESCRIPT
|
|
3512
3512
|
) || projectGraph.nodes[project]?.data.metadata?.root && fs$1.existsSync(
|
|
3513
|
-
|
|
3513
|
+
chunkAU2HBQCB_cjs.joinPaths(
|
|
3514
3514
|
projectGraph.nodes[project]?.data.metadata?.root,
|
|
3515
3515
|
"package.json"
|
|
3516
3516
|
)
|
|
3517
3517
|
))
|
|
3518
3518
|
)) {
|
|
3519
|
-
defaultConfig =
|
|
3519
|
+
defaultConfig = chunkAU2HBQCB_cjs.defu(
|
|
3520
3520
|
group.projectsRelationship === "fixed" ? DEFAULT_FIXED_RELEASE_GROUP_CONFIG : DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG,
|
|
3521
3521
|
DEFAULT_JS_RELEASE_GROUP_CONFIG,
|
|
3522
3522
|
DEFAULT_RELEASE_GROUP_CONFIG
|
|
@@ -3527,13 +3527,13 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
|
|
|
3527
3527
|
ProjectTagConstants.Language.TAG_ID,
|
|
3528
3528
|
ProjectTagConstants.Language.RUST
|
|
3529
3529
|
) || projectGraph.nodes[project]?.data.metadata?.root && fs$1.existsSync(
|
|
3530
|
-
|
|
3530
|
+
chunkAU2HBQCB_cjs.joinPaths(
|
|
3531
3531
|
projectGraph.nodes[project]?.data.metadata?.root,
|
|
3532
3532
|
"Cargo.toml"
|
|
3533
3533
|
)
|
|
3534
3534
|
))
|
|
3535
3535
|
)) {
|
|
3536
|
-
defaultConfig =
|
|
3536
|
+
defaultConfig = chunkAU2HBQCB_cjs.defu(
|
|
3537
3537
|
group.projectsRelationship === "fixed" ? DEFAULT_FIXED_RELEASE_GROUP_CONFIG : DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG,
|
|
3538
3538
|
DEFAULT_RUST_RELEASE_GROUP_CONFIG,
|
|
3539
3539
|
DEFAULT_RELEASE_GROUP_CONFIG
|
|
@@ -3547,13 +3547,13 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
|
|
|
3547
3547
|
config5.projects = matchingProjects;
|
|
3548
3548
|
if (workspaceConfig?.workspaceRoot) {
|
|
3549
3549
|
if (config5.changelog?.renderer && typeof config5.changelog?.renderer === "string" && config5.changelog?.renderer?.toString().startsWith("./")) {
|
|
3550
|
-
config5.changelog.renderer =
|
|
3550
|
+
config5.changelog.renderer = chunkAU2HBQCB_cjs.joinPaths(
|
|
3551
3551
|
workspaceConfig.workspaceRoot,
|
|
3552
3552
|
config5.changelog.renderer
|
|
3553
3553
|
);
|
|
3554
3554
|
}
|
|
3555
3555
|
if (config5.version?.versionActions && config5.version.versionActions.startsWith("./")) {
|
|
3556
|
-
config5.version.versionActions =
|
|
3556
|
+
config5.version.versionActions = chunkAU2HBQCB_cjs.joinPaths(
|
|
3557
3557
|
workspaceConfig.workspaceRoot,
|
|
3558
3558
|
config5.version?.versionActions
|
|
3559
3559
|
);
|
|
@@ -3565,10 +3565,10 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
|
|
|
3565
3565
|
}
|
|
3566
3566
|
function getReleaseConfig(projectGraph, releaseConfig, workspaceConfig, ignoreNxJsonConfig = false) {
|
|
3567
3567
|
let nxJson$1 = {};
|
|
3568
|
-
if (!ignoreNxJsonConfig && fs$1.existsSync(
|
|
3568
|
+
if (!ignoreNxJsonConfig && fs$1.existsSync(chunkAU2HBQCB_cjs.joinPaths(workspaceConfig.workspaceRoot, "nx.json"))) {
|
|
3569
3569
|
nxJson$1 = nxJson.readNxJson();
|
|
3570
3570
|
}
|
|
3571
|
-
const baseConfig =
|
|
3571
|
+
const baseConfig = chunkAU2HBQCB_cjs.defu(
|
|
3572
3572
|
{
|
|
3573
3573
|
changelog: {
|
|
3574
3574
|
renderOptions: {
|
|
@@ -3585,7 +3585,7 @@ function getReleaseConfig(projectGraph, releaseConfig, workspaceConfig, ignoreNx
|
|
|
3585
3585
|
if (releaseConfig?.groups && Object.keys(releaseConfig.groups).length > 0) {
|
|
3586
3586
|
groups = releaseConfig.groups;
|
|
3587
3587
|
if (nxJson$1.release?.groups && Object.keys(nxJson$1.release.groups).length > 0) {
|
|
3588
|
-
groups =
|
|
3588
|
+
groups = chunkAU2HBQCB_cjs.defu(
|
|
3589
3589
|
groups,
|
|
3590
3590
|
nxJson$1.release.groups
|
|
3591
3591
|
);
|
|
@@ -3605,21 +3605,10 @@ function getReleaseConfig(projectGraph, releaseConfig, workspaceConfig, ignoreNx
|
|
|
3605
3605
|
};
|
|
3606
3606
|
}
|
|
3607
3607
|
function formatConfigLog(config5) {
|
|
3608
|
-
return
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
Object.entries(config5.groups ?? {}).map(([name, group]) => [
|
|
3613
|
-
name,
|
|
3614
|
-
{
|
|
3615
|
-
...omit(group, ["projects"]),
|
|
3616
|
-
projects: group.projects.length ? group.projects : "No projects"
|
|
3617
|
-
}
|
|
3618
|
-
])
|
|
3619
|
-
)
|
|
3620
|
-
},
|
|
3621
|
-
{ sort: true, skip: ["workspaceConfig"] }
|
|
3622
|
-
);
|
|
3608
|
+
return chunkAU2HBQCB_cjs.formatLogMessage(config5, {
|
|
3609
|
+
sort: true,
|
|
3610
|
+
skip: ["workspaceConfig", "conventionalCommits"]
|
|
3611
|
+
});
|
|
3623
3612
|
}
|
|
3624
3613
|
var validReleaseVersionPrefixes = ["auto", "", "~", "^", "="];
|
|
3625
3614
|
var ReleaseGraph = class _ReleaseGraph {
|
|
@@ -4027,7 +4016,7 @@ var ReleaseGraph = class _ReleaseGraph {
|
|
|
4027
4016
|
this.resolveRepositoryTags.bind(this),
|
|
4028
4017
|
options
|
|
4029
4018
|
);
|
|
4030
|
-
|
|
4019
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
4031
4020
|
`Group release tag pattern: ${releaseTagPattern}
|
|
4032
4021
|
Project release tag pattern: ${projectReleaseTagPattern}
|
|
4033
4022
|
Group release tag: ${groupReleaseTag?.tag}
|
|
@@ -4316,7 +4305,7 @@ var StormReleaseGroupProcessor = class _StormReleaseGroupProcessor extends relea
|
|
|
4316
4305
|
constructor(tree, workspaceConfig, projectGraph, nxReleaseConfig, releaseGraph, versionOptions) {
|
|
4317
4306
|
super(tree, projectGraph, nxReleaseConfig, releaseGraph, {
|
|
4318
4307
|
dryRun: !!versionOptions.dryRun,
|
|
4319
|
-
verbose: versionOptions.verbose ||
|
|
4308
|
+
verbose: versionOptions.verbose || chunkAU2HBQCB_cjs.isVerbose(workspaceConfig.logLevel),
|
|
4320
4309
|
firstRelease: !!versionOptions.firstRelease,
|
|
4321
4310
|
preid: versionOptions.preid ?? workspaceConfig.preid ?? "",
|
|
4322
4311
|
userGivenSpecifier: versionOptions.specifier,
|
|
@@ -4414,7 +4403,7 @@ var StormReleaseGroupProcessor = class _StormReleaseGroupProcessor extends relea
|
|
|
4414
4403
|
deletedFiles: deletedFilesForVersionActions
|
|
4415
4404
|
} = await afterAllProjectsVersioned(this.#tree.root, {
|
|
4416
4405
|
dryRun: this.versionOptions.dryRun,
|
|
4417
|
-
verbose: this.versionOptions.verbose ||
|
|
4406
|
+
verbose: this.versionOptions.verbose || chunkAU2HBQCB_cjs.isVerbose(this.workspaceConfig.logLevel),
|
|
4418
4407
|
rootVersionActionsOptions
|
|
4419
4408
|
});
|
|
4420
4409
|
for (const file of changedFilesForVersionActions) {
|
|
@@ -4447,7 +4436,7 @@ var StormReleaseGroupProcessor = class _StormReleaseGroupProcessor extends relea
|
|
|
4447
4436
|
let handleDockerVersion;
|
|
4448
4437
|
try {
|
|
4449
4438
|
const dockerVersionUtilsPath = "@nx/docker/release/version-utils";
|
|
4450
|
-
const { handleDockerVersion: _handleDockerVersion } =
|
|
4439
|
+
const { handleDockerVersion: _handleDockerVersion } = chunkAU2HBQCB_cjs.__require(dockerVersionUtilsPath);
|
|
4451
4440
|
handleDockerVersion = _handleDockerVersion;
|
|
4452
4441
|
} catch (e) {
|
|
4453
4442
|
console.error(
|
|
@@ -4535,12 +4524,12 @@ var StormReleaseGroupProcessor = class _StormReleaseGroupProcessor extends relea
|
|
|
4535
4524
|
for (const project of releaseGroup.projects) {
|
|
4536
4525
|
const currentVersion = this.#getCurrentCachedVersionForProject(project);
|
|
4537
4526
|
if (!currentVersion) {
|
|
4538
|
-
|
|
4527
|
+
chunkAU2HBQCB_cjs.writeTrace(
|
|
4539
4528
|
`No current version found for project ${project} in release group ${releaseGroup.name}, skipping version comparison.`,
|
|
4540
4529
|
this.workspaceConfig
|
|
4541
4530
|
);
|
|
4542
4531
|
} else {
|
|
4543
|
-
|
|
4532
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
4544
4533
|
`Comparing versions for fixed group ${releaseGroup.name}: Current Greatest Version: ${fixedGroup.currentVersion || "none"}, Current Project Version: ${currentVersion} (project: ${project})`,
|
|
4545
4534
|
this.workspaceConfig
|
|
4546
4535
|
);
|
|
@@ -4566,7 +4555,7 @@ var StormReleaseGroupProcessor = class _StormReleaseGroupProcessor extends relea
|
|
|
4566
4555
|
reasonData: newVersionInputReasonData
|
|
4567
4556
|
};
|
|
4568
4557
|
}
|
|
4569
|
-
|
|
4558
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
4570
4559
|
`Fixed release group ${releaseGroup.name} updated: Current Version: ${fixedGroup.currentVersion || "none"}, New Version: ${fixedGroup.newVersion?.input || "none"} (first project: ${project})`,
|
|
4571
4560
|
this.workspaceConfig
|
|
4572
4561
|
);
|
|
@@ -5019,7 +5008,7 @@ var StormReleaseGroupProcessor = class _StormReleaseGroupProcessor extends relea
|
|
|
5019
5008
|
var StormReleaseClient = class _StormReleaseClient extends release.ReleaseClient {
|
|
5020
5009
|
static async create(releaseConfig = {}, ignoreNxJsonConfig = false, workspaceConfig) {
|
|
5021
5010
|
if (!workspaceConfig) {
|
|
5022
|
-
workspaceConfig = await
|
|
5011
|
+
workspaceConfig = await chunkAU2HBQCB_cjs.getWorkspaceConfig();
|
|
5023
5012
|
}
|
|
5024
5013
|
const projectGraph = await devkit.createProjectGraphAsync({
|
|
5025
5014
|
exitOnError: true,
|
|
@@ -5030,7 +5019,7 @@ var StormReleaseClient = class _StormReleaseClient extends release.ReleaseClient
|
|
|
5030
5019
|
"Failed to load the project graph. Please run `nx reset`, then run the `storm-git commit` command again."
|
|
5031
5020
|
);
|
|
5032
5021
|
}
|
|
5033
|
-
|
|
5022
|
+
chunkAU2HBQCB_cjs.writeTrace(
|
|
5034
5023
|
`Provided release configuration:
|
|
5035
5024
|
${formatConfigLog(releaseConfig)}`,
|
|
5036
5025
|
workspaceConfig
|
|
@@ -5041,7 +5030,7 @@ ${formatConfigLog(releaseConfig)}`,
|
|
|
5041
5030
|
workspaceConfig,
|
|
5042
5031
|
ignoreNxJsonConfig
|
|
5043
5032
|
);
|
|
5044
|
-
|
|
5033
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
5045
5034
|
`Resolved release configuration:
|
|
5046
5035
|
${formatConfigLog(config5)}`,
|
|
5047
5036
|
workspaceConfig
|
|
@@ -5078,11 +5067,11 @@ ${formatConfigLog(config5)}`,
|
|
|
5078
5067
|
*/
|
|
5079
5068
|
constructor(projectGraph, releaseConfig, workspaceConfig) {
|
|
5080
5069
|
super(releaseConfig, true);
|
|
5081
|
-
|
|
5070
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
5082
5071
|
"Executing release with the following configuration",
|
|
5083
5072
|
workspaceConfig
|
|
5084
5073
|
);
|
|
5085
|
-
|
|
5074
|
+
chunkAU2HBQCB_cjs.writeDebug(releaseConfig, workspaceConfig);
|
|
5086
5075
|
this.projectGraph = projectGraph;
|
|
5087
5076
|
this.releaseConfig = releaseConfig;
|
|
5088
5077
|
this.workspaceConfig = workspaceConfig;
|
|
@@ -5110,7 +5099,7 @@ ${formatConfigLog(config5)}`,
|
|
|
5110
5099
|
groups: options.groups
|
|
5111
5100
|
},
|
|
5112
5101
|
firstRelease: !!options.firstRelease,
|
|
5113
|
-
verbose:
|
|
5102
|
+
verbose: chunkAU2HBQCB_cjs.isVerbose(this.workspaceConfig.logLevel)
|
|
5114
5103
|
},
|
|
5115
5104
|
this.workspaceConfig
|
|
5116
5105
|
);
|
|
@@ -5239,7 +5228,7 @@ ${formatConfigLog(config5)}`,
|
|
|
5239
5228
|
})),
|
|
5240
5229
|
this.releaseConfig.conventionalCommits
|
|
5241
5230
|
);
|
|
5242
|
-
|
|
5231
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
5243
5232
|
`Running changelog generation for the ${releaseGroup.name} release group`,
|
|
5244
5233
|
this.workspaceConfig
|
|
5245
5234
|
);
|
|
@@ -5313,7 +5302,7 @@ ${formatConfigLog(config5)}`,
|
|
|
5313
5302
|
})),
|
|
5314
5303
|
this.releaseConfig.conventionalCommits
|
|
5315
5304
|
);
|
|
5316
|
-
|
|
5305
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
5317
5306
|
`Running changelog generation for the ${releaseGroup.name} release group`,
|
|
5318
5307
|
this.workspaceConfig
|
|
5319
5308
|
);
|
|
@@ -5342,7 +5331,7 @@ ${formatConfigLog(config5)}`,
|
|
|
5342
5331
|
}
|
|
5343
5332
|
}
|
|
5344
5333
|
}
|
|
5345
|
-
|
|
5334
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
5346
5335
|
`Generated changelogs for ${Object.keys(allProjectChangelogs).length} projects:
|
|
5347
5336
|
${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
|
|
5348
5337
|
`,
|
|
@@ -5371,7 +5360,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
|
|
|
5371
5360
|
);
|
|
5372
5361
|
const changes = this.tree.listChanges();
|
|
5373
5362
|
if (!changes.length) {
|
|
5374
|
-
|
|
5363
|
+
chunkAU2HBQCB_cjs.writeWarning(
|
|
5375
5364
|
"No changes were detected for any changelog files, so no changelog entries will be generated.",
|
|
5376
5365
|
this.workspaceConfig
|
|
5377
5366
|
);
|
|
@@ -5393,7 +5382,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
|
|
|
5393
5382
|
gitCommitArgs: options.gitCommitArgs || this.releaseConfig.changelog?.git?.commitArgs
|
|
5394
5383
|
});
|
|
5395
5384
|
latestCommit = await git.getCommitHash("HEAD");
|
|
5396
|
-
|
|
5385
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
5397
5386
|
`Creating git tags: ${gitTagValues.join(", ")}`,
|
|
5398
5387
|
this.workspaceConfig
|
|
5399
5388
|
);
|
|
@@ -5406,7 +5395,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
|
|
|
5406
5395
|
verbose: options.verbose
|
|
5407
5396
|
});
|
|
5408
5397
|
}
|
|
5409
|
-
|
|
5398
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
5410
5399
|
`Pushing to git remote "${options.gitRemote ?? "origin"}"`,
|
|
5411
5400
|
this.workspaceConfig
|
|
5412
5401
|
);
|
|
@@ -5422,7 +5411,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
|
|
|
5422
5411
|
return;
|
|
5423
5412
|
};
|
|
5424
5413
|
releaseVersion = async (options) => {
|
|
5425
|
-
const verbose = options.verbose ||
|
|
5414
|
+
const verbose = options.verbose || chunkAU2HBQCB_cjs.isVerbose(this.workspaceConfig.logLevel);
|
|
5426
5415
|
this.projectGraph = await devkit.createProjectGraphAsync({
|
|
5427
5416
|
exitOnError: true,
|
|
5428
5417
|
resetDaemonClient: true
|
|
@@ -5449,7 +5438,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
|
|
|
5449
5438
|
this.workspaceConfig
|
|
5450
5439
|
);
|
|
5451
5440
|
if (releaseGraph.filterLog && process.env.NX_RELEASE_INTERNAL_SUPPRESS_FILTER_LOG !== "true") {
|
|
5452
|
-
|
|
5441
|
+
chunkAU2HBQCB_cjs.writeDebug(formatNxLog(releaseGraph.filterLog), this.workspaceConfig);
|
|
5453
5442
|
}
|
|
5454
5443
|
if (!options.specifier) {
|
|
5455
5444
|
const rawVersionPlans = await versionPlans.readRawVersionPlans();
|
|
@@ -5468,7 +5457,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
|
|
|
5468
5457
|
}
|
|
5469
5458
|
} else {
|
|
5470
5459
|
if (verbose && releaseGraph.releaseGroups.some((g) => !!g.versionPlans)) {
|
|
5471
|
-
|
|
5460
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
5472
5461
|
`Skipping version plan discovery as a specifier was provided`,
|
|
5473
5462
|
this.workspaceConfig
|
|
5474
5463
|
);
|
|
@@ -5478,7 +5467,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
|
|
|
5478
5467
|
options.deleteVersionPlans = false;
|
|
5479
5468
|
}
|
|
5480
5469
|
if (this.releaseConfig.version?.preVersionCommand) {
|
|
5481
|
-
|
|
5470
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
5482
5471
|
"Executing the following pre-version command: \n" + this.releaseConfig.version.preVersionCommand,
|
|
5483
5472
|
this.workspaceConfig
|
|
5484
5473
|
);
|
|
@@ -5514,7 +5503,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
|
|
|
5514
5503
|
continue;
|
|
5515
5504
|
}
|
|
5516
5505
|
if (releaseGroup.version?.groupPreVersionCommand) {
|
|
5517
|
-
|
|
5506
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
5518
5507
|
`Executing the ${releaseGroup.name} release group's pre-version command:
|
|
5519
5508
|
` + releaseGroup.version?.groupPreVersionCommand,
|
|
5520
5509
|
this.workspaceConfig
|
|
@@ -5574,7 +5563,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
|
|
|
5574
5563
|
changed.forEach((f) => additionalChangedFiles.add(f));
|
|
5575
5564
|
deleted.forEach((f) => additionalDeletedFiles.add(f));
|
|
5576
5565
|
if (this.releaseConfig.docker && typeof this.releaseConfig.docker === "object" && this.releaseConfig.docker?.preVersionCommand) {
|
|
5577
|
-
|
|
5566
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
5578
5567
|
`Executing the docker pre-version command:
|
|
5579
5568
|
` + this.releaseConfig.docker.preVersionCommand,
|
|
5580
5569
|
this.workspaceConfig
|
|
@@ -5611,7 +5600,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
|
|
|
5611
5600
|
continue;
|
|
5612
5601
|
}
|
|
5613
5602
|
if (releaseGroup.docker?.groupPreVersionCommand) {
|
|
5614
|
-
|
|
5603
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
5615
5604
|
`Executing the ${releaseGroup.name} release group's docker pre-version command:
|
|
5616
5605
|
` + releaseGroup.docker?.groupPreVersionCommand,
|
|
5617
5606
|
this.workspaceConfig
|
|
@@ -5642,7 +5631,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
|
|
|
5642
5631
|
}
|
|
5643
5632
|
}
|
|
5644
5633
|
if (this.releaseConfig.docker || releaseGraph.releaseGroups.some((rg) => rg.docker)) {
|
|
5645
|
-
|
|
5634
|
+
chunkAU2HBQCB_cjs.writeWarning(
|
|
5646
5635
|
formatNxLog({
|
|
5647
5636
|
title: "Warning",
|
|
5648
5637
|
bodyLines: [
|
|
@@ -5699,7 +5688,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
|
|
|
5699
5688
|
gitCommitArgs: options.gitCommitArgs || this.releaseConfig.version?.git?.commitArgs
|
|
5700
5689
|
});
|
|
5701
5690
|
} else if (options.stageChanges ?? this.releaseConfig.version?.git?.stageChanges) {
|
|
5702
|
-
|
|
5691
|
+
chunkAU2HBQCB_cjs.writeDebug(`Staging changed files with git`);
|
|
5703
5692
|
await git.gitAdd({
|
|
5704
5693
|
changedFiles,
|
|
5705
5694
|
deletedFiles,
|
|
@@ -5708,7 +5697,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
|
|
|
5708
5697
|
});
|
|
5709
5698
|
}
|
|
5710
5699
|
if (options.gitTag ?? this.releaseConfig.version?.git?.tag) {
|
|
5711
|
-
|
|
5700
|
+
chunkAU2HBQCB_cjs.writeDebug(`Tagging commit with git`);
|
|
5712
5701
|
for (const tag of gitTagValues) {
|
|
5713
5702
|
await gitTag({
|
|
5714
5703
|
tag,
|
|
@@ -5720,7 +5709,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
|
|
|
5720
5709
|
}
|
|
5721
5710
|
}
|
|
5722
5711
|
if (options.gitPush ?? this.releaseConfig.version?.git?.push) {
|
|
5723
|
-
|
|
5712
|
+
chunkAU2HBQCB_cjs.writeDebug(`Pushing to git remote "${options.gitRemote ?? "origin"}"`);
|
|
5724
5713
|
await git.gitPush({
|
|
5725
5714
|
gitRemote: options.gitRemote,
|
|
5726
5715
|
dryRun: options.dryRun,
|
|
@@ -5751,7 +5740,7 @@ var runRelease = async (config5, {
|
|
|
5751
5740
|
throw new Error("The `GITHUB_ACTOR` environment variable is not set.");
|
|
5752
5741
|
}
|
|
5753
5742
|
if (!await isUserAnOrganizationMember(process.env.GITHUB_ACTOR, config5)) {
|
|
5754
|
-
|
|
5743
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
5755
5744
|
"You must be a member of the Storm Software organization to run the release process.",
|
|
5756
5745
|
config5
|
|
5757
5746
|
);
|
|
@@ -5768,26 +5757,26 @@ var runRelease = async (config5, {
|
|
|
5768
5757
|
process.env.NODE_AUTH_TOKEN = process.env.NPM_TOKEN;
|
|
5769
5758
|
process.env.NPM_AUTH_TOKEN = process.env.NPM_TOKEN;
|
|
5770
5759
|
process.env.NPM_CONFIG_PROVENANCE = "true";
|
|
5771
|
-
|
|
5760
|
+
chunkAU2HBQCB_cjs.writeDebug("Creating Storm release client...", config5);
|
|
5772
5761
|
const releaseClient = await StormReleaseClient.create(
|
|
5773
5762
|
releaseConfig,
|
|
5774
5763
|
ignoreNxJsonConfig,
|
|
5775
5764
|
config5
|
|
5776
5765
|
);
|
|
5777
|
-
|
|
5766
|
+
chunkAU2HBQCB_cjs.writeDebug("Reading in the workspaces release configuration", config5);
|
|
5778
5767
|
const to = head || process.env.NX_HEAD;
|
|
5779
5768
|
const from = base || process.env.NX_BASE;
|
|
5780
|
-
|
|
5769
|
+
chunkAU2HBQCB_cjs.writeDebug(
|
|
5781
5770
|
`Using the following Git SHAs to determine the release content:
|
|
5782
5771
|
- From: ${from}
|
|
5783
5772
|
- To: ${to}
|
|
5784
5773
|
`,
|
|
5785
5774
|
config5
|
|
5786
5775
|
);
|
|
5787
|
-
|
|
5776
|
+
chunkAU2HBQCB_cjs.writeDebug("Determining the current release versions...", config5);
|
|
5788
5777
|
const { workspaceVersion, projectsVersionData, releaseGraph } = await releaseClient.releaseVersion({
|
|
5789
5778
|
dryRun,
|
|
5790
|
-
verbose:
|
|
5779
|
+
verbose: true,
|
|
5791
5780
|
preid: config5.preid,
|
|
5792
5781
|
stageChanges: true,
|
|
5793
5782
|
gitCommit: false
|
|
@@ -5796,14 +5785,14 @@ var runRelease = async (config5, {
|
|
|
5796
5785
|
version: releaseConfig?.projectsRelationship === "fixed" ? workspaceVersion : void 0,
|
|
5797
5786
|
versionData: projectsVersionData,
|
|
5798
5787
|
dryRun,
|
|
5799
|
-
verbose:
|
|
5788
|
+
verbose: true,
|
|
5800
5789
|
to,
|
|
5801
5790
|
from,
|
|
5802
5791
|
releaseGraph
|
|
5803
5792
|
});
|
|
5804
|
-
|
|
5793
|
+
chunkAU2HBQCB_cjs.writeDebug("Tagging commit with git", config5);
|
|
5805
5794
|
if (skipPublish) {
|
|
5806
|
-
|
|
5795
|
+
chunkAU2HBQCB_cjs.writeWarning(
|
|
5807
5796
|
"Skipping publishing packages since `skipPublish` was provided as `true` in the release options.",
|
|
5808
5797
|
config5
|
|
5809
5798
|
);
|
|
@@ -5812,7 +5801,7 @@ var runRelease = async (config5, {
|
|
|
5812
5801
|
(key) => projectsVersionData[key]?.newVersion
|
|
5813
5802
|
);
|
|
5814
5803
|
if (changedProjects.length > 0) {
|
|
5815
|
-
|
|
5804
|
+
chunkAU2HBQCB_cjs.writeInfo(
|
|
5816
5805
|
`Publishing release for ${changedProjects.length} ${changedProjects.length === 1 ? "project" : "projects"}:
|
|
5817
5806
|
${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
|
|
5818
5807
|
`,
|
|
@@ -5821,7 +5810,7 @@ ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
|
|
|
5821
5810
|
await updatePackageManifests(projectsVersionData, config5);
|
|
5822
5811
|
const result = await releaseClient.releasePublish({
|
|
5823
5812
|
dryRun,
|
|
5824
|
-
verbose:
|
|
5813
|
+
verbose: true
|
|
5825
5814
|
});
|
|
5826
5815
|
const failedProjects = Object.keys(result).filter(
|
|
5827
5816
|
(key) => result[key]?.code && result[key]?.code > 0
|
|
@@ -5836,10 +5825,10 @@ ${failedProjects.map((failedProject) => ` - ${failedProject} (Error Code: ${res
|
|
|
5836
5825
|
);
|
|
5837
5826
|
}
|
|
5838
5827
|
} else {
|
|
5839
|
-
|
|
5828
|
+
chunkAU2HBQCB_cjs.writeWarning("Skipped publishing packages.", config5);
|
|
5840
5829
|
}
|
|
5841
5830
|
}
|
|
5842
|
-
|
|
5831
|
+
chunkAU2HBQCB_cjs.writeSuccess("Completed the Storm workspace release process!", config5);
|
|
5843
5832
|
};
|
|
5844
5833
|
async function updatePackageManifests(projectsVersionData, config5) {
|
|
5845
5834
|
let projectGraph;
|
|
@@ -5854,7 +5843,7 @@ async function updatePackageManifests(projectsVersionData, config5) {
|
|
|
5854
5843
|
Object.keys(projectsVersionData).map(async (node) => {
|
|
5855
5844
|
const projectNode = projectGraph.nodes[node];
|
|
5856
5845
|
if (!projectNode?.data.root) {
|
|
5857
|
-
|
|
5846
|
+
chunkAU2HBQCB_cjs.writeWarning(
|
|
5858
5847
|
`Project node ${node} not found in the project graph. Skipping manifest update.`,
|
|
5859
5848
|
config5
|
|
5860
5849
|
);
|
|
@@ -5862,17 +5851,17 @@ async function updatePackageManifests(projectsVersionData, config5) {
|
|
|
5862
5851
|
}
|
|
5863
5852
|
const versionData = projectsVersionData[node];
|
|
5864
5853
|
if (projectNode?.data.root && versionData && versionData.newVersion !== null) {
|
|
5865
|
-
|
|
5854
|
+
chunkAU2HBQCB_cjs.writeTrace(
|
|
5866
5855
|
`Writing version ${versionData.newVersion} update to manifest file for ${node}
|
|
5867
5856
|
`,
|
|
5868
5857
|
config5
|
|
5869
5858
|
);
|
|
5870
|
-
const projectRoot =
|
|
5859
|
+
const projectRoot = chunkAU2HBQCB_cjs.joinPaths(
|
|
5871
5860
|
config5.workspaceRoot,
|
|
5872
5861
|
projectNode.data.root
|
|
5873
5862
|
);
|
|
5874
|
-
const packageJsonPath =
|
|
5875
|
-
const cargoTomlPath =
|
|
5863
|
+
const packageJsonPath = chunkAU2HBQCB_cjs.joinPaths(projectRoot, "package.json");
|
|
5864
|
+
const cargoTomlPath = chunkAU2HBQCB_cjs.joinPaths(projectRoot, "Cargo.toml");
|
|
5876
5865
|
if (fs$1.existsSync(packageJsonPath)) {
|
|
5877
5866
|
const packageJsonContent = await fs.readFile(packageJsonPath, "utf8");
|
|
5878
5867
|
const packageJson = JSON.parse(packageJsonContent);
|
|
@@ -5890,7 +5879,7 @@ async function updatePackageManifests(projectsVersionData, config5) {
|
|
|
5890
5879
|
})
|
|
5891
5880
|
);
|
|
5892
5881
|
} else {
|
|
5893
|
-
|
|
5882
|
+
chunkAU2HBQCB_cjs.writeWarning("No project nodes found. Skipping manifest updates.", config5);
|
|
5894
5883
|
}
|
|
5895
5884
|
}
|
|
5896
5885
|
|
|
@@ -5898,8 +5887,8 @@ async function updatePackageManifests(projectsVersionData, config5) {
|
|
|
5898
5887
|
var _config = {};
|
|
5899
5888
|
function createProgram(config5) {
|
|
5900
5889
|
_config = config5;
|
|
5901
|
-
|
|
5902
|
-
const root =
|
|
5890
|
+
chunkAU2HBQCB_cjs.writeInfo(`${chunkAU2HBQCB_cjs.brandIcon(_config)} Running Storm Git Tools`, config5);
|
|
5891
|
+
const root = chunkAU2HBQCB_cjs.findWorkspaceRootSafe(process.cwd());
|
|
5903
5892
|
process.env.STORM_WORKSPACE_ROOT ??= root;
|
|
5904
5893
|
process.env.NX_WORKSPACE_ROOT_PATH ??= root;
|
|
5905
5894
|
if (root) {
|
|
@@ -5946,12 +5935,12 @@ async function commitAction({
|
|
|
5946
5935
|
dryRun = false
|
|
5947
5936
|
}) {
|
|
5948
5937
|
try {
|
|
5949
|
-
|
|
5950
|
-
`${
|
|
5938
|
+
chunkAU2HBQCB_cjs.writeInfo(
|
|
5939
|
+
`${chunkAU2HBQCB_cjs.brandIcon(typeof config5 === "string" ? {} : config5)} Preparing to commit your changes. Please provide the requested details below...`,
|
|
5951
5940
|
_config
|
|
5952
5941
|
);
|
|
5953
5942
|
await runCommit(config5, dryRun);
|
|
5954
|
-
|
|
5943
|
+
chunkAU2HBQCB_cjs.writeSuccess(
|
|
5955
5944
|
`\u2714 Storm Commit processing completed successfully!
|
|
5956
5945
|
|
|
5957
5946
|
Note: Please run "pnpm push" to upload these changes to the remote ${_config.name ? _config.name : _config.namespace ? _config.namespace : _config.organization ? _config.organization : "Storm-Software"} Git repository at ${_config.repository}
|
|
@@ -5959,7 +5948,7 @@ Note: Please run "pnpm push" to upload these changes to the remote ${_config.nam
|
|
|
5959
5948
|
_config
|
|
5960
5949
|
);
|
|
5961
5950
|
} catch (error) {
|
|
5962
|
-
|
|
5951
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
5963
5952
|
`A fatal error occurred while running commit action:
|
|
5964
5953
|
|
|
5965
5954
|
${error.message}${error.stack ? `
|
|
@@ -5974,17 +5963,17 @@ Please fix any errors and try committing again.`,
|
|
|
5974
5963
|
}
|
|
5975
5964
|
async function readmeAction(options) {
|
|
5976
5965
|
try {
|
|
5977
|
-
|
|
5978
|
-
`${
|
|
5966
|
+
chunkAU2HBQCB_cjs.writeInfo(
|
|
5967
|
+
`${chunkAU2HBQCB_cjs.brandIcon(_config)} Formatting the workspace's README.md files`,
|
|
5979
5968
|
_config
|
|
5980
5969
|
);
|
|
5981
5970
|
await runReadme(options);
|
|
5982
|
-
|
|
5971
|
+
chunkAU2HBQCB_cjs.writeSuccess(
|
|
5983
5972
|
"\u2714 Formatting of the workspace's README.md files is complete\n",
|
|
5984
5973
|
_config
|
|
5985
5974
|
);
|
|
5986
5975
|
} catch (error) {
|
|
5987
|
-
|
|
5976
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
5988
5977
|
`A fatal error occurred while running README format action:
|
|
5989
5978
|
|
|
5990
5979
|
${error.message}`
|
|
@@ -5999,8 +5988,8 @@ async function releaseAction({
|
|
|
5999
5988
|
dryRun
|
|
6000
5989
|
}) {
|
|
6001
5990
|
try {
|
|
6002
|
-
|
|
6003
|
-
`${
|
|
5991
|
+
chunkAU2HBQCB_cjs.writeInfo(
|
|
5992
|
+
`${chunkAU2HBQCB_cjs.brandIcon(_config)} Running the Storm Release and Publish process on the workspace`,
|
|
6004
5993
|
_config
|
|
6005
5994
|
);
|
|
6006
5995
|
await runRelease(_config, {
|
|
@@ -6009,9 +5998,9 @@ async function releaseAction({
|
|
|
6009
5998
|
base,
|
|
6010
5999
|
head
|
|
6011
6000
|
});
|
|
6012
|
-
|
|
6001
|
+
chunkAU2HBQCB_cjs.writeSuccess("\u2714 Release completed successfully!\n", _config);
|
|
6013
6002
|
} catch (error) {
|
|
6014
|
-
|
|
6003
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
6015
6004
|
`A fatal error occurred while running release action:
|
|
6016
6005
|
|
|
6017
6006
|
${error.message} ${error.stack ? `
|
|
@@ -6025,17 +6014,17 @@ Stacktrace: ${error.stack}` : ""}`,
|
|
|
6025
6014
|
}
|
|
6026
6015
|
async function commitLintAction(options) {
|
|
6027
6016
|
try {
|
|
6028
|
-
|
|
6029
|
-
`${
|
|
6017
|
+
chunkAU2HBQCB_cjs.writeInfo(
|
|
6018
|
+
`${chunkAU2HBQCB_cjs.brandIcon(_config)} Linting the ${_config.repository ? _config.repository : _config.namespace ? _config.namespace : _config.name ? _config.name : typeof _config.organization === "string" ? _config.organization : _config.organization?.name ? _config.organization?.name : "Storm-Software"} repository's commit messages.`,
|
|
6030
6019
|
_config
|
|
6031
6020
|
);
|
|
6032
6021
|
await runCommitLint(_config, options);
|
|
6033
|
-
|
|
6022
|
+
chunkAU2HBQCB_cjs.writeSuccess(
|
|
6034
6023
|
"\u2714 Linting the commit messages completed successfully!\n",
|
|
6035
6024
|
_config
|
|
6036
6025
|
);
|
|
6037
6026
|
} catch (error) {
|
|
6038
|
-
|
|
6027
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
6039
6028
|
`A fatal error occurred while linting the commit messages:
|
|
6040
6029
|
|
|
6041
6030
|
${error.message}`,
|
|
@@ -6046,14 +6035,14 @@ ${error.message}`,
|
|
|
6046
6035
|
}
|
|
6047
6036
|
async function postCheckoutAction({ files }) {
|
|
6048
6037
|
try {
|
|
6049
|
-
|
|
6050
|
-
`${
|
|
6038
|
+
chunkAU2HBQCB_cjs.writeInfo(
|
|
6039
|
+
`${chunkAU2HBQCB_cjs.brandIcon(_config)} Running the Storm post-checkout git hook for ${files.length} files in the workspace...`,
|
|
6051
6040
|
_config
|
|
6052
6041
|
);
|
|
6053
|
-
await
|
|
6054
|
-
|
|
6042
|
+
await chunkNKCKZ3E3_cjs.postCheckoutHook(_config, files);
|
|
6043
|
+
chunkAU2HBQCB_cjs.writeSuccess("\u2714 Post-checkout hook completed successfully!\n", _config);
|
|
6055
6044
|
} catch (error) {
|
|
6056
|
-
|
|
6045
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
6057
6046
|
`A fatal error occurred while running the post-checkout hook:
|
|
6058
6047
|
|
|
6059
6048
|
${error.message}`,
|
|
@@ -6064,14 +6053,14 @@ ${error.message}`,
|
|
|
6064
6053
|
}
|
|
6065
6054
|
async function postCommitAction({ files }) {
|
|
6066
6055
|
try {
|
|
6067
|
-
|
|
6068
|
-
`${
|
|
6056
|
+
chunkAU2HBQCB_cjs.writeInfo(
|
|
6057
|
+
`${chunkAU2HBQCB_cjs.brandIcon(_config)} Running the Storm post-commit git hook for ${files.length} files in the workspace...`,
|
|
6069
6058
|
_config
|
|
6070
6059
|
);
|
|
6071
|
-
await
|
|
6072
|
-
|
|
6060
|
+
await chunkKHPLFH3X_cjs.postCommitHook(_config, files);
|
|
6061
|
+
chunkAU2HBQCB_cjs.writeSuccess("\u2714 Post-commit hook completed successfully!\n", _config);
|
|
6073
6062
|
} catch (error) {
|
|
6074
|
-
|
|
6063
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
6075
6064
|
`A fatal error occurred while running the post-commit hook:
|
|
6076
6065
|
|
|
6077
6066
|
${error.message}`,
|
|
@@ -6082,14 +6071,14 @@ ${error.message}`,
|
|
|
6082
6071
|
}
|
|
6083
6072
|
async function postMergeAction({ files }) {
|
|
6084
6073
|
try {
|
|
6085
|
-
|
|
6086
|
-
`${
|
|
6074
|
+
chunkAU2HBQCB_cjs.writeInfo(
|
|
6075
|
+
`${chunkAU2HBQCB_cjs.brandIcon(_config)} Running the Storm post-merge git hook for ${files.length} files in the workspace...`,
|
|
6087
6076
|
_config
|
|
6088
6077
|
);
|
|
6089
|
-
await
|
|
6090
|
-
|
|
6078
|
+
await chunkFNM5AXPR_cjs.postMergeHook(_config, files);
|
|
6079
|
+
chunkAU2HBQCB_cjs.writeSuccess("\u2714 Post-merge hook completed successfully!\n", _config);
|
|
6091
6080
|
} catch (error) {
|
|
6092
|
-
|
|
6081
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
6093
6082
|
`A fatal error occurred while running the post-merge hook:
|
|
6094
6083
|
|
|
6095
6084
|
${error.message}`,
|
|
@@ -6100,14 +6089,14 @@ ${error.message}`,
|
|
|
6100
6089
|
}
|
|
6101
6090
|
async function preCommitAction({ files }) {
|
|
6102
6091
|
try {
|
|
6103
|
-
|
|
6104
|
-
`${
|
|
6092
|
+
chunkAU2HBQCB_cjs.writeInfo(
|
|
6093
|
+
`${chunkAU2HBQCB_cjs.brandIcon(_config)} Running the Storm pre-commit git hook for ${files.length} files in the workspace...`,
|
|
6105
6094
|
_config
|
|
6106
6095
|
);
|
|
6107
|
-
await
|
|
6108
|
-
|
|
6096
|
+
await chunkZ5SKX5XN_cjs.preCommitHook(_config, files);
|
|
6097
|
+
chunkAU2HBQCB_cjs.writeSuccess("\u2714 Pre-commit hook completed successfully!\n", _config);
|
|
6109
6098
|
} catch (error) {
|
|
6110
|
-
|
|
6099
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
6111
6100
|
`A fatal error occurred while running the pre-commit hook:
|
|
6112
6101
|
|
|
6113
6102
|
${error.message}`,
|
|
@@ -6118,14 +6107,14 @@ ${error.message}`,
|
|
|
6118
6107
|
}
|
|
6119
6108
|
async function prePushAction({ files }) {
|
|
6120
6109
|
try {
|
|
6121
|
-
|
|
6122
|
-
`${
|
|
6110
|
+
chunkAU2HBQCB_cjs.writeInfo(
|
|
6111
|
+
`${chunkAU2HBQCB_cjs.brandIcon(_config)} Running the Storm pre-push git hook for ${files.length} files in the workspace...`,
|
|
6123
6112
|
_config
|
|
6124
6113
|
);
|
|
6125
|
-
await
|
|
6126
|
-
|
|
6114
|
+
await chunk7I4XZL7P_cjs.prePushHook(_config, files);
|
|
6115
|
+
chunkAU2HBQCB_cjs.writeSuccess("\u2714 Pre-push hook completed successfully!\n", _config);
|
|
6127
6116
|
} catch (error) {
|
|
6128
|
-
|
|
6117
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
6129
6118
|
`A fatal error occurred while running the pre-push hook:
|
|
6130
6119
|
|
|
6131
6120
|
${error.message}`,
|
|
@@ -6136,14 +6125,14 @@ ${error.message}`,
|
|
|
6136
6125
|
}
|
|
6137
6126
|
async function prepareAction() {
|
|
6138
6127
|
try {
|
|
6139
|
-
|
|
6140
|
-
`${
|
|
6128
|
+
chunkAU2HBQCB_cjs.writeInfo(
|
|
6129
|
+
`${chunkAU2HBQCB_cjs.brandIcon(_config)} Running the Storm prepare git hook for the workspace...`,
|
|
6141
6130
|
_config
|
|
6142
6131
|
);
|
|
6143
|
-
await
|
|
6144
|
-
|
|
6132
|
+
await chunk77NN2DPB_cjs.prepareHook(_config);
|
|
6133
|
+
chunkAU2HBQCB_cjs.writeSuccess("\u2714 Prepare hook completed successfully!\n", _config);
|
|
6145
6134
|
} catch (error) {
|
|
6146
|
-
|
|
6135
|
+
chunkAU2HBQCB_cjs.writeFatal(
|
|
6147
6136
|
`A fatal error occurred while running the prepare hook:
|
|
6148
6137
|
|
|
6149
6138
|
${error.message}`,
|
|
@@ -6155,18 +6144,18 @@ ${error.message}`,
|
|
|
6155
6144
|
|
|
6156
6145
|
// bin/git.ts
|
|
6157
6146
|
void (async () => {
|
|
6158
|
-
const config5 = await
|
|
6147
|
+
const config5 = await chunkAU2HBQCB_cjs.getConfig();
|
|
6159
6148
|
try {
|
|
6160
|
-
|
|
6149
|
+
chunkAU2HBQCB_cjs.handleProcess(config5);
|
|
6161
6150
|
const program = createProgram(config5);
|
|
6162
6151
|
await program.parseAsync(process.argv);
|
|
6163
|
-
|
|
6152
|
+
chunkAU2HBQCB_cjs.writeSuccess(
|
|
6164
6153
|
`\u2714 Git ${process.argv && process.argv.length >= 3 && process.argv[2] ? process.argv[2] : "tool"} processing completed successfully!`,
|
|
6165
6154
|
config5
|
|
6166
6155
|
);
|
|
6167
|
-
|
|
6156
|
+
chunkAU2HBQCB_cjs.exitWithSuccess(config5);
|
|
6168
6157
|
} catch (error) {
|
|
6169
|
-
|
|
6158
|
+
chunkAU2HBQCB_cjs.exitWithError(config5);
|
|
6170
6159
|
process.exit(1);
|
|
6171
6160
|
}
|
|
6172
6161
|
})();
|