@storm-software/git-tools 2.53.0 → 2.54.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 2.54.0 (2024-09-01)
2
+
3
+
4
+ ### Features
5
+
6
+ - **workspace-tools:** Added the `noDeps` flag to the cargo-doc executor options ([82eeb944](https://github.com/storm-software/storm-ops/commit/82eeb944))
7
+
1
8
  ## 2.53.0 (2024-08-03)
2
9
 
3
10
 
package/bin/git.js CHANGED
@@ -226807,6 +226807,30 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
226807
226807
  return result2;
226808
226808
  }
226809
226809
 
226810
+ // packages/config-tools/src/utilities/chalk.ts
226811
+ var import_chalk = __toESM(require_source());
226812
+ var chalkDefault = {
226813
+ hex: (_15) => (message) => message,
226814
+ bgHex: (_15) => ({
226815
+ whiteBright: (message) => message
226816
+ }),
226817
+ whiteBright: (message) => message,
226818
+ bold: {
226819
+ hex: (_15) => (message) => message,
226820
+ bgHex: (_15) => ({
226821
+ whiteBright: (message) => message
226822
+ }),
226823
+ whiteBright: (message) => message
226824
+ }
226825
+ };
226826
+ var getChalk = () => {
226827
+ let _chalk = import_chalk.default;
226828
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
226829
+ _chalk = chalkDefault;
226830
+ }
226831
+ return _chalk;
226832
+ };
226833
+
226810
226834
  // packages/config/src/constants.ts
226811
226835
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
226812
226836
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
@@ -231056,30 +231080,6 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
231056
231080
  return LogLevelLabel.INFO;
231057
231081
  };
231058
231082
 
231059
- // packages/config-tools/src/utilities/chalk.ts
231060
- var import_chalk = __toESM(require_source());
231061
- var chalkDefault = {
231062
- hex: (_15) => (message) => message,
231063
- bgHex: (_15) => ({
231064
- whiteBright: (message) => message
231065
- }),
231066
- whiteBright: (message) => message,
231067
- bold: {
231068
- hex: (_15) => (message) => message,
231069
- bgHex: (_15) => ({
231070
- whiteBright: (message) => message
231071
- }),
231072
- whiteBright: (message) => message
231073
- }
231074
- };
231075
- var getChalk = () => {
231076
- let _chalk = import_chalk.default;
231077
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
231078
- _chalk = chalkDefault;
231079
- }
231080
- return _chalk;
231081
- };
231082
-
231083
231083
  // packages/config-tools/src/utilities/logger.ts
231084
231084
  var getLogFn = (logLevel = LogLevel.INFO, config2 = {}) => {
231085
231085
  let _chalk = getChalk();
@@ -232161,7 +232161,7 @@ var createState = async (commitConfig = "@storm-software/git-tools/src/commit/co
232161
232161
  answers: {}
232162
232162
  };
232163
232163
  } else {
232164
- writeInfo({}, `Using custom commit config file: ${commitConfig}`);
232164
+ writeInfo(`Using custom commit config file: ${commitConfig}`);
232165
232165
  let config2 = (await import(commitConfig))?.default;
232166
232166
  if (config2?.default) {
232167
232167
  config2 = config2?.default;
@@ -232186,22 +232186,24 @@ var createState = async (commitConfig = "@storm-software/git-tools/src/commit/co
232186
232186
  answers: {}
232187
232187
  };
232188
232188
  }
232189
- state.config.questions.type.enum = Object.keys(config_default.types).map(
232190
- (key2) => {
232191
- let name = key2;
232192
- let description = void 0;
232193
- const type2 = key2 in config_default3.types ? config_default3.types?.[key2] : void 0;
232194
- if (type2) {
232195
- name = `${key2} - ${type2.title} ${type2.emoji} ${type2.description ? type2.description : ""}`;
232196
- description = type2.description;
232197
- }
232198
- return { name, value: key2, description };
232189
+ state.config.questions.type.enum = Object.keys(
232190
+ config_default.types
232191
+ ).map((key2) => {
232192
+ let name = key2;
232193
+ let description = void 0;
232194
+ const type2 = key2 in config_default3.types ? config_default3.types?.[key2] : void 0;
232195
+ if (type2) {
232196
+ name = `${key2} - ${type2.title} ${type2.emoji} ${type2.description ? type2.description : ""}`;
232197
+ description = type2.description;
232199
232198
  }
232199
+ return { name, value: key2, description };
232200
+ });
232201
+ state.config.questions.scope.enum = (await getScopeEnum({})).map(
232202
+ (scope) => ({
232203
+ name: scope,
232204
+ value: scope
232205
+ })
232200
232206
  );
232201
- state.config.questions.scope.enum = (await getScopeEnum({})).map((scope) => ({
232202
- name: scope,
232203
- value: scope
232204
- }));
232205
232207
  state.answers = Object.keys(state.config.questions).reduce(
232206
232208
  (ret, key2) => {
232207
232209
  ret[key2] = "";
@@ -232262,7 +232264,12 @@ var runCommit = async (commitConfig = "@storm-software/git-tools/commit/config.j
232262
232264
  const message = formatCommitMessage(await commitPrompt(state));
232263
232265
  const commitMsgFile = join4(getGitDir(), "COMMIT_EDITMSG");
232264
232266
  const shellescape = await Promise.resolve().then(() => __toESM(require_shell_escape(), 1));
232265
- const command = shellescape.default(["git", "commit", "--file", commitMsgFile]);
232267
+ const command = shellescape.default([
232268
+ "git",
232269
+ "commit",
232270
+ "--file",
232271
+ commitMsgFile
232272
+ ]);
232266
232273
  if (dryRun) {
232267
232274
  console.log("Will execute command:");
232268
232275
  console.log(command.replace(commitMsgFile, ".git/COMMIT_EDITMSG"));
@@ -63124,6 +63124,30 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
+ // packages/config-tools/src/utilities/chalk.ts
63128
+ var import_chalk = __toESM(require_source());
63129
+ var chalkDefault = {
63130
+ hex: (_6) => (message) => message,
63131
+ bgHex: (_6) => ({
63132
+ whiteBright: (message) => message
63133
+ }),
63134
+ whiteBright: (message) => message,
63135
+ bold: {
63136
+ hex: (_6) => (message) => message,
63137
+ bgHex: (_6) => ({
63138
+ whiteBright: (message) => message
63139
+ }),
63140
+ whiteBright: (message) => message
63141
+ }
63142
+ };
63143
+ var getChalk = () => {
63144
+ let _chalk = import_chalk.default;
63145
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
63146
+ _chalk = chalkDefault;
63147
+ }
63148
+ return _chalk;
63149
+ };
63150
+
63127
63151
  // packages/config/src/constants.ts
63128
63152
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63129
63153
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
@@ -67373,30 +67397,6 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
67373
67397
  return LogLevelLabel.INFO;
67374
67398
  };
67375
67399
 
67376
- // packages/config-tools/src/utilities/chalk.ts
67377
- var import_chalk = __toESM(require_source());
67378
- var chalkDefault = {
67379
- hex: (_6) => (message) => message,
67380
- bgHex: (_6) => ({
67381
- whiteBright: (message) => message
67382
- }),
67383
- whiteBright: (message) => message,
67384
- bold: {
67385
- hex: (_6) => (message) => message,
67386
- bgHex: (_6) => ({
67387
- whiteBright: (message) => message
67388
- }),
67389
- whiteBright: (message) => message
67390
- }
67391
- };
67392
- var getChalk = () => {
67393
- let _chalk = import_chalk.default;
67394
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
67395
- _chalk = chalkDefault;
67396
- }
67397
- return _chalk;
67398
- };
67399
-
67400
67400
  // packages/config-tools/src/utilities/logger.ts
67401
67401
  var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
67402
67402
  let _chalk = getChalk();
@@ -67557,6 +67557,7 @@ var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio
67557
67557
  CLICOLOR: "true",
67558
67558
  FORCE_COLOR: "true"
67559
67559
  },
67560
+ windowsHide: true,
67560
67561
  stdio,
67561
67562
  maxBuffer: LARGE_BUFFER,
67562
67563
  killSignal: "SIGTERM"
@@ -63124,6 +63124,30 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
+ // packages/config-tools/src/utilities/chalk.ts
63128
+ var import_chalk = __toESM(require_source());
63129
+ var chalkDefault = {
63130
+ hex: (_6) => (message) => message,
63131
+ bgHex: (_6) => ({
63132
+ whiteBright: (message) => message
63133
+ }),
63134
+ whiteBright: (message) => message,
63135
+ bold: {
63136
+ hex: (_6) => (message) => message,
63137
+ bgHex: (_6) => ({
63138
+ whiteBright: (message) => message
63139
+ }),
63140
+ whiteBright: (message) => message
63141
+ }
63142
+ };
63143
+ var getChalk = () => {
63144
+ let _chalk = import_chalk.default;
63145
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
63146
+ _chalk = chalkDefault;
63147
+ }
63148
+ return _chalk;
63149
+ };
63150
+
63127
63151
  // packages/config/src/constants.ts
63128
63152
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63129
63153
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
@@ -67373,30 +67397,6 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
67373
67397
  return LogLevelLabel.INFO;
67374
67398
  };
67375
67399
 
67376
- // packages/config-tools/src/utilities/chalk.ts
67377
- var import_chalk = __toESM(require_source());
67378
- var chalkDefault = {
67379
- hex: (_6) => (message) => message,
67380
- bgHex: (_6) => ({
67381
- whiteBright: (message) => message
67382
- }),
67383
- whiteBright: (message) => message,
67384
- bold: {
67385
- hex: (_6) => (message) => message,
67386
- bgHex: (_6) => ({
67387
- whiteBright: (message) => message
67388
- }),
67389
- whiteBright: (message) => message
67390
- }
67391
- };
67392
- var getChalk = () => {
67393
- let _chalk = import_chalk.default;
67394
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
67395
- _chalk = chalkDefault;
67396
- }
67397
- return _chalk;
67398
- };
67399
-
67400
67400
  // packages/config-tools/src/utilities/logger.ts
67401
67401
  var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
67402
67402
  let _chalk = getChalk();
@@ -67557,6 +67557,7 @@ var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio
67557
67557
  CLICOLOR: "true",
67558
67558
  FORCE_COLOR: "true"
67559
67559
  },
67560
+ windowsHide: true,
67560
67561
  stdio,
67561
67562
  maxBuffer: LARGE_BUFFER,
67562
67563
  killSignal: "SIGTERM"
package/bin/post-merge.js CHANGED
@@ -63124,6 +63124,30 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
+ // packages/config-tools/src/utilities/chalk.ts
63128
+ var import_chalk = __toESM(require_source());
63129
+ var chalkDefault = {
63130
+ hex: (_6) => (message) => message,
63131
+ bgHex: (_6) => ({
63132
+ whiteBright: (message) => message
63133
+ }),
63134
+ whiteBright: (message) => message,
63135
+ bold: {
63136
+ hex: (_6) => (message) => message,
63137
+ bgHex: (_6) => ({
63138
+ whiteBright: (message) => message
63139
+ }),
63140
+ whiteBright: (message) => message
63141
+ }
63142
+ };
63143
+ var getChalk = () => {
63144
+ let _chalk = import_chalk.default;
63145
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
63146
+ _chalk = chalkDefault;
63147
+ }
63148
+ return _chalk;
63149
+ };
63150
+
63127
63151
  // packages/config/src/constants.ts
63128
63152
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63129
63153
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
@@ -67373,30 +67397,6 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
67373
67397
  return LogLevelLabel.INFO;
67374
67398
  };
67375
67399
 
67376
- // packages/config-tools/src/utilities/chalk.ts
67377
- var import_chalk = __toESM(require_source());
67378
- var chalkDefault = {
67379
- hex: (_6) => (message) => message,
67380
- bgHex: (_6) => ({
67381
- whiteBright: (message) => message
67382
- }),
67383
- whiteBright: (message) => message,
67384
- bold: {
67385
- hex: (_6) => (message) => message,
67386
- bgHex: (_6) => ({
67387
- whiteBright: (message) => message
67388
- }),
67389
- whiteBright: (message) => message
67390
- }
67391
- };
67392
- var getChalk = () => {
67393
- let _chalk = import_chalk.default;
67394
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
67395
- _chalk = chalkDefault;
67396
- }
67397
- return _chalk;
67398
- };
67399
-
67400
67400
  // packages/config-tools/src/utilities/logger.ts
67401
67401
  var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
67402
67402
  let _chalk = getChalk();
@@ -67557,6 +67557,7 @@ var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio
67557
67557
  CLICOLOR: "true",
67558
67558
  FORCE_COLOR: "true"
67559
67559
  },
67560
+ windowsHide: true,
67560
67561
  stdio,
67561
67562
  maxBuffer: LARGE_BUFFER,
67562
67563
  killSignal: "SIGTERM"
package/bin/pre-commit.js CHANGED
@@ -63124,6 +63124,30 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
+ // packages/config-tools/src/utilities/chalk.ts
63128
+ var import_chalk = __toESM(require_source());
63129
+ var chalkDefault = {
63130
+ hex: (_6) => (message) => message,
63131
+ bgHex: (_6) => ({
63132
+ whiteBright: (message) => message
63133
+ }),
63134
+ whiteBright: (message) => message,
63135
+ bold: {
63136
+ hex: (_6) => (message) => message,
63137
+ bgHex: (_6) => ({
63138
+ whiteBright: (message) => message
63139
+ }),
63140
+ whiteBright: (message) => message
63141
+ }
63142
+ };
63143
+ var getChalk = () => {
63144
+ let _chalk = import_chalk.default;
63145
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
63146
+ _chalk = chalkDefault;
63147
+ }
63148
+ return _chalk;
63149
+ };
63150
+
63127
63151
  // packages/config/src/constants.ts
63128
63152
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63129
63153
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
@@ -67373,30 +67397,6 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
67373
67397
  return LogLevelLabel.INFO;
67374
67398
  };
67375
67399
 
67376
- // packages/config-tools/src/utilities/chalk.ts
67377
- var import_chalk = __toESM(require_source());
67378
- var chalkDefault = {
67379
- hex: (_6) => (message) => message,
67380
- bgHex: (_6) => ({
67381
- whiteBright: (message) => message
67382
- }),
67383
- whiteBright: (message) => message,
67384
- bold: {
67385
- hex: (_6) => (message) => message,
67386
- bgHex: (_6) => ({
67387
- whiteBright: (message) => message
67388
- }),
67389
- whiteBright: (message) => message
67390
- }
67391
- };
67392
- var getChalk = () => {
67393
- let _chalk = import_chalk.default;
67394
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
67395
- _chalk = chalkDefault;
67396
- }
67397
- return _chalk;
67398
- };
67399
-
67400
67400
  // packages/config-tools/src/utilities/logger.ts
67401
67401
  var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
67402
67402
  let _chalk = getChalk();
@@ -63124,6 +63124,30 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
+ // packages/config-tools/src/utilities/chalk.ts
63128
+ var import_chalk = __toESM(require_source());
63129
+ var chalkDefault = {
63130
+ hex: (_6) => (message) => message,
63131
+ bgHex: (_6) => ({
63132
+ whiteBright: (message) => message
63133
+ }),
63134
+ whiteBright: (message) => message,
63135
+ bold: {
63136
+ hex: (_6) => (message) => message,
63137
+ bgHex: (_6) => ({
63138
+ whiteBright: (message) => message
63139
+ }),
63140
+ whiteBright: (message) => message
63141
+ }
63142
+ };
63143
+ var getChalk = () => {
63144
+ let _chalk = import_chalk.default;
63145
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
63146
+ _chalk = chalkDefault;
63147
+ }
63148
+ return _chalk;
63149
+ };
63150
+
63127
63151
  // packages/config/src/constants.ts
63128
63152
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63129
63153
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
@@ -67373,30 +67397,6 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
67373
67397
  return LogLevelLabel.INFO;
67374
67398
  };
67375
67399
 
67376
- // packages/config-tools/src/utilities/chalk.ts
67377
- var import_chalk = __toESM(require_source());
67378
- var chalkDefault = {
67379
- hex: (_6) => (message) => message,
67380
- bgHex: (_6) => ({
67381
- whiteBright: (message) => message
67382
- }),
67383
- whiteBright: (message) => message,
67384
- bold: {
67385
- hex: (_6) => (message) => message,
67386
- bgHex: (_6) => ({
67387
- whiteBright: (message) => message
67388
- }),
67389
- whiteBright: (message) => message
67390
- }
67391
- };
67392
- var getChalk = () => {
67393
- let _chalk = import_chalk.default;
67394
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
67395
- _chalk = chalkDefault;
67396
- }
67397
- return _chalk;
67398
- };
67399
-
67400
67400
  // packages/config-tools/src/utilities/logger.ts
67401
67401
  var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
67402
67402
  let _chalk = getChalk();
@@ -67557,6 +67557,7 @@ var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio
67557
67557
  CLICOLOR: "true",
67558
67558
  FORCE_COLOR: "true"
67559
67559
  },
67560
+ windowsHide: true,
67560
67561
  stdio,
67561
67562
  maxBuffer: LARGE_BUFFER,
67562
67563
  killSignal: "SIGTERM"
package/bin/pre-push.js CHANGED
@@ -63129,6 +63129,30 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63129
63129
  return result;
63130
63130
  }
63131
63131
 
63132
+ // packages/config-tools/src/utilities/chalk.ts
63133
+ var import_chalk = __toESM(require_source());
63134
+ var chalkDefault = {
63135
+ hex: (_6) => (message) => message,
63136
+ bgHex: (_6) => ({
63137
+ whiteBright: (message) => message
63138
+ }),
63139
+ whiteBright: (message) => message,
63140
+ bold: {
63141
+ hex: (_6) => (message) => message,
63142
+ bgHex: (_6) => ({
63143
+ whiteBright: (message) => message
63144
+ }),
63145
+ whiteBright: (message) => message
63146
+ }
63147
+ };
63148
+ var getChalk = () => {
63149
+ let _chalk = import_chalk.default;
63150
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
63151
+ _chalk = chalkDefault;
63152
+ }
63153
+ return _chalk;
63154
+ };
63155
+
63132
63156
  // packages/config/src/constants.ts
63133
63157
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63134
63158
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
@@ -67378,30 +67402,6 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
67378
67402
  return LogLevelLabel.INFO;
67379
67403
  };
67380
67404
 
67381
- // packages/config-tools/src/utilities/chalk.ts
67382
- var import_chalk = __toESM(require_source());
67383
- var chalkDefault = {
67384
- hex: (_6) => (message) => message,
67385
- bgHex: (_6) => ({
67386
- whiteBright: (message) => message
67387
- }),
67388
- whiteBright: (message) => message,
67389
- bold: {
67390
- hex: (_6) => (message) => message,
67391
- bgHex: (_6) => ({
67392
- whiteBright: (message) => message
67393
- }),
67394
- whiteBright: (message) => message
67395
- }
67396
- };
67397
- var getChalk = () => {
67398
- let _chalk = import_chalk.default;
67399
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
67400
- _chalk = chalkDefault;
67401
- }
67402
- return _chalk;
67403
- };
67404
-
67405
67405
  // packages/config-tools/src/utilities/logger.ts
67406
67406
  var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
67407
67407
  let _chalk = getChalk();
@@ -67562,6 +67562,7 @@ var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio
67562
67562
  CLICOLOR: "true",
67563
67563
  FORCE_COLOR: "true"
67564
67564
  },
67565
+ windowsHide: true,
67565
67566
  stdio,
67566
67567
  maxBuffer: LARGE_BUFFER,
67567
67568
  killSignal: "SIGTERM"
package/bin/prepare.js CHANGED
@@ -63124,6 +63124,30 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
+ // packages/config-tools/src/utilities/chalk.ts
63128
+ var import_chalk = __toESM(require_source());
63129
+ var chalkDefault = {
63130
+ hex: (_6) => (message) => message,
63131
+ bgHex: (_6) => ({
63132
+ whiteBright: (message) => message
63133
+ }),
63134
+ whiteBright: (message) => message,
63135
+ bold: {
63136
+ hex: (_6) => (message) => message,
63137
+ bgHex: (_6) => ({
63138
+ whiteBright: (message) => message
63139
+ }),
63140
+ whiteBright: (message) => message
63141
+ }
63142
+ };
63143
+ var getChalk = () => {
63144
+ let _chalk = import_chalk.default;
63145
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
63146
+ _chalk = chalkDefault;
63147
+ }
63148
+ return _chalk;
63149
+ };
63150
+
63127
63151
  // packages/config/src/constants.ts
63128
63152
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63129
63153
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
@@ -67373,30 +67397,6 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
67373
67397
  return LogLevelLabel.INFO;
67374
67398
  };
67375
67399
 
67376
- // packages/config-tools/src/utilities/chalk.ts
67377
- var import_chalk = __toESM(require_source());
67378
- var chalkDefault = {
67379
- hex: (_6) => (message) => message,
67380
- bgHex: (_6) => ({
67381
- whiteBright: (message) => message
67382
- }),
67383
- whiteBright: (message) => message,
67384
- bold: {
67385
- hex: (_6) => (message) => message,
67386
- bgHex: (_6) => ({
67387
- whiteBright: (message) => message
67388
- }),
67389
- whiteBright: (message) => message
67390
- }
67391
- };
67392
- var getChalk = () => {
67393
- let _chalk = import_chalk.default;
67394
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
67395
- _chalk = chalkDefault;
67396
- }
67397
- return _chalk;
67398
- };
67399
-
67400
67400
  // packages/config-tools/src/utilities/logger.ts
67401
67401
  var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
67402
67402
  let _chalk = getChalk();
@@ -67557,6 +67557,7 @@ var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio
67557
67557
  CLICOLOR: "true",
67558
67558
  FORCE_COLOR: "true"
67559
67559
  },
67560
+ windowsHide: true,
67560
67561
  stdio,
67561
67562
  maxBuffer: LARGE_BUFFER,
67562
67563
  killSignal: "SIGTERM"
@@ -63124,6 +63124,30 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
+ // packages/config-tools/src/utilities/chalk.ts
63128
+ var import_chalk = __toESM(require_source());
63129
+ var chalkDefault = {
63130
+ hex: (_6) => (message) => message,
63131
+ bgHex: (_6) => ({
63132
+ whiteBright: (message) => message
63133
+ }),
63134
+ whiteBright: (message) => message,
63135
+ bold: {
63136
+ hex: (_6) => (message) => message,
63137
+ bgHex: (_6) => ({
63138
+ whiteBright: (message) => message
63139
+ }),
63140
+ whiteBright: (message) => message
63141
+ }
63142
+ };
63143
+ var getChalk = () => {
63144
+ let _chalk = import_chalk.default;
63145
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
63146
+ _chalk = chalkDefault;
63147
+ }
63148
+ return _chalk;
63149
+ };
63150
+
63127
63151
  // packages/config/src/constants.ts
63128
63152
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63129
63153
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
@@ -67373,30 +67397,6 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
67373
67397
  return LogLevelLabel.INFO;
67374
67398
  };
67375
67399
 
67376
- // packages/config-tools/src/utilities/chalk.ts
67377
- var import_chalk = __toESM(require_source());
67378
- var chalkDefault = {
67379
- hex: (_6) => (message) => message,
67380
- bgHex: (_6) => ({
67381
- whiteBright: (message) => message
67382
- }),
67383
- whiteBright: (message) => message,
67384
- bold: {
67385
- hex: (_6) => (message) => message,
67386
- bgHex: (_6) => ({
67387
- whiteBright: (message) => message
67388
- }),
67389
- whiteBright: (message) => message
67390
- }
67391
- };
67392
- var getChalk = () => {
67393
- let _chalk = import_chalk.default;
67394
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
67395
- _chalk = chalkDefault;
67396
- }
67397
- return _chalk;
67398
- };
67399
-
67400
67400
  // packages/config-tools/src/utilities/logger.ts
67401
67401
  var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
67402
67402
  let _chalk = getChalk();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/git-tools",
3
- "version": "2.53.0",
3
+ "version": "2.54.0",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing various git tools used in Storm workspaces.",
6
6
  "repository": {
@@ -70,7 +70,7 @@
70
70
  "htmlparser2": "9.1.0",
71
71
  "inquirer": "9.2.23",
72
72
  "jsonc-parser": "3.2.1",
73
- "nx": "^19.5.6",
73
+ "nx": "^19.6.2",
74
74
  "prettier": "3.3.2",
75
75
  "semver": "7.6.2",
76
76
  "tsconfig-paths": "4.2.0",
package/src/cli/index.js CHANGED
@@ -222645,6 +222645,30 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
222645
222645
  return result2;
222646
222646
  }
222647
222647
 
222648
+ // packages/config-tools/src/utilities/chalk.ts
222649
+ var import_chalk = __toESM(require_source());
222650
+ var chalkDefault = {
222651
+ hex: (_15) => (message) => message,
222652
+ bgHex: (_15) => ({
222653
+ whiteBright: (message) => message
222654
+ }),
222655
+ whiteBright: (message) => message,
222656
+ bold: {
222657
+ hex: (_15) => (message) => message,
222658
+ bgHex: (_15) => ({
222659
+ whiteBright: (message) => message
222660
+ }),
222661
+ whiteBright: (message) => message
222662
+ }
222663
+ };
222664
+ var getChalk = () => {
222665
+ let _chalk = import_chalk.default;
222666
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
222667
+ _chalk = chalkDefault;
222668
+ }
222669
+ return _chalk;
222670
+ };
222671
+
222648
222672
  // packages/config/src/constants.ts
222649
222673
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
222650
222674
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
@@ -226894,30 +226918,6 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
226894
226918
  return LogLevelLabel.INFO;
226895
226919
  };
226896
226920
 
226897
- // packages/config-tools/src/utilities/chalk.ts
226898
- var import_chalk = __toESM(require_source());
226899
- var chalkDefault = {
226900
- hex: (_15) => (message) => message,
226901
- bgHex: (_15) => ({
226902
- whiteBright: (message) => message
226903
- }),
226904
- whiteBright: (message) => message,
226905
- bold: {
226906
- hex: (_15) => (message) => message,
226907
- bgHex: (_15) => ({
226908
- whiteBright: (message) => message
226909
- }),
226910
- whiteBright: (message) => message
226911
- }
226912
- };
226913
- var getChalk = () => {
226914
- let _chalk = import_chalk.default;
226915
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
226916
- _chalk = chalkDefault;
226917
- }
226918
- return _chalk;
226919
- };
226920
-
226921
226921
  // packages/config-tools/src/utilities/logger.ts
226922
226922
  var getLogFn = (logLevel = LogLevel.INFO, config2 = {}) => {
226923
226923
  let _chalk = getChalk();
@@ -227951,7 +227951,7 @@ var createState = async (commitConfig = "@storm-software/git-tools/src/commit/co
227951
227951
  answers: {}
227952
227952
  };
227953
227953
  } else {
227954
- writeInfo({}, `Using custom commit config file: ${commitConfig}`);
227954
+ writeInfo(`Using custom commit config file: ${commitConfig}`);
227955
227955
  let config2 = (await import(commitConfig))?.default;
227956
227956
  if (config2?.default) {
227957
227957
  config2 = config2?.default;
@@ -227976,22 +227976,24 @@ var createState = async (commitConfig = "@storm-software/git-tools/src/commit/co
227976
227976
  answers: {}
227977
227977
  };
227978
227978
  }
227979
- state.config.questions.type.enum = Object.keys(config_default.types).map(
227980
- (key2) => {
227981
- let name = key2;
227982
- let description = void 0;
227983
- const type2 = key2 in config_default3.types ? config_default3.types?.[key2] : void 0;
227984
- if (type2) {
227985
- name = `${key2} - ${type2.title} ${type2.emoji} ${type2.description ? type2.description : ""}`;
227986
- description = type2.description;
227987
- }
227988
- return { name, value: key2, description };
227979
+ state.config.questions.type.enum = Object.keys(
227980
+ config_default.types
227981
+ ).map((key2) => {
227982
+ let name = key2;
227983
+ let description = void 0;
227984
+ const type2 = key2 in config_default3.types ? config_default3.types?.[key2] : void 0;
227985
+ if (type2) {
227986
+ name = `${key2} - ${type2.title} ${type2.emoji} ${type2.description ? type2.description : ""}`;
227987
+ description = type2.description;
227989
227988
  }
227989
+ return { name, value: key2, description };
227990
+ });
227991
+ state.config.questions.scope.enum = (await getScopeEnum({})).map(
227992
+ (scope) => ({
227993
+ name: scope,
227994
+ value: scope
227995
+ })
227990
227996
  );
227991
- state.config.questions.scope.enum = (await getScopeEnum({})).map((scope) => ({
227992
- name: scope,
227993
- value: scope
227994
- }));
227995
227997
  state.answers = Object.keys(state.config.questions).reduce(
227996
227998
  (ret, key2) => {
227997
227999
  ret[key2] = "";
@@ -228052,7 +228054,12 @@ var runCommit = async (commitConfig = "@storm-software/git-tools/commit/config.j
228052
228054
  const message = formatCommitMessage(await commitPrompt(state));
228053
228055
  const commitMsgFile = join4(getGitDir(), "COMMIT_EDITMSG");
228054
228056
  const shellescape = await Promise.resolve().then(() => __toESM(require_shell_escape(), 1));
228055
- const command = shellescape.default(["git", "commit", "--file", commitMsgFile]);
228057
+ const command = shellescape.default([
228058
+ "git",
228059
+ "commit",
228060
+ "--file",
228061
+ commitMsgFile
228062
+ ]);
228056
228063
  if (dryRun) {
228057
228064
  console.log("Will execute command:");
228058
228065
  console.log(command.replace(commitMsgFile, ".git/COMMIT_EDITMSG"));
@@ -33365,12 +33365,33 @@ var commitPrompt = async (state) => {
33365
33365
  return state;
33366
33366
  };
33367
33367
 
33368
- // packages/git-tools/src/commitizen/commit-state.ts
33369
- import { execSync } from "node:child_process";
33370
-
33371
33368
  // packages/config-tools/src/config-file/get-config-file.ts
33372
33369
  var import_deepmerge = __toESM(require_cjs2());
33373
33370
 
33371
+ // packages/config-tools/src/utilities/chalk.ts
33372
+ var import_chalk12 = __toESM(require_source());
33373
+ var chalkDefault = {
33374
+ hex: (_3) => (message) => message,
33375
+ bgHex: (_3) => ({
33376
+ whiteBright: (message) => message
33377
+ }),
33378
+ whiteBright: (message) => message,
33379
+ bold: {
33380
+ hex: (_3) => (message) => message,
33381
+ bgHex: (_3) => ({
33382
+ whiteBright: (message) => message
33383
+ }),
33384
+ whiteBright: (message) => message
33385
+ }
33386
+ };
33387
+ var getChalk = () => {
33388
+ let _chalk = import_chalk12.default;
33389
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
33390
+ _chalk = chalkDefault;
33391
+ }
33392
+ return _chalk;
33393
+ };
33394
+
33374
33395
  // packages/config/src/constants.ts
33375
33396
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
33376
33397
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
@@ -37523,30 +37544,6 @@ var getLogLevel = (label) => {
37523
37544
  }
37524
37545
  };
37525
37546
 
37526
- // packages/config-tools/src/utilities/chalk.ts
37527
- var import_chalk12 = __toESM(require_source());
37528
- var chalkDefault = {
37529
- hex: (_3) => (message) => message,
37530
- bgHex: (_3) => ({
37531
- whiteBright: (message) => message
37532
- }),
37533
- whiteBright: (message) => message,
37534
- bold: {
37535
- hex: (_3) => (message) => message,
37536
- bgHex: (_3) => ({
37537
- whiteBright: (message) => message
37538
- }),
37539
- whiteBright: (message) => message
37540
- }
37541
- };
37542
- var getChalk = () => {
37543
- let _chalk = import_chalk12.default;
37544
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
37545
- _chalk = chalkDefault;
37546
- }
37547
- return _chalk;
37548
- };
37549
-
37550
37547
  // packages/config-tools/src/utilities/logger.ts
37551
37548
  var getLogFn = (logLevel = LogLevel.INFO, config2 = {}) => {
37552
37549
  let _chalk = getChalk();
@@ -37653,6 +37650,9 @@ var LARGE_BUFFER = 1024 * 1e6;
37653
37650
  // packages/config-tools/src/create-storm-config.ts
37654
37651
  var import_deepmerge2 = __toESM(require_cjs2());
37655
37652
 
37653
+ // packages/git-tools/src/commitizen/commit-state.ts
37654
+ import { execSync } from "node:child_process";
37655
+
37656
37656
  // packages/git-tools/src/types.ts
37657
37657
  var CommitQuestionsKeys = [
37658
37658
  "type",
@@ -37980,7 +37980,7 @@ var createState = async (commitConfig = "@storm-software/git-tools/src/commit/co
37980
37980
  answers: {}
37981
37981
  };
37982
37982
  } else {
37983
- writeInfo({}, `Using custom commit config file: ${commitConfig}`);
37983
+ writeInfo(`Using custom commit config file: ${commitConfig}`);
37984
37984
  let config2 = (await import(commitConfig))?.default;
37985
37985
  if (config2?.default) {
37986
37986
  config2 = config2?.default;
@@ -38005,22 +38005,24 @@ var createState = async (commitConfig = "@storm-software/git-tools/src/commit/co
38005
38005
  answers: {}
38006
38006
  };
38007
38007
  }
38008
- state.config.questions.type.enum = Object.keys(config_default.types).map(
38009
- (key) => {
38010
- let name = key;
38011
- let description = void 0;
38012
- const type = key in config_default3.types ? config_default3.types?.[key] : void 0;
38013
- if (type) {
38014
- name = `${key} - ${type.title} ${type.emoji} ${type.description ? type.description : ""}`;
38015
- description = type.description;
38016
- }
38017
- return { name, value: key, description };
38008
+ state.config.questions.type.enum = Object.keys(
38009
+ config_default.types
38010
+ ).map((key) => {
38011
+ let name = key;
38012
+ let description = void 0;
38013
+ const type = key in config_default3.types ? config_default3.types?.[key] : void 0;
38014
+ if (type) {
38015
+ name = `${key} - ${type.title} ${type.emoji} ${type.description ? type.description : ""}`;
38016
+ description = type.description;
38018
38017
  }
38018
+ return { name, value: key, description };
38019
+ });
38020
+ state.config.questions.scope.enum = (await getScopeEnum({})).map(
38021
+ (scope) => ({
38022
+ name: scope,
38023
+ value: scope
38024
+ })
38019
38025
  );
38020
- state.config.questions.scope.enum = (await getScopeEnum({})).map((scope) => ({
38021
- name: scope,
38022
- value: scope
38023
- }));
38024
38026
  state.answers = Object.keys(state.config.questions).reduce(
38025
38027
  (ret, key) => {
38026
38028
  ret[key] = "";
@@ -38081,7 +38083,12 @@ var runCommit = async (commitConfig = "@storm-software/git-tools/commit/config.j
38081
38083
  const message = formatCommitMessage(await commitPrompt(state));
38082
38084
  const commitMsgFile = join(getGitDir(), "COMMIT_EDITMSG");
38083
38085
  const shellescape = await Promise.resolve().then(() => __toESM(require_shell_escape(), 1));
38084
- const command = shellescape.default(["git", "commit", "--file", commitMsgFile]);
38086
+ const command = shellescape.default([
38087
+ "git",
38088
+ "commit",
38089
+ "--file",
38090
+ commitMsgFile
38091
+ ]);
38085
38092
  if (dryRun) {
38086
38093
  console.log("Will execute command:");
38087
38094
  console.log(command.replace(commitMsgFile, ".git/COMMIT_EDITMSG"));
@@ -33312,12 +33312,33 @@ var commitPrompt = async (state) => {
33312
33312
  return state;
33313
33313
  };
33314
33314
 
33315
- // packages/git-tools/src/commitizen/commit-state.ts
33316
- import { execSync } from "node:child_process";
33317
-
33318
33315
  // packages/config-tools/src/config-file/get-config-file.ts
33319
33316
  var import_deepmerge = __toESM(require_cjs2());
33320
33317
 
33318
+ // packages/config-tools/src/utilities/chalk.ts
33319
+ var import_chalk12 = __toESM(require_source());
33320
+ var chalkDefault = {
33321
+ hex: (_3) => (message) => message,
33322
+ bgHex: (_3) => ({
33323
+ whiteBright: (message) => message
33324
+ }),
33325
+ whiteBright: (message) => message,
33326
+ bold: {
33327
+ hex: (_3) => (message) => message,
33328
+ bgHex: (_3) => ({
33329
+ whiteBright: (message) => message
33330
+ }),
33331
+ whiteBright: (message) => message
33332
+ }
33333
+ };
33334
+ var getChalk = () => {
33335
+ let _chalk = import_chalk12.default;
33336
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
33337
+ _chalk = chalkDefault;
33338
+ }
33339
+ return _chalk;
33340
+ };
33341
+
33321
33342
  // packages/config/src/constants.ts
33322
33343
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
33323
33344
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
@@ -37470,30 +37491,6 @@ var getLogLevel = (label) => {
37470
37491
  }
37471
37492
  };
37472
37493
 
37473
- // packages/config-tools/src/utilities/chalk.ts
37474
- var import_chalk12 = __toESM(require_source());
37475
- var chalkDefault = {
37476
- hex: (_3) => (message) => message,
37477
- bgHex: (_3) => ({
37478
- whiteBright: (message) => message
37479
- }),
37480
- whiteBright: (message) => message,
37481
- bold: {
37482
- hex: (_3) => (message) => message,
37483
- bgHex: (_3) => ({
37484
- whiteBright: (message) => message
37485
- }),
37486
- whiteBright: (message) => message
37487
- }
37488
- };
37489
- var getChalk = () => {
37490
- let _chalk = import_chalk12.default;
37491
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
37492
- _chalk = chalkDefault;
37493
- }
37494
- return _chalk;
37495
- };
37496
-
37497
37494
  // packages/config-tools/src/utilities/logger.ts
37498
37495
  var getLogFn = (logLevel = LogLevel.INFO, config2 = {}) => {
37499
37496
  let _chalk = getChalk();
@@ -37600,6 +37597,9 @@ var LARGE_BUFFER = 1024 * 1e6;
37600
37597
  // packages/config-tools/src/create-storm-config.ts
37601
37598
  var import_deepmerge2 = __toESM(require_cjs2());
37602
37599
 
37600
+ // packages/git-tools/src/commitizen/commit-state.ts
37601
+ import { execSync } from "node:child_process";
37602
+
37603
37603
  // packages/git-tools/src/types.ts
37604
37604
  var CommitQuestionsKeys = [
37605
37605
  "type",
@@ -37927,7 +37927,7 @@ var createState = async (commitConfig = "@storm-software/git-tools/src/commit/co
37927
37927
  answers: {}
37928
37928
  };
37929
37929
  } else {
37930
- writeInfo({}, `Using custom commit config file: ${commitConfig}`);
37930
+ writeInfo(`Using custom commit config file: ${commitConfig}`);
37931
37931
  let config2 = (await import(commitConfig))?.default;
37932
37932
  if (config2?.default) {
37933
37933
  config2 = config2?.default;
@@ -37952,22 +37952,24 @@ var createState = async (commitConfig = "@storm-software/git-tools/src/commit/co
37952
37952
  answers: {}
37953
37953
  };
37954
37954
  }
37955
- state.config.questions.type.enum = Object.keys(config_default.types).map(
37956
- (key) => {
37957
- let name = key;
37958
- let description = void 0;
37959
- const type = key in config_default3.types ? config_default3.types?.[key] : void 0;
37960
- if (type) {
37961
- name = `${key} - ${type.title} ${type.emoji} ${type.description ? type.description : ""}`;
37962
- description = type.description;
37963
- }
37964
- return { name, value: key, description };
37955
+ state.config.questions.type.enum = Object.keys(
37956
+ config_default.types
37957
+ ).map((key) => {
37958
+ let name = key;
37959
+ let description = void 0;
37960
+ const type = key in config_default3.types ? config_default3.types?.[key] : void 0;
37961
+ if (type) {
37962
+ name = `${key} - ${type.title} ${type.emoji} ${type.description ? type.description : ""}`;
37963
+ description = type.description;
37965
37964
  }
37965
+ return { name, value: key, description };
37966
+ });
37967
+ state.config.questions.scope.enum = (await getScopeEnum({})).map(
37968
+ (scope) => ({
37969
+ name: scope,
37970
+ value: scope
37971
+ })
37966
37972
  );
37967
- state.config.questions.scope.enum = (await getScopeEnum({})).map((scope) => ({
37968
- name: scope,
37969
- value: scope
37970
- }));
37971
37973
  state.answers = Object.keys(state.config.questions).reduce(
37972
37974
  (ret, key) => {
37973
37975
  ret[key] = "";
package/src/index.js CHANGED
@@ -222645,6 +222645,30 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
222645
222645
  return result2;
222646
222646
  }
222647
222647
 
222648
+ // packages/config-tools/src/utilities/chalk.ts
222649
+ var import_chalk = __toESM(require_source());
222650
+ var chalkDefault = {
222651
+ hex: (_15) => (message) => message,
222652
+ bgHex: (_15) => ({
222653
+ whiteBright: (message) => message
222654
+ }),
222655
+ whiteBright: (message) => message,
222656
+ bold: {
222657
+ hex: (_15) => (message) => message,
222658
+ bgHex: (_15) => ({
222659
+ whiteBright: (message) => message
222660
+ }),
222661
+ whiteBright: (message) => message
222662
+ }
222663
+ };
222664
+ var getChalk = () => {
222665
+ let _chalk = import_chalk.default;
222666
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
222667
+ _chalk = chalkDefault;
222668
+ }
222669
+ return _chalk;
222670
+ };
222671
+
222648
222672
  // packages/config/src/constants.ts
222649
222673
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
222650
222674
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
@@ -226894,30 +226918,6 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
226894
226918
  return LogLevelLabel.INFO;
226895
226919
  };
226896
226920
 
226897
- // packages/config-tools/src/utilities/chalk.ts
226898
- var import_chalk = __toESM(require_source());
226899
- var chalkDefault = {
226900
- hex: (_15) => (message) => message,
226901
- bgHex: (_15) => ({
226902
- whiteBright: (message) => message
226903
- }),
226904
- whiteBright: (message) => message,
226905
- bold: {
226906
- hex: (_15) => (message) => message,
226907
- bgHex: (_15) => ({
226908
- whiteBright: (message) => message
226909
- }),
226910
- whiteBright: (message) => message
226911
- }
226912
- };
226913
- var getChalk = () => {
226914
- let _chalk = import_chalk.default;
226915
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
226916
- _chalk = chalkDefault;
226917
- }
226918
- return _chalk;
226919
- };
226920
-
226921
226921
  // packages/config-tools/src/utilities/logger.ts
226922
226922
  var getLogFn = (logLevel = LogLevel.INFO, config2 = {}) => {
226923
226923
  let _chalk = getChalk();
@@ -228053,7 +228053,7 @@ var createState = async (commitConfig = "@storm-software/git-tools/src/commit/co
228053
228053
  answers: {}
228054
228054
  };
228055
228055
  } else {
228056
- writeInfo({}, `Using custom commit config file: ${commitConfig}`);
228056
+ writeInfo(`Using custom commit config file: ${commitConfig}`);
228057
228057
  let config2 = (await import(commitConfig))?.default;
228058
228058
  if (config2?.default) {
228059
228059
  config2 = config2?.default;
@@ -228078,22 +228078,24 @@ var createState = async (commitConfig = "@storm-software/git-tools/src/commit/co
228078
228078
  answers: {}
228079
228079
  };
228080
228080
  }
228081
- state.config.questions.type.enum = Object.keys(config_default.types).map(
228082
- (key2) => {
228083
- let name = key2;
228084
- let description = void 0;
228085
- const type2 = key2 in config_default3.types ? config_default3.types?.[key2] : void 0;
228086
- if (type2) {
228087
- name = `${key2} - ${type2.title} ${type2.emoji} ${type2.description ? type2.description : ""}`;
228088
- description = type2.description;
228089
- }
228090
- return { name, value: key2, description };
228081
+ state.config.questions.type.enum = Object.keys(
228082
+ config_default.types
228083
+ ).map((key2) => {
228084
+ let name = key2;
228085
+ let description = void 0;
228086
+ const type2 = key2 in config_default3.types ? config_default3.types?.[key2] : void 0;
228087
+ if (type2) {
228088
+ name = `${key2} - ${type2.title} ${type2.emoji} ${type2.description ? type2.description : ""}`;
228089
+ description = type2.description;
228091
228090
  }
228091
+ return { name, value: key2, description };
228092
+ });
228093
+ state.config.questions.scope.enum = (await getScopeEnum({})).map(
228094
+ (scope) => ({
228095
+ name: scope,
228096
+ value: scope
228097
+ })
228092
228098
  );
228093
- state.config.questions.scope.enum = (await getScopeEnum({})).map((scope) => ({
228094
- name: scope,
228095
- value: scope
228096
- }));
228097
228099
  state.answers = Object.keys(state.config.questions).reduce(
228098
228100
  (ret, key2) => {
228099
228101
  ret[key2] = "";
@@ -228154,7 +228156,12 @@ var runCommit = async (commitConfig = "@storm-software/git-tools/commit/config.j
228154
228156
  const message = formatCommitMessage(await commitPrompt(state));
228155
228157
  const commitMsgFile = join4(getGitDir(), "COMMIT_EDITMSG");
228156
228158
  const shellescape = await Promise.resolve().then(() => __toESM(require_shell_escape(), 1));
228157
- const command = shellescape.default(["git", "commit", "--file", commitMsgFile]);
228159
+ const command = shellescape.default([
228160
+ "git",
228161
+ "commit",
228162
+ "--file",
228163
+ commitMsgFile
228164
+ ]);
228158
228165
  if (dryRun) {
228159
228166
  console.log("Will execute command:");
228160
228167
  console.log(command.replace(commitMsgFile, ".git/COMMIT_EDITMSG"));
@@ -1772,6 +1772,30 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
1772
1772
  return result;
1773
1773
  }
1774
1774
 
1775
+ // packages/config-tools/src/utilities/chalk.ts
1776
+ var import_chalk = __toESM(require_source());
1777
+ var chalkDefault = {
1778
+ hex: (_) => (message) => message,
1779
+ bgHex: (_) => ({
1780
+ whiteBright: (message) => message
1781
+ }),
1782
+ whiteBright: (message) => message,
1783
+ bold: {
1784
+ hex: (_) => (message) => message,
1785
+ bgHex: (_) => ({
1786
+ whiteBright: (message) => message
1787
+ }),
1788
+ whiteBright: (message) => message
1789
+ }
1790
+ };
1791
+ var getChalk = () => {
1792
+ let _chalk = import_chalk.default;
1793
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
1794
+ _chalk = chalkDefault;
1795
+ }
1796
+ return _chalk;
1797
+ };
1798
+
1775
1799
  // packages/config/src/constants.ts
1776
1800
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
1777
1801
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
@@ -5924,30 +5948,6 @@ var getLogLevel = (label) => {
5924
5948
  }
5925
5949
  };
5926
5950
 
5927
- // packages/config-tools/src/utilities/chalk.ts
5928
- var import_chalk = __toESM(require_source());
5929
- var chalkDefault = {
5930
- hex: (_) => (message) => message,
5931
- bgHex: (_) => ({
5932
- whiteBright: (message) => message
5933
- }),
5934
- whiteBright: (message) => message,
5935
- bold: {
5936
- hex: (_) => (message) => message,
5937
- bgHex: (_) => ({
5938
- whiteBright: (message) => message
5939
- }),
5940
- whiteBright: (message) => message
5941
- }
5942
- };
5943
- var getChalk = () => {
5944
- let _chalk = import_chalk.default;
5945
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
5946
- _chalk = chalkDefault;
5947
- }
5948
- return _chalk;
5949
- };
5950
-
5951
5951
  // packages/config-tools/src/utilities/logger.ts
5952
5952
  var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
5953
5953
  let _chalk = getChalk();