@storm-software/projen 0.8.0 → 0.8.2

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,15 @@
1
+ ## 0.8.2 (2025-01-29)
2
+
3
+ ### Miscellaneous
4
+
5
+ - **monorepo:** Regenerate README markdown files ([a1b6717d](https://github.com/storm-software/storm-ops/commit/a1b6717d))
6
+
7
+ ## 0.8.1 (2025-01-29)
8
+
9
+ ### Bug Fixes
10
+
11
+ - **unbuild:** Resolved issue applying plugins ([21459fd0](https://github.com/storm-software/storm-ops/commit/21459fd0))
12
+
1
13
  ## 0.8.0 (2025-01-29)
2
14
 
3
15
  ### Features
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-0.7.4-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.8.1-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -138,7 +138,7 @@ var WorkspaceDirectoryConfigSchema = _zod2.default.object({
138
138
  build: _zod2.default.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
139
139
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
140
140
  var StormConfigSchema = _zod2.default.object({
141
- $schema: _zod2.default.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
141
+ $schema: _zod2.default.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
142
142
  extends: ExtendsSchema.optional(),
143
143
  name: _zod2.default.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
144
144
  namespace: _zod2.default.string().trim().toLowerCase().optional().describe("The namespace of the package"),
@@ -180,6 +180,7 @@ var StormConfigSchema = _zod2.default.object({
180
180
  "trace",
181
181
  "all"
182
182
  ]).default("info").describe("The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."),
183
+ skipConfigLogging: _zod2.default.boolean().optional().describe("Should the logging of the current Storm Workspace configuration be skipped?"),
183
184
  registry: RegistryConfigSchema,
184
185
  configFile: _zod2.default.string().trim().nullable().default(null).describe("The filepath of the Storm config. When this field is null, no config file was found in the current workspace."),
185
186
  colors: ColorConfigSchema.or(ColorConfigMapSchema).describe("Storm theme config values used for styling various package elements"),
@@ -342,14 +343,17 @@ var isAbsolute = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, function(p
342
343
 
343
344
  var MAX_PATH_SEARCH_DEPTH = 30;
344
345
  var depth = 0;
345
- function findFolderUp(startPath, endFileNames) {
346
+ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
346
347
  const _startPath = _nullishCoalesce(startPath, () => ( process.cwd()));
348
+ if (endDirectoryNames.some((endDirName) => _fs.existsSync.call(void 0, _path.join.call(void 0, _startPath, endDirName)))) {
349
+ return _startPath;
350
+ }
347
351
  if (endFileNames.some((endFileName) => _fs.existsSync.call(void 0, _path.join.call(void 0, _startPath, endFileName)))) {
348
352
  return _startPath;
349
353
  }
350
354
  if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
351
355
  const parent = _path.join.call(void 0, _startPath, "..");
352
- return findFolderUp(parent, endFileNames);
356
+ return findFolderUp(parent, endFileNames, endDirectoryNames);
353
357
  }
354
358
  return void 0;
355
359
  }
@@ -357,17 +361,17 @@ _chunk3GQAWCBQjs.__name.call(void 0, findFolderUp, "findFolderUp");
357
361
 
358
362
  // ../config-tools/src/utilities/find-workspace-root.ts
359
363
  var rootFiles = [
360
- "storm.json",
361
- "storm.json",
362
- "storm.yaml",
363
- "storm.yml",
364
- "storm.js",
365
- "storm.ts",
366
- ".storm.json",
367
- ".storm.yaml",
368
- ".storm.yml",
369
- ".storm.js",
370
- ".storm.ts",
364
+ "storm-workspace.json",
365
+ "storm-workspace.json",
366
+ "storm-workspace.yaml",
367
+ "storm-workspace.yml",
368
+ "storm-workspace.js",
369
+ "storm-workspace.ts",
370
+ ".storm-workspace.json",
371
+ ".storm-workspace.yaml",
372
+ ".storm-workspace.yml",
373
+ ".storm-workspace.js",
374
+ ".storm-workspace.ts",
371
375
  "lerna.json",
372
376
  "nx.json",
373
377
  "turbo.json",
@@ -391,11 +395,18 @@ var rootFiles = [
391
395
  "pnpm-lock.yml",
392
396
  "bun.lockb"
393
397
  ];
398
+ var rootDirectories = [
399
+ ".storm-workspace",
400
+ ".nx",
401
+ ".github",
402
+ ".vscode",
403
+ ".verdaccio"
404
+ ];
394
405
  function findWorkspaceRootSafe(pathInsideMonorepo) {
395
406
  if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
396
407
  return correctPaths(_nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH)));
397
408
  }
398
- return correctPaths(findFolderUp(_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())), rootFiles));
409
+ return correctPaths(findFolderUp(_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())), rootFiles, rootDirectories));
399
410
  }
400
411
  _chunk3GQAWCBQjs.__name.call(void 0, findWorkspaceRootSafe, "findWorkspaceRootSafe");
401
412
  function findWorkspaceRoot(pathInsideMonorepo) {
@@ -808,10 +819,10 @@ var getConfigFileByName = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, a
808
819
  }, "getConfigFileByName");
809
820
  var getConfigFile = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
810
821
  const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
811
- const result = await getConfigFileByName("storm", workspacePath);
822
+ const result = await getConfigFileByName("storm-workspace", workspacePath);
812
823
  let config = result.config;
813
824
  const configFile = result.configFile;
814
- if (config && configFile && Object.keys(config).length > 0) {
825
+ if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
815
826
  writeTrace(`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
816
827
  logLevel: "all"
817
828
  });
@@ -820,9 +831,11 @@ var getConfigFile = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (
820
831
  const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
821
832
  for (const result2 of results) {
822
833
  if (_optionalChain([result2, 'optionalAccess', _33 => _33.config]) && _optionalChain([result2, 'optionalAccess', _34 => _34.configFile]) && Object.keys(result2.config).length > 0) {
823
- writeTrace(`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
824
- logLevel: "all"
825
- });
834
+ if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
835
+ writeTrace(`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
836
+ logLevel: "all"
837
+ });
838
+ }
826
839
  config = _defu2.default.call(void 0, _nullishCoalesce(result2.config, () => ( {})), _nullishCoalesce(config, () => ( {})));
827
840
  }
828
841
  }
@@ -898,7 +911,8 @@ var getConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, () => {
898
911
  cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
899
912
  container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
900
913
  },
901
- logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? getLogLevelLabel(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
914
+ logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? getLogLevelLabel(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0,
915
+ skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
902
916
  };
903
917
  const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
904
918
  config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
@@ -1133,6 +1147,9 @@ var setConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config)
1133
1147
  process.env.NX_VERBOSE_LOGGING = String(getLogLevel(config.logLevel) >= LogLevel.DEBUG ? true : false);
1134
1148
  process.env.RUST_BACKTRACE = getLogLevel(config.logLevel) >= LogLevel.DEBUG ? "full" : "none";
1135
1149
  }
1150
+ if (config.skipConfigLogging !== void 0) {
1151
+ process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(config.skipConfigLogging);
1152
+ }
1136
1153
  process.env[`${prefix}CONFIG`] = JSON.stringify(config);
1137
1154
  for (const key of Object.keys(_nullishCoalesce(config.extensions, () => ( {})))) {
1138
1155
  config.extensions[key] && Object.keys(config.extensions[key]) && setExtensionEnv(key, config.extensions[key]);
@@ -1250,7 +1267,7 @@ var createStormConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, asy
1250
1267
  const defaultConfig = await getDefaultConfig(_workspaceRoot);
1251
1268
  const configFile = await getConfigFile(_workspaceRoot);
1252
1269
  if (!configFile && !skipLogs) {
1253
- writeWarning("No Storm config file found in the current workspace. Please ensure this is the expected behavior - you can add a `storm.json` file to the root of your workspace if it is not.\n", {
1270
+ writeWarning("No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n", {
1254
1271
  logLevel: "all"
1255
1272
  });
1256
1273
  }
@@ -1288,8 +1305,8 @@ var createConfigExtension = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0,
1288
1305
  var loadStormConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot3, skipLogs = false) => {
1289
1306
  const config = await createStormConfig(void 0, void 0, workspaceRoot3, skipLogs);
1290
1307
  setConfigEnv(config);
1291
- if (!skipLogs) {
1292
- writeTrace(`\u2699\uFE0F Using Storm configuration:
1308
+ if (!skipLogs && !config.skipConfigLogging) {
1309
+ writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
1293
1310
  ${formatLogMessage(config)}`, config);
1294
1311
  }
1295
1312
  return config;
@@ -3824,8 +3841,8 @@ var generator_default = withRunGenerator("TypeScript Library Creator (Browser Pl
3824
3841
 
3825
3842
  var _zodtojsonschema = require('zod-to-json-schema');
3826
3843
  async function configSchemaGeneratorFn(tree, options, config) {
3827
- writeInfo("\u{1F4E6} Running Storm Configuration JSON Schema generator", config);
3828
- writeTrace(`Determining the Storm Configuration JSON Schema...`, config);
3844
+ writeInfo("\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
3845
+ writeTrace(`Determining the Storm Workspace Configuration JSON Schema...`, config);
3829
3846
  const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, StormConfigSchema, {
3830
3847
  name: "StormWorkspaceConfiguration"
3831
3848
  });
@@ -139,7 +139,7 @@ var WorkspaceDirectoryConfigSchema = z.object({
139
139
  build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
140
140
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
141
141
  var StormConfigSchema = z.object({
142
- $schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
142
+ $schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
143
143
  extends: ExtendsSchema.optional(),
144
144
  name: z.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
145
145
  namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
@@ -181,6 +181,7 @@ var StormConfigSchema = z.object({
181
181
  "trace",
182
182
  "all"
183
183
  ]).default("info").describe("The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."),
184
+ skipConfigLogging: z.boolean().optional().describe("Should the logging of the current Storm Workspace configuration be skipped?"),
184
185
  registry: RegistryConfigSchema,
185
186
  configFile: z.string().trim().nullable().default(null).describe("The filepath of the Storm config. When this field is null, no config file was found in the current workspace."),
186
187
  colors: ColorConfigSchema.or(ColorConfigMapSchema).describe("Storm theme config values used for styling various package elements"),
@@ -343,14 +344,17 @@ import { existsSync } from "node:fs";
343
344
  import { join } from "node:path";
344
345
  var MAX_PATH_SEARCH_DEPTH = 30;
345
346
  var depth = 0;
346
- function findFolderUp(startPath, endFileNames) {
347
+ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
347
348
  const _startPath = startPath ?? process.cwd();
349
+ if (endDirectoryNames.some((endDirName) => existsSync(join(_startPath, endDirName)))) {
350
+ return _startPath;
351
+ }
348
352
  if (endFileNames.some((endFileName) => existsSync(join(_startPath, endFileName)))) {
349
353
  return _startPath;
350
354
  }
351
355
  if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
352
356
  const parent = join(_startPath, "..");
353
- return findFolderUp(parent, endFileNames);
357
+ return findFolderUp(parent, endFileNames, endDirectoryNames);
354
358
  }
355
359
  return void 0;
356
360
  }
@@ -358,17 +362,17 @@ __name(findFolderUp, "findFolderUp");
358
362
 
359
363
  // ../config-tools/src/utilities/find-workspace-root.ts
360
364
  var rootFiles = [
361
- "storm.json",
362
- "storm.json",
363
- "storm.yaml",
364
- "storm.yml",
365
- "storm.js",
366
- "storm.ts",
367
- ".storm.json",
368
- ".storm.yaml",
369
- ".storm.yml",
370
- ".storm.js",
371
- ".storm.ts",
365
+ "storm-workspace.json",
366
+ "storm-workspace.json",
367
+ "storm-workspace.yaml",
368
+ "storm-workspace.yml",
369
+ "storm-workspace.js",
370
+ "storm-workspace.ts",
371
+ ".storm-workspace.json",
372
+ ".storm-workspace.yaml",
373
+ ".storm-workspace.yml",
374
+ ".storm-workspace.js",
375
+ ".storm-workspace.ts",
372
376
  "lerna.json",
373
377
  "nx.json",
374
378
  "turbo.json",
@@ -392,11 +396,18 @@ var rootFiles = [
392
396
  "pnpm-lock.yml",
393
397
  "bun.lockb"
394
398
  ];
399
+ var rootDirectories = [
400
+ ".storm-workspace",
401
+ ".nx",
402
+ ".github",
403
+ ".vscode",
404
+ ".verdaccio"
405
+ ];
395
406
  function findWorkspaceRootSafe(pathInsideMonorepo) {
396
407
  if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
397
408
  return correctPaths(process.env.STORM_WORKSPACE_ROOT ?? process.env.NX_WORKSPACE_ROOT_PATH);
398
409
  }
399
- return correctPaths(findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles));
410
+ return correctPaths(findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles, rootDirectories));
400
411
  }
401
412
  __name(findWorkspaceRootSafe, "findWorkspaceRootSafe");
402
413
  function findWorkspaceRoot(pathInsideMonorepo) {
@@ -809,10 +820,10 @@ var getConfigFileByName = /* @__PURE__ */ __name(async (fileName, filePath, opti
809
820
  }, "getConfigFileByName");
810
821
  var getConfigFile = /* @__PURE__ */ __name(async (filePath, additionalFileNames = []) => {
811
822
  const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
812
- const result = await getConfigFileByName("storm", workspacePath);
823
+ const result = await getConfigFileByName("storm-workspace", workspacePath);
813
824
  let config = result.config;
814
825
  const configFile = result.configFile;
815
- if (config && configFile && Object.keys(config).length > 0) {
826
+ if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
816
827
  writeTrace(`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
817
828
  logLevel: "all"
818
829
  });
@@ -821,9 +832,11 @@ var getConfigFile = /* @__PURE__ */ __name(async (filePath, additionalFileNames
821
832
  const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
822
833
  for (const result2 of results) {
823
834
  if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
824
- writeTrace(`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
825
- logLevel: "all"
826
- });
835
+ if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
836
+ writeTrace(`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
837
+ logLevel: "all"
838
+ });
839
+ }
827
840
  config = defu(result2.config ?? {}, config ?? {});
828
841
  }
829
842
  }
@@ -899,7 +912,8 @@ var getConfigEnv = /* @__PURE__ */ __name(() => {
899
912
  cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
900
913
  container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
901
914
  },
902
- logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? getLogLevelLabel(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
915
+ logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? getLogLevelLabel(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0,
916
+ skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
903
917
  };
904
918
  const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
905
919
  config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
@@ -1134,6 +1148,9 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
1134
1148
  process.env.NX_VERBOSE_LOGGING = String(getLogLevel(config.logLevel) >= LogLevel.DEBUG ? true : false);
1135
1149
  process.env.RUST_BACKTRACE = getLogLevel(config.logLevel) >= LogLevel.DEBUG ? "full" : "none";
1136
1150
  }
1151
+ if (config.skipConfigLogging !== void 0) {
1152
+ process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(config.skipConfigLogging);
1153
+ }
1137
1154
  process.env[`${prefix}CONFIG`] = JSON.stringify(config);
1138
1155
  for (const key of Object.keys(config.extensions ?? {})) {
1139
1156
  config.extensions[key] && Object.keys(config.extensions[key]) && setExtensionEnv(key, config.extensions[key]);
@@ -1251,7 +1268,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema, wor
1251
1268
  const defaultConfig = await getDefaultConfig(_workspaceRoot);
1252
1269
  const configFile = await getConfigFile(_workspaceRoot);
1253
1270
  if (!configFile && !skipLogs) {
1254
- writeWarning("No Storm config file found in the current workspace. Please ensure this is the expected behavior - you can add a `storm.json` file to the root of your workspace if it is not.\n", {
1271
+ writeWarning("No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n", {
1255
1272
  logLevel: "all"
1256
1273
  });
1257
1274
  }
@@ -1289,8 +1306,8 @@ var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
1289
1306
  var loadStormConfig = /* @__PURE__ */ __name(async (workspaceRoot3, skipLogs = false) => {
1290
1307
  const config = await createStormConfig(void 0, void 0, workspaceRoot3, skipLogs);
1291
1308
  setConfigEnv(config);
1292
- if (!skipLogs) {
1293
- writeTrace(`\u2699\uFE0F Using Storm configuration:
1309
+ if (!skipLogs && !config.skipConfigLogging) {
1310
+ writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
1294
1311
  ${formatLogMessage(config)}`, config);
1295
1312
  }
1296
1313
  return config;
@@ -3825,8 +3842,8 @@ var generator_default = withRunGenerator("TypeScript Library Creator (Browser Pl
3825
3842
  import { formatFiles as formatFiles3, writeJson as writeJson2 } from "@nx/devkit";
3826
3843
  import { zodToJsonSchema } from "zod-to-json-schema";
3827
3844
  async function configSchemaGeneratorFn(tree, options, config) {
3828
- writeInfo("\u{1F4E6} Running Storm Configuration JSON Schema generator", config);
3829
- writeTrace(`Determining the Storm Configuration JSON Schema...`, config);
3845
+ writeInfo("\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
3846
+ writeTrace(`Determining the Storm Workspace Configuration JSON Schema...`, config);
3830
3847
  const jsonSchema = zodToJsonSchema(StormConfigSchema, {
3831
3848
  name: "StormWorkspaceConfiguration"
3832
3849
  });
@@ -1,3 +1,3 @@
1
- export { I as InitGeneratorSchema, i as initGeneratorFn } from './index-DUOawapu.mjs';
1
+ export { I as InitGeneratorSchema, i as initGeneratorFn } from './index-xxtRdeVG.mjs';
2
2
  import '@nx/devkit';
3
3
  import 'zod';
@@ -1,3 +1,3 @@
1
- export { I as InitGeneratorSchema, i as initGeneratorFn } from './index-DUOawapu.js';
1
+ export { I as InitGeneratorSchema, i as initGeneratorFn } from './index-xxtRdeVG.js';
2
2
  import '@nx/devkit';
3
3
  import 'zod';
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
2
2
 
3
3
 
4
- var _chunkEKYBRRTLjs = require('./chunk-EKYBRRTL.js');
4
+ var _chunkJNHMEBZJjs = require('./chunk-JNHMEBZJ.js');
5
5
  require('./chunk-3GQAWCBQ.js');
6
6
 
7
7
 
8
- exports.initGeneratorFn = _chunkEKYBRRTLjs.initGeneratorFn;
8
+ exports.initGeneratorFn = _chunkJNHMEBZJjs.initGeneratorFn;
@@ -1,7 +1,7 @@
1
1
  import "./chunk-23KFTIT2.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-AI3PN64I.mjs";
4
+ } from "./chunk-MD7B7GGE.mjs";
5
5
  import "./chunk-XUV4U54K.mjs";
6
6
  export {
7
7
  initGeneratorFn
@@ -58,6 +58,7 @@ declare const StormConfigSchema: z.ZodObject<{
58
58
  timezone: z.ZodDefault<z.ZodString>;
59
59
  locale: z.ZodDefault<z.ZodString>;
60
60
  logLevel: z.ZodDefault<z.ZodEnum<["silent", "fatal", "error", "warn", "success", "info", "debug", "trace", "all"]>>;
61
+ skipConfigLogging: z.ZodOptional<z.ZodBoolean>;
61
62
  registry: z.ZodDefault<z.ZodObject<{
62
63
  github: z.ZodOptional<z.ZodString>;
63
64
  npm: z.ZodOptional<z.ZodString>;
@@ -984,6 +985,7 @@ declare const StormConfigSchema: z.ZodObject<{
984
985
  namespace?: string | undefined;
985
986
  repository?: string | undefined;
986
987
  preid?: string | undefined;
988
+ skipConfigLogging?: boolean | undefined;
987
989
  }, {
988
990
  bot: {
989
991
  name?: string | undefined;
@@ -1165,6 +1167,7 @@ declare const StormConfigSchema: z.ZodObject<{
1165
1167
  timezone?: string | undefined;
1166
1168
  locale?: string | undefined;
1167
1169
  logLevel?: "success" | "info" | "fatal" | "silent" | "error" | "warn" | "debug" | "trace" | "all" | undefined;
1170
+ skipConfigLogging?: boolean | undefined;
1168
1171
  registry?: {
1169
1172
  github?: string | undefined;
1170
1173
  npm?: string | undefined;
@@ -58,6 +58,7 @@ declare const StormConfigSchema: z.ZodObject<{
58
58
  timezone: z.ZodDefault<z.ZodString>;
59
59
  locale: z.ZodDefault<z.ZodString>;
60
60
  logLevel: z.ZodDefault<z.ZodEnum<["silent", "fatal", "error", "warn", "success", "info", "debug", "trace", "all"]>>;
61
+ skipConfigLogging: z.ZodOptional<z.ZodBoolean>;
61
62
  registry: z.ZodDefault<z.ZodObject<{
62
63
  github: z.ZodOptional<z.ZodString>;
63
64
  npm: z.ZodOptional<z.ZodString>;
@@ -984,6 +985,7 @@ declare const StormConfigSchema: z.ZodObject<{
984
985
  namespace?: string | undefined;
985
986
  repository?: string | undefined;
986
987
  preid?: string | undefined;
988
+ skipConfigLogging?: boolean | undefined;
987
989
  }, {
988
990
  bot: {
989
991
  name?: string | undefined;
@@ -1165,6 +1167,7 @@ declare const StormConfigSchema: z.ZodObject<{
1165
1167
  timezone?: string | undefined;
1166
1168
  locale?: string | undefined;
1167
1169
  logLevel?: "success" | "info" | "fatal" | "silent" | "error" | "warn" | "debug" | "trace" | "all" | undefined;
1170
+ skipConfigLogging?: boolean | undefined;
1168
1171
  registry?: {
1169
1172
  github?: string | undefined;
1170
1173
  npm?: string | undefined;
package/dist/index.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- export { I as InitGeneratorSchema, i as initGeneratorFn } from './index-DUOawapu.mjs';
1
+ export { I as InitGeneratorSchema, i as initGeneratorFn } from './index-xxtRdeVG.mjs';
2
2
  import '@nx/devkit';
3
3
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { I as InitGeneratorSchema, i as initGeneratorFn } from './index-DUOawapu.js';
1
+ export { I as InitGeneratorSchema, i as initGeneratorFn } from './index-xxtRdeVG.js';
2
2
  import '@nx/devkit';
3
3
  import 'zod';
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
2
2
 
3
3
 
4
- var _chunkEKYBRRTLjs = require('./chunk-EKYBRRTL.js');
4
+ var _chunkJNHMEBZJjs = require('./chunk-JNHMEBZJ.js');
5
5
  require('./chunk-3GQAWCBQ.js');
6
6
 
7
7
 
8
- exports.initGeneratorFn = _chunkEKYBRRTLjs.initGeneratorFn;
8
+ exports.initGeneratorFn = _chunkJNHMEBZJjs.initGeneratorFn;
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./chunk-23KFTIT2.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-AI3PN64I.mjs";
4
+ } from "./chunk-MD7B7GGE.mjs";
5
5
  import "./chunk-XUV4U54K.mjs";
6
6
  export {
7
7
  initGeneratorFn
@@ -1,3 +1,3 @@
1
1
  import '@nx/devkit';
2
- export { _ as default, i as initGeneratorFn } from '../../../index-DUOawapu.mjs';
2
+ export { _ as default, i as initGeneratorFn } from '../../../index-xxtRdeVG.mjs';
3
3
  import 'zod';
@@ -1,3 +1,3 @@
1
1
  import '@nx/devkit';
2
- export { _ as default, i as initGeneratorFn } from '../../../index-DUOawapu.js';
2
+ export { _ as default, i as initGeneratorFn } from '../../../index-xxtRdeVG.js';
3
3
  import 'zod';
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEKYBRRTLjs = require('../../../chunk-EKYBRRTL.js');
4
+ var _chunkJNHMEBZJjs = require('../../../chunk-JNHMEBZJ.js');
5
5
  require('../../../chunk-3GQAWCBQ.js');
6
6
 
7
7
 
8
8
 
9
- exports.default = _chunkEKYBRRTLjs.generator_default; exports.initGeneratorFn = _chunkEKYBRRTLjs.initGeneratorFn;
9
+ exports.default = _chunkJNHMEBZJjs.generator_default; exports.initGeneratorFn = _chunkJNHMEBZJjs.initGeneratorFn;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generator_default,
3
3
  initGeneratorFn
4
- } from "../../../chunk-AI3PN64I.mjs";
4
+ } from "../../../chunk-MD7B7GGE.mjs";
5
5
  import "../../../chunk-XUV4U54K.mjs";
6
6
  export {
7
7
  generator_default as default,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/projen",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "type": "commonjs",
5
5
  "description": "Tools for managing Projen configuration automation within a Nx workspace.",
6
6
  "repository": {