@storm-software/workspace-tools 1.246.3 → 1.246.4

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 (175) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/config/{nx-default.json → base.json} +18 -13
  4. package/dist/{chunk-WPYYDD5F.js → chunk-24AOAWKM.js} +2 -2
  5. package/dist/{chunk-7QVGAOPQ.mjs → chunk-24DH46CG.mjs} +1 -1
  6. package/dist/{chunk-P4ALYDGC.js → chunk-2HIEYKTF.js} +5 -5
  7. package/dist/{chunk-Q2DU6KGV.js → chunk-3SODJVIS.js} +2 -2
  8. package/dist/{chunk-O3ZLX7S5.mjs → chunk-46LLLM6U.mjs} +2 -2
  9. package/dist/{chunk-66FRJGIN.js → chunk-4AJFP7HM.js} +20 -20
  10. package/dist/{chunk-6V5GP3U4.js → chunk-4JOIS7WW.js} +24 -14
  11. package/dist/{chunk-BYLPQCIB.js → chunk-5CXC7ITO.js} +11 -11
  12. package/dist/{chunk-AY5HELLN.js → chunk-5LEU7C3E.js} +25 -25
  13. package/dist/{chunk-Z6E637KA.js → chunk-6TUIQWYY.js} +41 -41
  14. package/dist/{chunk-U7TEDNQF.js → chunk-7JBZ67ON.js} +31 -31
  15. package/dist/{chunk-G3AMYMML.js → chunk-7UV5IDAC.js} +9 -9
  16. package/dist/{chunk-H5XURNDS.js → chunk-AC5SI4YZ.js} +2 -2
  17. package/dist/{chunk-2AKLJNKO.mjs → chunk-B3V2M6LS.mjs} +18 -11
  18. package/dist/{chunk-BBRVJL4A.mjs → chunk-BKTZEV6F.mjs} +2 -2
  19. package/dist/{chunk-ZQPK5G4U.js → chunk-BRWRLQDC.js} +22 -15
  20. package/dist/{chunk-KV7YB4MU.mjs → chunk-CXICJ646.mjs} +1 -1
  21. package/dist/{chunk-IPMZQTRA.mjs → chunk-EOUMS7CZ.mjs} +1 -1
  22. package/dist/{chunk-N3WLDHSN.js → chunk-ETVB65M4.js} +2 -2
  23. package/dist/{chunk-AWPP7DRY.js → chunk-GKL4BY2Y.js} +2 -2
  24. package/dist/{chunk-U3TVR7B3.js → chunk-IDXFMQIQ.js} +2 -2
  25. package/dist/{chunk-KPKHTJWT.mjs → chunk-K4OE73MG.mjs} +1 -1
  26. package/dist/{chunk-U4AQXXXF.mjs → chunk-LREFZEYI.mjs} +1 -1
  27. package/dist/{chunk-BLG6LLHW.mjs → chunk-M666DZYJ.mjs} +24 -14
  28. package/dist/{chunk-GQ6ZBQ6I.mjs → chunk-N3CJLBVV.mjs} +3 -3
  29. package/dist/{chunk-WCIY3TEF.mjs → chunk-NDZMHOBS.mjs} +1 -1
  30. package/dist/{chunk-BC3QVHAH.mjs → chunk-NXGZ7AHM.mjs} +3 -3
  31. package/dist/{chunk-3SPGOKCO.mjs → chunk-OUEARINQ.mjs} +1 -1
  32. package/dist/{chunk-TJ6WVBYM.mjs → chunk-P2US2643.mjs} +2 -2
  33. package/dist/{chunk-ZVP6NBMF.js → chunk-QMXS4YBR.js} +2 -2
  34. package/dist/{chunk-XI4BWTXX.mjs → chunk-RIZNQRKB.mjs} +2 -2
  35. package/dist/{chunk-LZNWOO4B.js → chunk-SIKIOIIG.js} +2 -2
  36. package/dist/{chunk-RWDBQOGV.js → chunk-SJY2MQ7F.js} +5 -5
  37. package/dist/{chunk-4F75KA7J.mjs → chunk-T433AJNU.mjs} +1 -1
  38. package/dist/{chunk-R7VJ7ZHV.mjs → chunk-TBQH5BQE.mjs} +1 -1
  39. package/dist/{chunk-AQLXZBXJ.mjs → chunk-TTVIYPRD.mjs} +3 -3
  40. package/dist/{chunk-34JK7ZOU.js → chunk-UALZJZUK.js} +2 -2
  41. package/dist/{chunk-ZAE2P6GK.js → chunk-UKNWS4VZ.js} +4 -4
  42. package/dist/{chunk-Q47LFUGL.mjs → chunk-UTHOW4PP.mjs} +1 -1
  43. package/dist/{chunk-EIL3PQQL.js → chunk-VBROJHZZ.js} +2 -2
  44. package/dist/{chunk-FDPZRNKZ.js → chunk-VBYEJNI3.js} +15 -15
  45. package/dist/{chunk-ITL2GPJB.js → chunk-WAZC2KG4.js} +2 -2
  46. package/dist/{chunk-ZKWGOANM.mjs → chunk-XIVUJTNL.mjs} +3 -3
  47. package/dist/{chunk-I6BCQJPP.mjs → chunk-XN7ENDA5.mjs} +1 -1
  48. package/dist/{chunk-4YODDZMS.mjs → chunk-XXRNBEAC.mjs} +1 -1
  49. package/dist/{chunk-BNYY2WQJ.js → chunk-ZDN367AN.js} +2 -2
  50. package/dist/{chunk-TBQLIKD4.mjs → chunk-ZKBLM3HV.mjs} +5 -5
  51. package/dist/{chunk-HK26KBWU.mjs → chunk-ZKFSI55N.mjs} +2 -2
  52. package/dist/{executor-CnnrgXKr.d.mts → executor-BDL9OXAe.d.mts} +1 -1
  53. package/dist/{executor-De29T5QB.d.mts → executor-BOz02M0D.d.mts} +1 -1
  54. package/dist/{executor-DZ-0sX_w.d.ts → executor-BzM1aAMj.d.ts} +1 -1
  55. package/dist/{executor-B2I8lRie.d.mts → executor-CJ2sUUqC.d.mts} +1 -1
  56. package/dist/{executor-B3LJ1461.d.mts → executor-D9Lkezla.d.mts} +1 -1
  57. package/dist/{executor-SU5oGftF.d.ts → executor-DIeaVupa.d.ts} +1 -1
  58. package/dist/{executor-D04WPR2V.d.ts → executor-DLeeL4eB.d.ts} +1 -1
  59. package/dist/{executor-B1mTS_M5.d.ts → executor-DdnyhsRE.d.ts} +1 -1
  60. package/dist/{executor-9k0vy4BU.d.mts → executor-DvKywXQM.d.mts} +1 -1
  61. package/dist/{executor-Dfot53CG.d.ts → executor-DxeOzkYd.d.ts} +1 -1
  62. package/dist/executors.d.mts +6 -6
  63. package/dist/executors.d.ts +6 -6
  64. package/dist/executors.js +16 -16
  65. package/dist/executors.mjs +15 -15
  66. package/dist/{generator-BCkqWM1d.d.ts → generator-8l8dnSzj.d.ts} +1 -1
  67. package/dist/{generator-DBa9-HbU.d.ts → generator-96lYy3vU.d.ts} +1 -1
  68. package/dist/{generator-BAbOohf7.d.mts → generator-ANcVdjRd.d.mts} +2 -2
  69. package/dist/{generator-CrR9QK6B.d.mts → generator-BXQhJBFX.d.mts} +2 -2
  70. package/dist/{generator-AFivysTp.d.ts → generator-Br48n2Qc.d.ts} +2 -2
  71. package/dist/{generator-CRiDjsPp.d.mts → generator-CAGPcZQ4.d.mts} +1 -1
  72. package/dist/{generator-rf62OraH.d.ts → generator-Cg5cXOd-.d.ts} +2 -2
  73. package/dist/{generator-B_HN13az.d.mts → generator-Ci71Fj-h.d.mts} +2 -2
  74. package/dist/{generator-DpXgF55u.d.mts → generator-D4l8BFsS.d.mts} +1 -1
  75. package/dist/{generator-DATsTV1E.d.mts → generator-DDFJK57t.d.mts} +2 -2
  76. package/dist/{generator-DNdirMec.d.ts → generator-DcKIyM9v.d.ts} +2 -2
  77. package/dist/{generator-F6EuzmJD.d.ts → generator-SVDta1L0.d.ts} +2 -2
  78. package/dist/generators.d.mts +8 -8
  79. package/dist/generators.d.ts +8 -8
  80. package/dist/generators.js +11 -11
  81. package/dist/generators.mjs +10 -10
  82. package/dist/index.d.mts +13 -13
  83. package/dist/index.d.ts +13 -13
  84. package/dist/index.js +25 -25
  85. package/dist/index.mjs +24 -24
  86. package/dist/src/base/base-executor.d.mts +2 -2
  87. package/dist/src/base/base-executor.d.ts +2 -2
  88. package/dist/src/base/base-executor.js +5 -5
  89. package/dist/src/base/base-executor.mjs +4 -4
  90. package/dist/src/base/base-generator.d.mts +2 -2
  91. package/dist/src/base/base-generator.d.ts +2 -2
  92. package/dist/src/base/base-generator.js +5 -5
  93. package/dist/src/base/base-generator.mjs +4 -4
  94. package/dist/src/base/index.d.mts +2 -2
  95. package/dist/src/base/index.d.ts +2 -2
  96. package/dist/src/base/index.js +6 -6
  97. package/dist/src/base/index.mjs +5 -5
  98. package/dist/src/executors/cargo-build/executor.js +6 -6
  99. package/dist/src/executors/cargo-build/executor.mjs +5 -5
  100. package/dist/src/executors/cargo-check/executor.js +6 -6
  101. package/dist/src/executors/cargo-check/executor.mjs +5 -5
  102. package/dist/src/executors/cargo-clippy/executor.js +6 -6
  103. package/dist/src/executors/cargo-clippy/executor.mjs +5 -5
  104. package/dist/src/executors/cargo-doc/executor.js +6 -6
  105. package/dist/src/executors/cargo-doc/executor.mjs +5 -5
  106. package/dist/src/executors/cargo-format/executor.js +6 -6
  107. package/dist/src/executors/cargo-format/executor.mjs +5 -5
  108. package/dist/src/executors/clean-package/executor.d.mts +1 -1
  109. package/dist/src/executors/clean-package/executor.d.ts +1 -1
  110. package/dist/src/executors/clean-package/executor.js +7 -7
  111. package/dist/src/executors/clean-package/executor.mjs +4 -4
  112. package/dist/src/executors/esbuild/executor.d.mts +2 -2
  113. package/dist/src/executors/esbuild/executor.d.ts +2 -2
  114. package/dist/src/executors/esbuild/executor.js +7 -7
  115. package/dist/src/executors/esbuild/executor.mjs +6 -6
  116. package/dist/src/executors/size-limit/executor.d.mts +2 -2
  117. package/dist/src/executors/size-limit/executor.d.ts +2 -2
  118. package/dist/src/executors/size-limit/executor.js +6 -6
  119. package/dist/src/executors/size-limit/executor.mjs +5 -5
  120. package/dist/src/executors/tsdown/executor.d.mts +2 -2
  121. package/dist/src/executors/tsdown/executor.d.ts +2 -2
  122. package/dist/src/executors/tsdown/executor.js +7 -7
  123. package/dist/src/executors/tsdown/executor.mjs +6 -6
  124. package/dist/src/executors/typia/executor.d.mts +2 -2
  125. package/dist/src/executors/typia/executor.d.ts +2 -2
  126. package/dist/src/executors/typia/executor.js +6 -6
  127. package/dist/src/executors/typia/executor.mjs +5 -5
  128. package/dist/src/executors/unbuild/executor.d.mts +2 -2
  129. package/dist/src/executors/unbuild/executor.d.ts +2 -2
  130. package/dist/src/executors/unbuild/executor.js +6 -6
  131. package/dist/src/executors/unbuild/executor.mjs +5 -5
  132. package/dist/src/generators/browser-library/generator.d.mts +3 -3
  133. package/dist/src/generators/browser-library/generator.d.ts +3 -3
  134. package/dist/src/generators/browser-library/generator.js +6 -6
  135. package/dist/src/generators/browser-library/generator.mjs +5 -5
  136. package/dist/src/generators/config-schema/generator.d.mts +3 -3
  137. package/dist/src/generators/config-schema/generator.d.ts +3 -3
  138. package/dist/src/generators/config-schema/generator.js +6 -6
  139. package/dist/src/generators/config-schema/generator.mjs +5 -5
  140. package/dist/src/generators/neutral-library/generator.d.mts +3 -3
  141. package/dist/src/generators/neutral-library/generator.d.ts +3 -3
  142. package/dist/src/generators/neutral-library/generator.js +6 -6
  143. package/dist/src/generators/neutral-library/generator.mjs +5 -5
  144. package/dist/src/generators/node-library/generator.d.mts +3 -3
  145. package/dist/src/generators/node-library/generator.d.ts +3 -3
  146. package/dist/src/generators/node-library/generator.js +6 -6
  147. package/dist/src/generators/node-library/generator.mjs +5 -5
  148. package/dist/src/generators/preset/generator.d.mts +3 -3
  149. package/dist/src/generators/preset/generator.d.ts +3 -3
  150. package/dist/src/generators/preset/generator.js +6 -6
  151. package/dist/src/generators/preset/generator.mjs +5 -5
  152. package/dist/src/generators/release-version/generator.d.mts +2 -2
  153. package/dist/src/generators/release-version/generator.d.ts +2 -2
  154. package/dist/src/generators/release-version/generator.js +4 -4
  155. package/dist/src/generators/release-version/generator.mjs +3 -3
  156. package/dist/src/types.d.mts +2 -2
  157. package/dist/src/types.d.ts +2 -2
  158. package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
  159. package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
  160. package/dist/src/utils/apply-workspace-tokens.js +3 -3
  161. package/dist/src/utils/apply-workspace-tokens.mjs +2 -2
  162. package/dist/src/utils/get-project-configurations.js +3 -3
  163. package/dist/src/utils/get-project-configurations.mjs +2 -2
  164. package/dist/src/utils/index.d.mts +2 -2
  165. package/dist/src/utils/index.d.ts +2 -2
  166. package/dist/src/utils/index.js +4 -4
  167. package/dist/src/utils/index.mjs +3 -3
  168. package/dist/src/utils/project-tags.d.mts +2 -2
  169. package/dist/src/utils/project-tags.d.ts +2 -2
  170. package/dist/{types-B5IG4iSJ.d.ts → types-BbEVA-sX.d.mts} +3 -0
  171. package/dist/{types-B5IG4iSJ.d.mts → types-BbEVA-sX.d.ts} +3 -0
  172. package/dist/{types-DpaECebR.d.ts → types-DLS_kod0.d.ts} +1 -1
  173. package/dist/{types-44XkV3HO.d.mts → types-DM_AJ5NA.d.mts} +1 -1
  174. package/package.json +2 -3
  175. package/config/nx-cloud.json +0 -459
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  writeDebug,
3
3
  writeTrace
4
- } from "./chunk-2AKLJNKO.mjs";
4
+ } from "./chunk-B3V2M6LS.mjs";
5
5
  import {
6
6
  findWorkspaceRoot
7
- } from "./chunk-BLG6LLHW.mjs";
7
+ } from "./chunk-M666DZYJ.mjs";
8
8
  import {
9
9
  correctPaths,
10
10
  joinPaths
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk6V5GP3U4js = require('./chunk-6V5GP3U4.js');
3
+ var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
4
4
 
5
5
 
6
6
 
@@ -115,7 +115,7 @@ var WorkspaceDirectoryConfigSchema = _zod2.default.object({
115
115
  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)")
116
116
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
117
117
  var StormConfigSchema = _zod2.default.object({
118
- $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"),
118
+ $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"),
119
119
  extends: ExtendsSchema.optional(),
120
120
  name: _zod2.default.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
121
121
  namespace: _zod2.default.string().trim().toLowerCase().optional().describe("The namespace of the package"),
@@ -157,6 +157,7 @@ var StormConfigSchema = _zod2.default.object({
157
157
  "trace",
158
158
  "all"
159
159
  ]).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`)."),
160
+ skipConfigLogging: _zod2.default.boolean().optional().describe("Should the logging of the current Storm Workspace configuration be skipped?"),
160
161
  registry: RegistryConfigSchema,
161
162
  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."),
162
163
  colors: ColorConfigSchema.or(ColorConfigMapSchema).describe("Storm theme config values used for styling various package elements"),
@@ -244,7 +245,7 @@ var getDefaultConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, asyn
244
245
  let name = void 0;
245
246
  let namespace = void 0;
246
247
  let repository = void 0;
247
- const workspaceRoot = _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, root);
248
+ const workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, root);
248
249
  if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot, "package.json"))) {
249
250
  const file = await _promises.readFile.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
250
251
  if (file) {
@@ -511,7 +512,7 @@ var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
511
512
  var _c12 = require('c12');
512
513
 
513
514
  var getConfigFileByName = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
514
- const workspacePath = filePath || _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, filePath);
515
+ const workspacePath = filePath || _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, filePath);
515
516
  const configs = await Promise.all([
516
517
  _c12.loadConfig.call(void 0, {
517
518
  cwd: workspacePath,
@@ -540,11 +541,11 @@ var getConfigFileByName = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, a
540
541
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
541
542
  }, "getConfigFileByName");
542
543
  var getConfigFile = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
543
- const workspacePath = filePath ? filePath : _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, filePath);
544
- const result = await getConfigFileByName("storm", workspacePath);
544
+ const workspacePath = filePath ? filePath : _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, filePath);
545
+ const result = await getConfigFileByName("storm-workspace", workspacePath);
545
546
  let config = result.config;
546
547
  const configFile = result.configFile;
547
- if (config && configFile && Object.keys(config).length > 0) {
548
+ if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
548
549
  writeTrace(`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
549
550
  logLevel: "all"
550
551
  });
@@ -553,9 +554,11 @@ var getConfigFile = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (
553
554
  const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
554
555
  for (const result2 of results) {
555
556
  if (_optionalChain([result2, 'optionalAccess', _30 => _30.config]) && _optionalChain([result2, 'optionalAccess', _31 => _31.configFile]) && Object.keys(result2.config).length > 0) {
556
- writeTrace(`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
557
- logLevel: "all"
558
- });
557
+ if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
558
+ writeTrace(`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
559
+ logLevel: "all"
560
+ });
561
+ }
559
562
  config = _defu2.default.call(void 0, _nullishCoalesce(result2.config, () => ( {})), _nullishCoalesce(config, () => ( {})));
560
563
  }
561
564
  }
@@ -628,7 +631,8 @@ var getConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, () => {
628
631
  cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
629
632
  container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
630
633
  },
631
- 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
634
+ 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,
635
+ skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
632
636
  };
633
637
  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}`)));
634
638
  config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
@@ -863,6 +867,9 @@ var setConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config)
863
867
  process.env.NX_VERBOSE_LOGGING = String(getLogLevel(config.logLevel) >= LogLevel.DEBUG ? true : false);
864
868
  process.env.RUST_BACKTRACE = getLogLevel(config.logLevel) >= LogLevel.DEBUG ? "full" : "none";
865
869
  }
870
+ if (config.skipConfigLogging !== void 0) {
871
+ process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(config.skipConfigLogging);
872
+ }
866
873
  process.env[`${prefix}CONFIG`] = JSON.stringify(config);
867
874
  for (const key of Object.keys(_nullishCoalesce(config.extensions, () => ( {})))) {
868
875
  config.extensions[key] && Object.keys(config.extensions[key]) && setExtensionEnv(key, config.extensions[key]);
@@ -974,13 +981,13 @@ var createStormConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, asy
974
981
  if (!_optionalChain([_static_cache, 'optionalAccess', _54 => _54.data]) || !_optionalChain([_static_cache, 'optionalAccess', _55 => _55.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
975
982
  let _workspaceRoot = workspaceRoot;
976
983
  if (!_workspaceRoot) {
977
- _workspaceRoot = _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, );
984
+ _workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
978
985
  }
979
986
  const configEnv = getConfigEnv();
980
987
  const defaultConfig = await getDefaultConfig(_workspaceRoot);
981
988
  const configFile = await getConfigFile(_workspaceRoot);
982
989
  if (!configFile && !skipLogs) {
983
- 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", {
990
+ 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", {
984
991
  logLevel: "all"
985
992
  });
986
993
  }
@@ -1018,8 +1025,8 @@ var createConfigExtension = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0,
1018
1025
  var loadStormConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot, skipLogs = false) => {
1019
1026
  const config = await createStormConfig(void 0, void 0, workspaceRoot, skipLogs);
1020
1027
  setConfigEnv(config);
1021
- if (!skipLogs) {
1022
- writeTrace(`\u2699\uFE0F Using Storm configuration:
1028
+ if (!skipLogs && !config.skipConfigLogging) {
1029
+ writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
1023
1030
  ${formatLogMessage(config)}`, config);
1024
1031
  }
1025
1032
  return config;
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-AQLXZBXJ.mjs";
7
+ } from "./chunk-TTVIYPRD.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-EK75QNMS.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-GQ6ZBQ6I.mjs";
7
+ } from "./chunk-N3CJLBVV.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkAY5HELLNjs = require('./chunk-AY5HELLN.js');
7
+ var _chunk5LEU7C3Ejs = require('./chunk-5LEU7C3E.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoBuildExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoBuildExecutor, "cargoBuildExecutor");
18
- var executor_default = _chunkAY5HELLNjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
18
+ var executor_default = _chunk5LEU7C3Ejs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk6V5GP3U4js = require('./chunk-6V5GP3U4.js');
3
+ var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
4
4
 
5
5
 
6
6
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -8,7 +8,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
8
8
  // src/utils/get-project-configurations.ts
9
9
  var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
10
10
  var getProjectConfigurations = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async () => {
11
- return _retrieveworkspacefiles.retrieveProjectConfigurationsWithoutPluginInference.call(void 0, _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, ));
11
+ return _retrieveworkspacefiles.retrieveProjectConfigurationsWithoutPluginInference.call(void 0, _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ));
12
12
  }, "getProjectConfigurations");
13
13
  var getProjectConfiguration = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (projectName) => _optionalChain([getProjectConfigurations, 'call', _ => _(), 'optionalAccess', _2 => _2[projectName]]), "getProjectConfiguration");
14
14
 
@@ -7,7 +7,7 @@ var _chunkECSCURQQjs = require('./chunk-ECSCURQQ.js');
7
7
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
8
8
 
9
9
 
10
- var _chunk66FRJGINjs = require('./chunk-66FRJGIN.js');
10
+ var _chunk4AJFP7HMjs = require('./chunk-4AJFP7HM.js');
11
11
 
12
12
 
13
13
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -52,7 +52,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
52
52
  return null;
53
53
  }
54
54
  _chunk3GQAWCBQjs.__name.call(void 0, nodeLibraryGeneratorFn, "nodeLibraryGeneratorFn");
55
- var generator_default = _chunk66FRJGINjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
55
+ var generator_default = _chunk4AJFP7HMjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
56
56
  hooks: {
57
57
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
58
58
  options.description ??= "A library used by Storm Software to support NodeJs applications";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-SLCOHXD3.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-GQ6ZBQ6I.mjs";
7
+ } from "./chunk-N3CJLBVV.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-NCFX2MWO.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-SLCOHXD3.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-GQ6ZBQ6I.mjs";
7
+ } from "./chunk-N3CJLBVV.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-NCFX2MWO.mjs";
@@ -10,14 +10,17 @@ import { existsSync } from "node:fs";
10
10
  import { join } from "node:path";
11
11
  var MAX_PATH_SEARCH_DEPTH = 30;
12
12
  var depth = 0;
13
- function findFolderUp(startPath, endFileNames) {
13
+ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
14
14
  const _startPath = startPath ?? process.cwd();
15
+ if (endDirectoryNames.some((endDirName) => existsSync(join(_startPath, endDirName)))) {
16
+ return _startPath;
17
+ }
15
18
  if (endFileNames.some((endFileName) => existsSync(join(_startPath, endFileName)))) {
16
19
  return _startPath;
17
20
  }
18
21
  if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
19
22
  const parent = join(_startPath, "..");
20
- return findFolderUp(parent, endFileNames);
23
+ return findFolderUp(parent, endFileNames, endDirectoryNames);
21
24
  }
22
25
  return void 0;
23
26
  }
@@ -25,17 +28,17 @@ __name(findFolderUp, "findFolderUp");
25
28
 
26
29
  // ../config-tools/src/utilities/find-workspace-root.ts
27
30
  var rootFiles = [
28
- "storm.json",
29
- "storm.json",
30
- "storm.yaml",
31
- "storm.yml",
32
- "storm.js",
33
- "storm.ts",
34
- ".storm.json",
35
- ".storm.yaml",
36
- ".storm.yml",
37
- ".storm.js",
38
- ".storm.ts",
31
+ "storm-workspace.json",
32
+ "storm-workspace.json",
33
+ "storm-workspace.yaml",
34
+ "storm-workspace.yml",
35
+ "storm-workspace.js",
36
+ "storm-workspace.ts",
37
+ ".storm-workspace.json",
38
+ ".storm-workspace.yaml",
39
+ ".storm-workspace.yml",
40
+ ".storm-workspace.js",
41
+ ".storm-workspace.ts",
39
42
  "lerna.json",
40
43
  "nx.json",
41
44
  "turbo.json",
@@ -59,11 +62,18 @@ var rootFiles = [
59
62
  "pnpm-lock.yml",
60
63
  "bun.lockb"
61
64
  ];
65
+ var rootDirectories = [
66
+ ".storm-workspace",
67
+ ".nx",
68
+ ".github",
69
+ ".vscode",
70
+ ".verdaccio"
71
+ ];
62
72
  function findWorkspaceRootSafe(pathInsideMonorepo) {
63
73
  if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
64
74
  return correctPaths(process.env.STORM_WORKSPACE_ROOT ?? process.env.NX_WORKSPACE_ROOT_PATH);
65
75
  }
66
- return correctPaths(findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles));
76
+ return correctPaths(findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles, rootDirectories));
67
77
  }
68
78
  __name(findWorkspaceRootSafe, "findWorkspaceRootSafe");
69
79
  function findWorkspaceRoot(pathInsideMonorepo) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  applyWorkspaceBaseTokens,
3
3
  applyWorkspaceTokens
4
- } from "./chunk-WCIY3TEF.mjs";
4
+ } from "./chunk-NDZMHOBS.mjs";
5
5
  import {
6
6
  getConfig,
7
7
  getStopwatch,
@@ -11,10 +11,10 @@ import {
11
11
  writeInfo,
12
12
  writeSuccess,
13
13
  writeTrace
14
- } from "./chunk-2AKLJNKO.mjs";
14
+ } from "./chunk-B3V2M6LS.mjs";
15
15
  import {
16
16
  findWorkspaceRoot
17
- } from "./chunk-BLG6LLHW.mjs";
17
+ } from "./chunk-M666DZYJ.mjs";
18
18
  import {
19
19
  __name
20
20
  } from "./chunk-XUV4U54K.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-BLG6LLHW.mjs";
3
+ } from "./chunk-M666DZYJ.mjs";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-XUV4U54K.mjs";
@@ -6,10 +6,10 @@ import {
6
6
  copyAssets,
7
7
  getEntryPoints,
8
8
  getEnv
9
- } from "./chunk-BBRVJL4A.mjs";
9
+ } from "./chunk-BKTZEV6F.mjs";
10
10
  import {
11
11
  withRunExecutor
12
- } from "./chunk-AQLXZBXJ.mjs";
12
+ } from "./chunk-TTVIYPRD.mjs";
13
13
  import {
14
14
  getConfig,
15
15
  getStopwatch,
@@ -19,7 +19,7 @@ import {
19
19
  writeInfo,
20
20
  writeSuccess,
21
21
  writeWarning
22
- } from "./chunk-2AKLJNKO.mjs";
22
+ } from "./chunk-B3V2M6LS.mjs";
23
23
  import {
24
24
  joinPaths
25
25
  } from "./chunk-NCFX2MWO.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-BLG6LLHW.mjs";
3
+ } from "./chunk-M666DZYJ.mjs";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-XUV4U54K.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-AQLXZBXJ.mjs";
3
+ } from "./chunk-TTVIYPRD.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-2AKLJNKO.mjs";
6
+ } from "./chunk-B3V2M6LS.mjs";
7
7
  import {
8
8
  joinPaths
9
9
  } from "./chunk-NCFX2MWO.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkAY5HELLNjs = require('./chunk-AY5HELLN.js');
7
+ var _chunk5LEU7C3Ejs = require('./chunk-5LEU7C3E.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoFormatExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoFormatExecutor, "cargoFormatExecutor");
18
- var executor_default = _chunkAY5HELLNjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
18
+ var executor_default = _chunk5LEU7C3Ejs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-AQLXZBXJ.mjs";
3
+ } from "./chunk-TTVIYPRD.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-2AKLJNKO.mjs";
6
+ } from "./chunk-B3V2M6LS.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-XUV4U54K.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkECSCURQQjs = require('./chunk-ECSCURQQ.js');
5
5
 
6
6
 
7
- var _chunk66FRJGINjs = require('./chunk-66FRJGIN.js');
7
+ var _chunk4AJFP7HMjs = require('./chunk-4AJFP7HM.js');
8
8
 
9
9
 
10
10
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -45,7 +45,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
45
45
  return null;
46
46
  }
47
47
  _chunk3GQAWCBQjs.__name.call(void 0, neutralLibraryGeneratorFn, "neutralLibraryGeneratorFn");
48
- var generator_default = _chunk66FRJGINjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
48
+ var generator_default = _chunk4AJFP7HMjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
49
49
  hooks: {
50
50
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
51
51
  options.description ??= "A library used by Storm Software to support either browser or NodeJs applications";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkAY5HELLNjs = require('./chunk-AY5HELLN.js');
3
+ var _chunk5LEU7C3Ejs = require('./chunk-5LEU7C3E.js');
4
4
 
5
5
 
6
- var _chunkZQPK5G4Ujs = require('./chunk-ZQPK5G4U.js');
6
+ var _chunkBRWRLQDCjs = require('./chunk-BRWRLQDC.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -18,7 +18,7 @@ async function sizeLimitExecutorFn(options, context, config) {
18
18
  if (!_optionalChain([context, 'optionalAccess', _ => _.projectName]) || !_optionalChain([context, 'access', _2 => _2.projectsConfigurations, 'optionalAccess', _3 => _3.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
19
19
  throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
20
20
  }
21
- _chunkZQPK5G4Ujs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
21
+ _chunkBRWRLQDCjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
22
22
  _sizelimit2.default.call(void 0, [
23
23
  _file2.default,
24
24
  _esbuild2.default,
@@ -26,14 +26,14 @@ async function sizeLimitExecutorFn(options, context, config) {
26
26
  ], {
27
27
  checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _4 => _4.projectsConfigurations, 'access', _5 => _5.projects, 'access', _6 => _6[context.projectName], 'optionalAccess', _7 => _7.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")), "src")))
28
28
  }).then((result) => {
29
- _chunkZQPK5G4Ujs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
29
+ _chunkBRWRLQDCjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
30
30
  });
31
31
  return {
32
32
  success: true
33
33
  };
34
34
  }
35
35
  _chunk3GQAWCBQjs.__name.call(void 0, sizeLimitExecutorFn, "sizeLimitExecutorFn");
36
- var executor_default = _chunkAY5HELLNjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
36
+ var executor_default = _chunk5LEU7C3Ejs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
37
37
  skipReadingConfig: false,
38
38
  hooks: {
39
39
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-AQLXZBXJ.mjs";
7
+ } from "./chunk-TTVIYPRD.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-BLG6LLHW.mjs";
3
+ } from "./chunk-M666DZYJ.mjs";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-XUV4U54K.mjs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  applyWorkspaceProjectTokens,
3
3
  applyWorkspaceTokens
4
- } from "./chunk-WCIY3TEF.mjs";
4
+ } from "./chunk-NDZMHOBS.mjs";
5
5
  import {
6
6
  formatLogMessage,
7
7
  getConfig,
@@ -12,10 +12,10 @@ import {
12
12
  writeInfo,
13
13
  writeSuccess,
14
14
  writeTrace
15
- } from "./chunk-2AKLJNKO.mjs";
15
+ } from "./chunk-B3V2M6LS.mjs";
16
16
  import {
17
17
  findWorkspaceRoot
18
- } from "./chunk-BLG6LLHW.mjs";
18
+ } from "./chunk-M666DZYJ.mjs";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-XUV4U54K.mjs";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk6V5GP3U4js = require('./chunk-6V5GP3U4.js');
3
+ var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
4
4
 
5
5
 
6
6
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -32,7 +32,7 @@ var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void
32
32
  }
33
33
  }
34
34
  if (result.includes("{workspaceRoot}")) {
35
- result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _2 => _2.config, 'optionalAccess', _3 => _3.workspaceRoot]))), () => ( _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, ))));
35
+ result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _2 => _2.config, 'optionalAccess', _3 => _3.workspaceRoot]))), () => ( _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ))));
36
36
  }
37
37
  return result;
38
38
  }, "applyWorkspaceBaseTokens");
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkAY5HELLNjs = require('./chunk-AY5HELLN.js');
3
+ var _chunk5LEU7C3Ejs = require('./chunk-5LEU7C3E.js');
4
4
 
5
5
 
6
- var _chunkZQPK5G4Ujs = require('./chunk-ZQPK5G4U.js');
6
+ var _chunkBRWRLQDCjs = require('./chunk-BRWRLQDC.js');
7
7
 
8
8
 
9
9
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -15,7 +15,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
15
15
  var _defu = require('defu');
16
16
  var _jiti = require('jiti');
17
17
  async function unbuildExecutorFn(options, context, config) {
18
- _chunkZQPK5G4Ujs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
18
+ _chunkBRWRLQDCjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
19
19
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
20
20
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
21
21
  }
@@ -63,7 +63,7 @@ async function unbuildExecutorFn(options, context, config) {
63
63
  };
64
64
  }
65
65
  _chunk3GQAWCBQjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
66
- var executor_default = _chunkAY5HELLNjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
66
+ var executor_default = _chunk5LEU7C3Ejs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
67
67
  skipReadingConfig: false,
68
68
  hooks: {
69
69
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-EK75QNMS.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-GQ6ZBQ6I.mjs";
10
+ } from "./chunk-N3CJLBVV.mjs";
11
11
  import {
12
12
  joinPaths
13
13
  } from "./chunk-NCFX2MWO.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
5
5
 
6
6
 
7
- var _chunk66FRJGINjs = require('./chunk-66FRJGIN.js');
7
+ var _chunk4AJFP7HMjs = require('./chunk-4AJFP7HM.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -232,7 +232,7 @@ async function presetGeneratorFn(tree, options) {
232
232
  return null;
233
233
  }
234
234
  _chunk3GQAWCBQjs.__name.call(void 0, presetGeneratorFn, "presetGeneratorFn");
235
- var generator_default = _chunk66FRJGINjs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
235
+ var generator_default = _chunk4AJFP7HMjs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
236
236
 
237
237
 
238
238