@storm-software/workspace-tools 1.168.0 → 1.170.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +1 -1
  3. package/declarations.d.ts +8 -0
  4. package/index.js +3143 -260
  5. package/meta.json +1 -1
  6. package/package.json +7 -7
  7. package/src/base/base-executor.js +23 -16
  8. package/src/base/base-generator.js +23 -16
  9. package/src/base/index.js +123 -116
  10. package/src/base/typescript-library-generator.js +100 -100
  11. package/src/executors/cargo-build/executor.js +23 -16
  12. package/src/executors/cargo-check/executor.js +23 -16
  13. package/src/executors/cargo-clippy/executor.js +23 -16
  14. package/src/executors/cargo-doc/executor.js +23 -16
  15. package/src/executors/cargo-format/executor.js +23 -16
  16. package/src/executors/clean-package/executor.js +23 -16
  17. package/src/executors/rolldown/executor.js +23 -16
  18. package/src/executors/rollup/executor.js +134 -115
  19. package/src/executors/size-limit/executor.js +23 -16
  20. package/src/executors/tsup/executor.js +23 -16
  21. package/src/executors/tsup-browser/executor.js +23 -16
  22. package/src/executors/tsup-neutral/executor.js +23 -16
  23. package/src/executors/tsup-node/executor.js +23 -16
  24. package/src/executors/typia/executor.js +23 -16
  25. package/src/executors/unbuild/executor.js +23 -16
  26. package/src/generators/browser-library/generator.js +123 -116
  27. package/src/generators/config-schema/generator.js +23 -16
  28. package/src/generators/neutral-library/generator.js +123 -116
  29. package/src/generators/node-library/generator.js +123 -116
  30. package/src/generators/preset/generator.js +23 -16
  31. package/src/generators/release-version/generator.js +31 -24
  32. package/src/plugins/rust/index.js +13 -0
  33. package/src/plugins/typescript/index.js +13 -0
  34. package/src/utils/index.js +30 -16
  35. package/src/utils/project-tags.d.ts +8 -1
  36. package/src/utils/project-tags.js +7 -0
@@ -67551,7 +67551,8 @@ var init_schema = __esm({
67551
67551
  github: RegistryUrlConfigSchema,
67552
67552
  npm: RegistryUrlConfigSchema,
67553
67553
  cargo: RegistryUrlConfigSchema,
67554
- cyclone: RegistryUrlConfigSchema
67554
+ cyclone: RegistryUrlConfigSchema,
67555
+ container: RegistryUrlConfigSchema
67555
67556
  }).default({}).describe("A list of remote registry URLs used by Storm Software");
67556
67557
  ColorConfigSchema = SingleThemeColorConfigSchema.or(
67557
67558
  MultiThemeColorConfigSchema
@@ -67861,7 +67862,7 @@ var init_logger = __esm({
67861
67862
  init_get_default_config();
67862
67863
  init_get_log_level();
67863
67864
  getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
67864
- let _chalk = getChalk();
67865
+ const _chalk = getChalk();
67865
67866
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
67866
67867
  const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
67867
67868
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
@@ -68110,10 +68111,9 @@ var init_get_config_file = __esm({
68110
68111
  };
68111
68112
  getConfigFile = async (filePath, additionalFileNames = []) => {
68112
68113
  const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
68113
- let { config, configFile } = await getConfigFileByName(
68114
- "storm",
68115
- workspacePath
68116
- );
68114
+ const result = await getConfigFileByName("storm", workspacePath);
68115
+ let config = result.config;
68116
+ const configFile = result.configFile;
68117
68117
  if (config && Object.keys(config).length > 0) {
68118
68118
  writeTrace(
68119
68119
  `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
@@ -68128,15 +68128,15 @@ var init_get_config_file = __esm({
68128
68128
  (fileName) => getConfigFileByName(fileName, workspacePath)
68129
68129
  )
68130
68130
  );
68131
- for (const result of results) {
68132
- if (result?.config && Object.keys(result.config).length > 0) {
68131
+ for (const result2 of results) {
68132
+ if (result2?.config && Object.keys(result2.config).length > 0) {
68133
68133
  writeTrace(
68134
- `Found additional configuration file "${result.configFile}" at "${workspacePath}"`,
68134
+ `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
68135
68135
  {
68136
68136
  logLevel: "all"
68137
68137
  }
68138
68138
  );
68139
- config = (0, import_deepmerge.default)(result.config ?? {}, config ?? {});
68139
+ config = (0, import_deepmerge.default)(result2.config ?? {}, config ?? {});
68140
68140
  }
68141
68141
  }
68142
68142
  }
@@ -68218,7 +68218,8 @@ var init_get_env = __esm({
68218
68218
  github: process.env[`${prefix}REGISTRY_GITHUB`],
68219
68219
  npm: process.env[`${prefix}REGISTRY_NPM`],
68220
68220
  cargo: process.env[`${prefix}REGISTRY_CARGO`],
68221
- cyclone: process.env[`${prefix}REGISTRY_CYCLONE`]
68221
+ cyclone: process.env[`${prefix}REGISTRY_CYCLONE`],
68222
+ container: process.env[`${prefix}REGISTRY_CONTAINER`]
68222
68223
  },
68223
68224
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
68224
68225
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
@@ -68477,6 +68478,11 @@ var init_set_env = __esm({
68477
68478
  config.registry.cyclone
68478
68479
  );
68479
68480
  }
68481
+ if (config.registry.container) {
68482
+ process.env[`${prefix}REGISTRY_CONTAINER`] = String(
68483
+ config.registry.cyclone
68484
+ );
68485
+ }
68480
68486
  }
68481
68487
  if (config.logLevel) {
68482
68488
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
@@ -68649,7 +68655,7 @@ var init_create_storm_config = __esm({
68649
68655
  if (!_workspaceRoot) {
68650
68656
  _workspaceRoot = findWorkspaceRoot();
68651
68657
  }
68652
- let configFile = await getConfigFile(
68658
+ const configFile = await getConfigFile(
68653
68659
  _workspaceRoot
68654
68660
  );
68655
68661
  if (!configFile) {
@@ -68673,10 +68679,11 @@ var init_create_storm_config = __esm({
68673
68679
  _workspaceRoot
68674
68680
  );
68675
68681
  setConfigEnv(config);
68676
- writeInfo(`\u2699\uFE0F Using Storm configuration:
68677
- ${formatLogMessage(config)}`, {
68678
- logLevel: "all"
68679
- });
68682
+ writeTrace(
68683
+ `\u2699\uFE0F Using Storm configuration:
68684
+ ${formatLogMessage(config)}`,
68685
+ config
68686
+ );
68680
68687
  return config;
68681
68688
  };
68682
68689
  }
@@ -67063,7 +67063,8 @@ var init_schema = __esm({
67063
67063
  github: RegistryUrlConfigSchema,
67064
67064
  npm: RegistryUrlConfigSchema,
67065
67065
  cargo: RegistryUrlConfigSchema,
67066
- cyclone: RegistryUrlConfigSchema
67066
+ cyclone: RegistryUrlConfigSchema,
67067
+ container: RegistryUrlConfigSchema
67067
67068
  }).default({}).describe("A list of remote registry URLs used by Storm Software");
67068
67069
  ColorConfigSchema = SingleThemeColorConfigSchema.or(
67069
67070
  MultiThemeColorConfigSchema
@@ -67373,7 +67374,7 @@ var init_logger = __esm({
67373
67374
  init_get_default_config();
67374
67375
  init_get_log_level();
67375
67376
  getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
67376
- let _chalk = getChalk();
67377
+ const _chalk = getChalk();
67377
67378
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
67378
67379
  const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
67379
67380
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
@@ -67622,10 +67623,9 @@ var init_get_config_file = __esm({
67622
67623
  };
67623
67624
  getConfigFile = async (filePath, additionalFileNames = []) => {
67624
67625
  const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
67625
- let { config, configFile } = await getConfigFileByName(
67626
- "storm",
67627
- workspacePath
67628
- );
67626
+ const result = await getConfigFileByName("storm", workspacePath);
67627
+ let config = result.config;
67628
+ const configFile = result.configFile;
67629
67629
  if (config && Object.keys(config).length > 0) {
67630
67630
  writeTrace(
67631
67631
  `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
@@ -67640,15 +67640,15 @@ var init_get_config_file = __esm({
67640
67640
  (fileName) => getConfigFileByName(fileName, workspacePath)
67641
67641
  )
67642
67642
  );
67643
- for (const result of results) {
67644
- if (result?.config && Object.keys(result.config).length > 0) {
67643
+ for (const result2 of results) {
67644
+ if (result2?.config && Object.keys(result2.config).length > 0) {
67645
67645
  writeTrace(
67646
- `Found additional configuration file "${result.configFile}" at "${workspacePath}"`,
67646
+ `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
67647
67647
  {
67648
67648
  logLevel: "all"
67649
67649
  }
67650
67650
  );
67651
- config = (0, import_deepmerge.default)(result.config ?? {}, config ?? {});
67651
+ config = (0, import_deepmerge.default)(result2.config ?? {}, config ?? {});
67652
67652
  }
67653
67653
  }
67654
67654
  }
@@ -67730,7 +67730,8 @@ var init_get_env = __esm({
67730
67730
  github: process.env[`${prefix}REGISTRY_GITHUB`],
67731
67731
  npm: process.env[`${prefix}REGISTRY_NPM`],
67732
67732
  cargo: process.env[`${prefix}REGISTRY_CARGO`],
67733
- cyclone: process.env[`${prefix}REGISTRY_CYCLONE`]
67733
+ cyclone: process.env[`${prefix}REGISTRY_CYCLONE`],
67734
+ container: process.env[`${prefix}REGISTRY_CONTAINER`]
67734
67735
  },
67735
67736
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
67736
67737
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
@@ -67989,6 +67990,11 @@ var init_set_env = __esm({
67989
67990
  config.registry.cyclone
67990
67991
  );
67991
67992
  }
67993
+ if (config.registry.container) {
67994
+ process.env[`${prefix}REGISTRY_CONTAINER`] = String(
67995
+ config.registry.cyclone
67996
+ );
67997
+ }
67992
67998
  }
67993
67999
  if (config.logLevel) {
67994
68000
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
@@ -68161,7 +68167,7 @@ var init_create_storm_config = __esm({
68161
68167
  if (!_workspaceRoot) {
68162
68168
  _workspaceRoot = findWorkspaceRoot();
68163
68169
  }
68164
- let configFile = await getConfigFile(
68170
+ const configFile = await getConfigFile(
68165
68171
  _workspaceRoot
68166
68172
  );
68167
68173
  if (!configFile) {
@@ -68185,10 +68191,11 @@ var init_create_storm_config = __esm({
68185
68191
  _workspaceRoot
68186
68192
  );
68187
68193
  setConfigEnv(config);
68188
- writeInfo(`\u2699\uFE0F Using Storm configuration:
68189
- ${formatLogMessage(config)}`, {
68190
- logLevel: "all"
68191
- });
68194
+ writeTrace(
68195
+ `\u2699\uFE0F Using Storm configuration:
68196
+ ${formatLogMessage(config)}`,
68197
+ config
68198
+ );
68192
68199
  return config;
68193
68200
  };
68194
68201
  }
@@ -67063,7 +67063,8 @@ var init_schema = __esm({
67063
67063
  github: RegistryUrlConfigSchema,
67064
67064
  npm: RegistryUrlConfigSchema,
67065
67065
  cargo: RegistryUrlConfigSchema,
67066
- cyclone: RegistryUrlConfigSchema
67066
+ cyclone: RegistryUrlConfigSchema,
67067
+ container: RegistryUrlConfigSchema
67067
67068
  }).default({}).describe("A list of remote registry URLs used by Storm Software");
67068
67069
  ColorConfigSchema = SingleThemeColorConfigSchema.or(
67069
67070
  MultiThemeColorConfigSchema
@@ -67373,7 +67374,7 @@ var init_logger = __esm({
67373
67374
  init_get_default_config();
67374
67375
  init_get_log_level();
67375
67376
  getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
67376
- let _chalk = getChalk();
67377
+ const _chalk = getChalk();
67377
67378
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
67378
67379
  const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
67379
67380
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
@@ -67622,10 +67623,9 @@ var init_get_config_file = __esm({
67622
67623
  };
67623
67624
  getConfigFile = async (filePath, additionalFileNames = []) => {
67624
67625
  const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
67625
- let { config, configFile } = await getConfigFileByName(
67626
- "storm",
67627
- workspacePath
67628
- );
67626
+ const result = await getConfigFileByName("storm", workspacePath);
67627
+ let config = result.config;
67628
+ const configFile = result.configFile;
67629
67629
  if (config && Object.keys(config).length > 0) {
67630
67630
  writeTrace(
67631
67631
  `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
@@ -67640,15 +67640,15 @@ var init_get_config_file = __esm({
67640
67640
  (fileName) => getConfigFileByName(fileName, workspacePath)
67641
67641
  )
67642
67642
  );
67643
- for (const result of results) {
67644
- if (result?.config && Object.keys(result.config).length > 0) {
67643
+ for (const result2 of results) {
67644
+ if (result2?.config && Object.keys(result2.config).length > 0) {
67645
67645
  writeTrace(
67646
- `Found additional configuration file "${result.configFile}" at "${workspacePath}"`,
67646
+ `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
67647
67647
  {
67648
67648
  logLevel: "all"
67649
67649
  }
67650
67650
  );
67651
- config = (0, import_deepmerge.default)(result.config ?? {}, config ?? {});
67651
+ config = (0, import_deepmerge.default)(result2.config ?? {}, config ?? {});
67652
67652
  }
67653
67653
  }
67654
67654
  }
@@ -67730,7 +67730,8 @@ var init_get_env = __esm({
67730
67730
  github: process.env[`${prefix}REGISTRY_GITHUB`],
67731
67731
  npm: process.env[`${prefix}REGISTRY_NPM`],
67732
67732
  cargo: process.env[`${prefix}REGISTRY_CARGO`],
67733
- cyclone: process.env[`${prefix}REGISTRY_CYCLONE`]
67733
+ cyclone: process.env[`${prefix}REGISTRY_CYCLONE`],
67734
+ container: process.env[`${prefix}REGISTRY_CONTAINER`]
67734
67735
  },
67735
67736
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
67736
67737
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
@@ -67989,6 +67990,11 @@ var init_set_env = __esm({
67989
67990
  config.registry.cyclone
67990
67991
  );
67991
67992
  }
67993
+ if (config.registry.container) {
67994
+ process.env[`${prefix}REGISTRY_CONTAINER`] = String(
67995
+ config.registry.cyclone
67996
+ );
67997
+ }
67992
67998
  }
67993
67999
  if (config.logLevel) {
67994
68000
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
@@ -68161,7 +68167,7 @@ var init_create_storm_config = __esm({
68161
68167
  if (!_workspaceRoot) {
68162
68168
  _workspaceRoot = findWorkspaceRoot();
68163
68169
  }
68164
- let configFile = await getConfigFile(
68170
+ const configFile = await getConfigFile(
68165
68171
  _workspaceRoot
68166
68172
  );
68167
68173
  if (!configFile) {
@@ -68185,10 +68191,11 @@ var init_create_storm_config = __esm({
68185
68191
  _workspaceRoot
68186
68192
  );
68187
68193
  setConfigEnv(config);
68188
- writeInfo(`\u2699\uFE0F Using Storm configuration:
68189
- ${formatLogMessage(config)}`, {
68190
- logLevel: "all"
68191
- });
68194
+ writeTrace(
68195
+ `\u2699\uFE0F Using Storm configuration:
68196
+ ${formatLogMessage(config)}`,
68197
+ config
68198
+ );
68192
68199
  return config;
68193
68200
  };
68194
68201
  }
@@ -67063,7 +67063,8 @@ var init_schema = __esm({
67063
67063
  github: RegistryUrlConfigSchema,
67064
67064
  npm: RegistryUrlConfigSchema,
67065
67065
  cargo: RegistryUrlConfigSchema,
67066
- cyclone: RegistryUrlConfigSchema
67066
+ cyclone: RegistryUrlConfigSchema,
67067
+ container: RegistryUrlConfigSchema
67067
67068
  }).default({}).describe("A list of remote registry URLs used by Storm Software");
67068
67069
  ColorConfigSchema = SingleThemeColorConfigSchema.or(
67069
67070
  MultiThemeColorConfigSchema
@@ -67373,7 +67374,7 @@ var init_logger = __esm({
67373
67374
  init_get_default_config();
67374
67375
  init_get_log_level();
67375
67376
  getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
67376
- let _chalk = getChalk();
67377
+ const _chalk = getChalk();
67377
67378
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
67378
67379
  const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
67379
67380
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
@@ -67622,10 +67623,9 @@ var init_get_config_file = __esm({
67622
67623
  };
67623
67624
  getConfigFile = async (filePath, additionalFileNames = []) => {
67624
67625
  const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
67625
- let { config, configFile } = await getConfigFileByName(
67626
- "storm",
67627
- workspacePath
67628
- );
67626
+ const result = await getConfigFileByName("storm", workspacePath);
67627
+ let config = result.config;
67628
+ const configFile = result.configFile;
67629
67629
  if (config && Object.keys(config).length > 0) {
67630
67630
  writeTrace(
67631
67631
  `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
@@ -67640,15 +67640,15 @@ var init_get_config_file = __esm({
67640
67640
  (fileName) => getConfigFileByName(fileName, workspacePath)
67641
67641
  )
67642
67642
  );
67643
- for (const result of results) {
67644
- if (result?.config && Object.keys(result.config).length > 0) {
67643
+ for (const result2 of results) {
67644
+ if (result2?.config && Object.keys(result2.config).length > 0) {
67645
67645
  writeTrace(
67646
- `Found additional configuration file "${result.configFile}" at "${workspacePath}"`,
67646
+ `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
67647
67647
  {
67648
67648
  logLevel: "all"
67649
67649
  }
67650
67650
  );
67651
- config = (0, import_deepmerge.default)(result.config ?? {}, config ?? {});
67651
+ config = (0, import_deepmerge.default)(result2.config ?? {}, config ?? {});
67652
67652
  }
67653
67653
  }
67654
67654
  }
@@ -67730,7 +67730,8 @@ var init_get_env = __esm({
67730
67730
  github: process.env[`${prefix}REGISTRY_GITHUB`],
67731
67731
  npm: process.env[`${prefix}REGISTRY_NPM`],
67732
67732
  cargo: process.env[`${prefix}REGISTRY_CARGO`],
67733
- cyclone: process.env[`${prefix}REGISTRY_CYCLONE`]
67733
+ cyclone: process.env[`${prefix}REGISTRY_CYCLONE`],
67734
+ container: process.env[`${prefix}REGISTRY_CONTAINER`]
67734
67735
  },
67735
67736
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
67736
67737
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
@@ -67989,6 +67990,11 @@ var init_set_env = __esm({
67989
67990
  config.registry.cyclone
67990
67991
  );
67991
67992
  }
67993
+ if (config.registry.container) {
67994
+ process.env[`${prefix}REGISTRY_CONTAINER`] = String(
67995
+ config.registry.cyclone
67996
+ );
67997
+ }
67992
67998
  }
67993
67999
  if (config.logLevel) {
67994
68000
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
@@ -68161,7 +68167,7 @@ var init_create_storm_config = __esm({
68161
68167
  if (!_workspaceRoot) {
68162
68168
  _workspaceRoot = findWorkspaceRoot();
68163
68169
  }
68164
- let configFile = await getConfigFile(
68170
+ const configFile = await getConfigFile(
68165
68171
  _workspaceRoot
68166
68172
  );
68167
68173
  if (!configFile) {
@@ -68185,10 +68191,11 @@ var init_create_storm_config = __esm({
68185
68191
  _workspaceRoot
68186
68192
  );
68187
68193
  setConfigEnv(config);
68188
- writeInfo(`\u2699\uFE0F Using Storm configuration:
68189
- ${formatLogMessage(config)}`, {
68190
- logLevel: "all"
68191
- });
68194
+ writeTrace(
68195
+ `\u2699\uFE0F Using Storm configuration:
68196
+ ${formatLogMessage(config)}`,
68197
+ config
68198
+ );
68192
68199
  return config;
68193
68200
  };
68194
68201
  }
@@ -67063,7 +67063,8 @@ var init_schema = __esm({
67063
67063
  github: RegistryUrlConfigSchema,
67064
67064
  npm: RegistryUrlConfigSchema,
67065
67065
  cargo: RegistryUrlConfigSchema,
67066
- cyclone: RegistryUrlConfigSchema
67066
+ cyclone: RegistryUrlConfigSchema,
67067
+ container: RegistryUrlConfigSchema
67067
67068
  }).default({}).describe("A list of remote registry URLs used by Storm Software");
67068
67069
  ColorConfigSchema = SingleThemeColorConfigSchema.or(
67069
67070
  MultiThemeColorConfigSchema
@@ -67373,7 +67374,7 @@ var init_logger = __esm({
67373
67374
  init_get_default_config();
67374
67375
  init_get_log_level();
67375
67376
  getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
67376
- let _chalk = getChalk();
67377
+ const _chalk = getChalk();
67377
67378
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
67378
67379
  const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
67379
67380
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
@@ -67622,10 +67623,9 @@ var init_get_config_file = __esm({
67622
67623
  };
67623
67624
  getConfigFile = async (filePath, additionalFileNames = []) => {
67624
67625
  const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
67625
- let { config, configFile } = await getConfigFileByName(
67626
- "storm",
67627
- workspacePath
67628
- );
67626
+ const result = await getConfigFileByName("storm", workspacePath);
67627
+ let config = result.config;
67628
+ const configFile = result.configFile;
67629
67629
  if (config && Object.keys(config).length > 0) {
67630
67630
  writeTrace(
67631
67631
  `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
@@ -67640,15 +67640,15 @@ var init_get_config_file = __esm({
67640
67640
  (fileName) => getConfigFileByName(fileName, workspacePath)
67641
67641
  )
67642
67642
  );
67643
- for (const result of results) {
67644
- if (result?.config && Object.keys(result.config).length > 0) {
67643
+ for (const result2 of results) {
67644
+ if (result2?.config && Object.keys(result2.config).length > 0) {
67645
67645
  writeTrace(
67646
- `Found additional configuration file "${result.configFile}" at "${workspacePath}"`,
67646
+ `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
67647
67647
  {
67648
67648
  logLevel: "all"
67649
67649
  }
67650
67650
  );
67651
- config = (0, import_deepmerge.default)(result.config ?? {}, config ?? {});
67651
+ config = (0, import_deepmerge.default)(result2.config ?? {}, config ?? {});
67652
67652
  }
67653
67653
  }
67654
67654
  }
@@ -67730,7 +67730,8 @@ var init_get_env = __esm({
67730
67730
  github: process.env[`${prefix}REGISTRY_GITHUB`],
67731
67731
  npm: process.env[`${prefix}REGISTRY_NPM`],
67732
67732
  cargo: process.env[`${prefix}REGISTRY_CARGO`],
67733
- cyclone: process.env[`${prefix}REGISTRY_CYCLONE`]
67733
+ cyclone: process.env[`${prefix}REGISTRY_CYCLONE`],
67734
+ container: process.env[`${prefix}REGISTRY_CONTAINER`]
67734
67735
  },
67735
67736
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
67736
67737
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
@@ -67989,6 +67990,11 @@ var init_set_env = __esm({
67989
67990
  config.registry.cyclone
67990
67991
  );
67991
67992
  }
67993
+ if (config.registry.container) {
67994
+ process.env[`${prefix}REGISTRY_CONTAINER`] = String(
67995
+ config.registry.cyclone
67996
+ );
67997
+ }
67992
67998
  }
67993
67999
  if (config.logLevel) {
67994
68000
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
@@ -68161,7 +68167,7 @@ var init_create_storm_config = __esm({
68161
68167
  if (!_workspaceRoot) {
68162
68168
  _workspaceRoot = findWorkspaceRoot();
68163
68169
  }
68164
- let configFile = await getConfigFile(
68170
+ const configFile = await getConfigFile(
68165
68171
  _workspaceRoot
68166
68172
  );
68167
68173
  if (!configFile) {
@@ -68185,10 +68191,11 @@ var init_create_storm_config = __esm({
68185
68191
  _workspaceRoot
68186
68192
  );
68187
68193
  setConfigEnv(config);
68188
- writeInfo(`\u2699\uFE0F Using Storm configuration:
68189
- ${formatLogMessage(config)}`, {
68190
- logLevel: "all"
68191
- });
68194
+ writeTrace(
68195
+ `\u2699\uFE0F Using Storm configuration:
68196
+ ${formatLogMessage(config)}`,
68197
+ config
68198
+ );
68192
68199
  return config;
68193
68200
  };
68194
68201
  }
@@ -300327,7 +300327,8 @@ var init_schema = __esm({
300327
300327
  github: RegistryUrlConfigSchema,
300328
300328
  npm: RegistryUrlConfigSchema,
300329
300329
  cargo: RegistryUrlConfigSchema,
300330
- cyclone: RegistryUrlConfigSchema
300330
+ cyclone: RegistryUrlConfigSchema,
300331
+ container: RegistryUrlConfigSchema
300331
300332
  }).default({}).describe("A list of remote registry URLs used by Storm Software");
300332
300333
  ColorConfigSchema = SingleThemeColorConfigSchema.or(
300333
300334
  MultiThemeColorConfigSchema
@@ -300637,7 +300638,7 @@ var init_logger = __esm({
300637
300638
  init_get_default_config();
300638
300639
  init_get_log_level();
300639
300640
  getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
300640
- let _chalk = getChalk();
300641
+ const _chalk = getChalk();
300641
300642
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
300642
300643
  const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
300643
300644
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
@@ -300886,10 +300887,9 @@ var init_get_config_file = __esm({
300886
300887
  };
300887
300888
  getConfigFile = async (filePath, additionalFileNames = []) => {
300888
300889
  const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
300889
- let { config, configFile } = await getConfigFileByName(
300890
- "storm",
300891
- workspacePath
300892
- );
300890
+ const result = await getConfigFileByName("storm", workspacePath);
300891
+ let config = result.config;
300892
+ const configFile = result.configFile;
300893
300893
  if (config && Object.keys(config).length > 0) {
300894
300894
  writeTrace(
300895
300895
  `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
@@ -300904,15 +300904,15 @@ var init_get_config_file = __esm({
300904
300904
  (fileName) => getConfigFileByName(fileName, workspacePath)
300905
300905
  )
300906
300906
  );
300907
- for (const result of results) {
300908
- if (result?.config && Object.keys(result.config).length > 0) {
300907
+ for (const result2 of results) {
300908
+ if (result2?.config && Object.keys(result2.config).length > 0) {
300909
300909
  writeTrace(
300910
- `Found additional configuration file "${result.configFile}" at "${workspacePath}"`,
300910
+ `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
300911
300911
  {
300912
300912
  logLevel: "all"
300913
300913
  }
300914
300914
  );
300915
- config = (0, import_deepmerge.default)(result.config ?? {}, config ?? {});
300915
+ config = (0, import_deepmerge.default)(result2.config ?? {}, config ?? {});
300916
300916
  }
300917
300917
  }
300918
300918
  }
@@ -300994,7 +300994,8 @@ var init_get_env = __esm({
300994
300994
  github: process.env[`${prefix}REGISTRY_GITHUB`],
300995
300995
  npm: process.env[`${prefix}REGISTRY_NPM`],
300996
300996
  cargo: process.env[`${prefix}REGISTRY_CARGO`],
300997
- cyclone: process.env[`${prefix}REGISTRY_CYCLONE`]
300997
+ cyclone: process.env[`${prefix}REGISTRY_CYCLONE`],
300998
+ container: process.env[`${prefix}REGISTRY_CONTAINER`]
300998
300999
  },
300999
301000
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
301000
301001
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
@@ -301253,6 +301254,11 @@ var init_set_env = __esm({
301253
301254
  config.registry.cyclone
301254
301255
  );
301255
301256
  }
301257
+ if (config.registry.container) {
301258
+ process.env[`${prefix}REGISTRY_CONTAINER`] = String(
301259
+ config.registry.cyclone
301260
+ );
301261
+ }
301256
301262
  }
301257
301263
  if (config.logLevel) {
301258
301264
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
@@ -301425,7 +301431,7 @@ var init_create_storm_config = __esm({
301425
301431
  if (!_workspaceRoot) {
301426
301432
  _workspaceRoot = findWorkspaceRoot();
301427
301433
  }
301428
- let configFile = await getConfigFile(
301434
+ const configFile = await getConfigFile(
301429
301435
  _workspaceRoot
301430
301436
  );
301431
301437
  if (!configFile) {
@@ -301449,10 +301455,11 @@ var init_create_storm_config = __esm({
301449
301455
  _workspaceRoot
301450
301456
  );
301451
301457
  setConfigEnv(config);
301452
- writeInfo(`\u2699\uFE0F Using Storm configuration:
301453
- ${formatLogMessage(config)}`, {
301454
- logLevel: "all"
301455
- });
301458
+ writeTrace(
301459
+ `\u2699\uFE0F Using Storm configuration:
301460
+ ${formatLogMessage(config)}`,
301461
+ config
301462
+ );
301456
301463
  return config;
301457
301464
  };
301458
301465
  }