@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
@@ -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
  }
@@ -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
  }
@@ -69384,7 +69384,8 @@ var init_schema = __esm({
69384
69384
  github: RegistryUrlConfigSchema,
69385
69385
  npm: RegistryUrlConfigSchema,
69386
69386
  cargo: RegistryUrlConfigSchema,
69387
- cyclone: RegistryUrlConfigSchema
69387
+ cyclone: RegistryUrlConfigSchema,
69388
+ container: RegistryUrlConfigSchema
69388
69389
  }).default({}).describe("A list of remote registry URLs used by Storm Software");
69389
69390
  ColorConfigSchema = SingleThemeColorConfigSchema.or(
69390
69391
  MultiThemeColorConfigSchema
@@ -69694,7 +69695,7 @@ var init_logger = __esm({
69694
69695
  init_get_default_config();
69695
69696
  init_get_log_level();
69696
69697
  getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
69697
- let _chalk = getChalk();
69698
+ const _chalk = getChalk();
69698
69699
  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;
69699
69700
  const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
69700
69701
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
@@ -69943,10 +69944,9 @@ var init_get_config_file = __esm({
69943
69944
  };
69944
69945
  getConfigFile = async (filePath, additionalFileNames = []) => {
69945
69946
  const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
69946
- let { config, configFile } = await getConfigFileByName(
69947
- "storm",
69948
- workspacePath
69949
- );
69947
+ const result = await getConfigFileByName("storm", workspacePath);
69948
+ let config = result.config;
69949
+ const configFile = result.configFile;
69950
69950
  if (config && Object.keys(config).length > 0) {
69951
69951
  writeTrace(
69952
69952
  `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
@@ -69961,15 +69961,15 @@ var init_get_config_file = __esm({
69961
69961
  (fileName) => getConfigFileByName(fileName, workspacePath)
69962
69962
  )
69963
69963
  );
69964
- for (const result of results) {
69965
- if (result?.config && Object.keys(result.config).length > 0) {
69964
+ for (const result2 of results) {
69965
+ if (result2?.config && Object.keys(result2.config).length > 0) {
69966
69966
  writeTrace(
69967
- `Found additional configuration file "${result.configFile}" at "${workspacePath}"`,
69967
+ `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
69968
69968
  {
69969
69969
  logLevel: "all"
69970
69970
  }
69971
69971
  );
69972
- config = (0, import_deepmerge.default)(result.config ?? {}, config ?? {});
69972
+ config = (0, import_deepmerge.default)(result2.config ?? {}, config ?? {});
69973
69973
  }
69974
69974
  }
69975
69975
  }
@@ -70051,7 +70051,8 @@ var init_get_env = __esm({
70051
70051
  github: process.env[`${prefix}REGISTRY_GITHUB`],
70052
70052
  npm: process.env[`${prefix}REGISTRY_NPM`],
70053
70053
  cargo: process.env[`${prefix}REGISTRY_CARGO`],
70054
- cyclone: process.env[`${prefix}REGISTRY_CYCLONE`]
70054
+ cyclone: process.env[`${prefix}REGISTRY_CYCLONE`],
70055
+ container: process.env[`${prefix}REGISTRY_CONTAINER`]
70055
70056
  },
70056
70057
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
70057
70058
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
@@ -70310,6 +70311,11 @@ var init_set_env = __esm({
70310
70311
  config.registry.cyclone
70311
70312
  );
70312
70313
  }
70314
+ if (config.registry.container) {
70315
+ process.env[`${prefix}REGISTRY_CONTAINER`] = String(
70316
+ config.registry.cyclone
70317
+ );
70318
+ }
70313
70319
  }
70314
70320
  if (config.logLevel) {
70315
70321
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
@@ -70482,7 +70488,7 @@ var init_create_storm_config = __esm({
70482
70488
  if (!_workspaceRoot) {
70483
70489
  _workspaceRoot = findWorkspaceRoot();
70484
70490
  }
70485
- let configFile = await getConfigFile(
70491
+ const configFile = await getConfigFile(
70486
70492
  _workspaceRoot
70487
70493
  );
70488
70494
  if (!configFile) {
@@ -70506,10 +70512,11 @@ var init_create_storm_config = __esm({
70506
70512
  _workspaceRoot
70507
70513
  );
70508
70514
  setConfigEnv(config);
70509
- writeInfo(`\u2699\uFE0F Using Storm configuration:
70510
- ${formatLogMessage(config)}`, {
70511
- logLevel: "all"
70512
- });
70515
+ writeTrace(
70516
+ `\u2699\uFE0F Using Storm configuration:
70517
+ ${formatLogMessage(config)}`,
70518
+ config
70519
+ );
70513
70520
  return config;
70514
70521
  };
70515
70522
  }