@storm-software/build-tools 0.151.7 → 0.151.9

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 (52) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-MKL5Y27F.mjs → chunk-2XBT7L44.mjs} +14 -3
  3. package/dist/{chunk-NS4C45JM.mjs → chunk-46D6MNXS.mjs} +1 -1
  4. package/dist/{chunk-TN2GANQN.js → chunk-AF2TCIHF.js} +8 -8
  5. package/dist/{chunk-YKHCDDKA.mjs → chunk-AFBMMFQN.mjs} +1 -1
  6. package/dist/{chunk-SEERZ2JR.mjs → chunk-BLY6BYC6.mjs} +1 -1
  7. package/dist/{chunk-EYW3TTNG.mjs → chunk-ENFZY5GA.mjs} +1 -1
  8. package/dist/{chunk-6Y3B4IWQ.js → chunk-F4WUX2LJ.js} +2 -2
  9. package/dist/{chunk-SK2HHQ74.js → chunk-IVICX4OH.js} +8 -8
  10. package/dist/{chunk-JAKX4BFP.mjs → chunk-PJ5CGKV4.mjs} +1 -1
  11. package/dist/{chunk-UIODWJMU.js → chunk-PWWAXIKO.js} +10 -10
  12. package/dist/{chunk-UHSZT2UP.js → chunk-QEEDXYKL.js} +9 -9
  13. package/dist/{chunk-APEVCDWC.mjs → chunk-UC4C5SCY.mjs} +35 -3
  14. package/dist/{chunk-J6WEWRXQ.js → chunk-XBURNOOH.js} +89 -78
  15. package/dist/{chunk-2JOIQLII.js → chunk-Y4N6UQVD.js} +77 -45
  16. package/dist/index.d.mts +2 -2
  17. package/dist/index.d.ts +2 -2
  18. package/dist/index.js +8 -8
  19. package/dist/index.mjs +7 -7
  20. package/dist/plugins/analyze.js +3 -3
  21. package/dist/plugins/analyze.mjs +2 -2
  22. package/dist/plugins/index.js +4 -4
  23. package/dist/plugins/index.mjs +3 -3
  24. package/dist/plugins/ts-resolve.js +3 -3
  25. package/dist/plugins/ts-resolve.mjs +2 -2
  26. package/dist/types-B4rGVLza.d.mts +267 -0
  27. package/dist/types-B4rGVLza.d.ts +267 -0
  28. package/dist/types.d.mts +2 -2
  29. package/dist/types.d.ts +2 -2
  30. package/dist/utilities/copy-assets.d.mts +2 -2
  31. package/dist/utilities/copy-assets.d.ts +2 -2
  32. package/dist/utilities/copy-assets.js +3 -3
  33. package/dist/utilities/copy-assets.mjs +2 -2
  34. package/dist/utilities/generate-package-json.d.mts +2 -2
  35. package/dist/utilities/generate-package-json.d.ts +2 -2
  36. package/dist/utilities/generate-package-json.js +3 -3
  37. package/dist/utilities/generate-package-json.mjs +2 -2
  38. package/dist/utilities/get-entry-points.d.mts +2 -2
  39. package/dist/utilities/get-entry-points.d.ts +2 -2
  40. package/dist/utilities/get-entry-points.js +3 -3
  41. package/dist/utilities/get-entry-points.mjs +2 -2
  42. package/dist/utilities/get-env.d.mts +2 -2
  43. package/dist/utilities/get-env.d.ts +2 -2
  44. package/dist/utilities/index.d.mts +2 -2
  45. package/dist/utilities/index.d.ts +2 -2
  46. package/dist/utilities/index.js +6 -6
  47. package/dist/utilities/index.mjs +5 -5
  48. package/dist/utilities/read-nx-config.js +3 -3
  49. package/dist/utilities/read-nx-config.mjs +2 -2
  50. package/package.json +1 -1
  51. package/dist/types-BUGkxiRi.d.mts +0 -1292
  52. package/dist/types-BUGkxiRi.d.ts +0 -1292
@@ -1,4 +1,4 @@
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; }// ../config-tools/src/utilities/correct-paths.ts
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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; }// ../config-tools/src/utilities/correct-paths.ts
2
2
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
3
3
  function normalizeWindowsPath(input = "") {
4
4
  if (!input) {
@@ -265,22 +265,22 @@ If this sounds interesting, and you would like to help us in creating the next g
265
265
  var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
266
266
 
267
267
  // ../config/src/schema.ts
268
- var _zod = require('zod'); var _zod2 = _interopRequireDefault(_zod);
269
- var DarkColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
270
- var LightColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
271
- var BrandColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
272
- var AlternateColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
273
- var AccentColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
274
- var LinkColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
275
- var HelpColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
276
- var SuccessColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
277
- var InfoColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
278
- var WarningColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
279
- var DangerColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
280
- var FatalColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
281
- var PositiveColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
282
- var NegativeColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
283
- var DarkThemeColorConfigSchema = _zod2.default.object({
268
+ var _v4 = require('zod/v4'); var z = _interopRequireWildcard(_v4);
269
+ var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
270
+ var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
271
+ var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
272
+ var AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
273
+ var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
274
+ var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
275
+ var HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
276
+ var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
277
+ var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
278
+ var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
279
+ var DangerColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
280
+ var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
281
+ var PositiveColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
282
+ var NegativeColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
283
+ var DarkThemeColorConfigSchema = z.object({
284
284
  foreground: LightColorSchema,
285
285
  background: DarkColorSchema,
286
286
  brand: BrandColorSchema,
@@ -296,7 +296,7 @@ var DarkThemeColorConfigSchema = _zod2.default.object({
296
296
  positive: PositiveColorSchema,
297
297
  negative: NegativeColorSchema
298
298
  });
299
- var LightThemeColorConfigSchema = _zod2.default.object({
299
+ var LightThemeColorConfigSchema = z.object({
300
300
  foreground: DarkColorSchema,
301
301
  background: LightColorSchema,
302
302
  brand: BrandColorSchema,
@@ -312,11 +312,11 @@ var LightThemeColorConfigSchema = _zod2.default.object({
312
312
  positive: PositiveColorSchema,
313
313
  negative: NegativeColorSchema
314
314
  });
315
- var MultiThemeColorConfigSchema = _zod2.default.object({
315
+ var MultiThemeColorConfigSchema = z.object({
316
316
  dark: DarkThemeColorConfigSchema,
317
317
  light: LightThemeColorConfigSchema
318
318
  });
319
- var SingleThemeColorConfigSchema = _zod2.default.object({
319
+ var SingleThemeColorConfigSchema = z.object({
320
320
  dark: DarkColorSchema,
321
321
  light: LightColorSchema,
322
322
  brand: BrandColorSchema,
@@ -332,8 +332,8 @@ var SingleThemeColorConfigSchema = _zod2.default.object({
332
332
  positive: PositiveColorSchema,
333
333
  negative: NegativeColorSchema
334
334
  });
335
- var RegistryUrlConfigSchema = _zod2.default.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
336
- var RegistryConfigSchema = _zod2.default.object({
335
+ var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
336
+ var RegistryConfigSchema = z.object({
337
337
  github: RegistryUrlConfigSchema,
338
338
  npm: RegistryUrlConfigSchema,
339
339
  cargo: RegistryUrlConfigSchema,
@@ -343,111 +343,122 @@ var RegistryConfigSchema = _zod2.default.object({
343
343
  var ColorConfigSchema = SingleThemeColorConfigSchema.or(
344
344
  MultiThemeColorConfigSchema
345
345
  ).describe("Colors used for various workspace elements");
346
- var ColorConfigMapSchema = _zod2.default.union([
347
- _zod2.default.object({ base: ColorConfigSchema }),
348
- _zod2.default.record(_zod2.default.string(), ColorConfigSchema)
346
+ var ColorConfigMapSchema = z.union([
347
+ z.object({ base: ColorConfigSchema }),
348
+ z.record(z.string(), ColorConfigSchema)
349
349
  ]);
350
- var ExtendsItemSchema = _zod2.default.string().trim().describe(
350
+ var ExtendsItemSchema = z.string().trim().describe(
351
351
  "The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."
352
352
  );
353
353
  var ExtendsSchema = ExtendsItemSchema.or(
354
- _zod2.default.array(ExtendsItemSchema)
354
+ z.array(ExtendsItemSchema)
355
355
  ).describe(
356
356
  "The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."
357
357
  );
358
- var WorkspaceBotConfigSchema = _zod2.default.object({
359
- name: _zod2.default.string().trim().default("stormie-bot").describe(
358
+ var WorkspaceBotConfigSchema = z.object({
359
+ name: z.string().trim().default("stormie-bot").describe(
360
360
  "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
361
361
  ),
362
- email: _zod2.default.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
362
+ email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
363
363
  }).describe(
364
364
  "The workspace's bot user's config used to automated various operations tasks"
365
365
  );
366
- var WorkspaceReleaseConfigSchema = _zod2.default.object({
367
- banner: _zod2.default.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe(
366
+ var WorkspaceReleaseConfigSchema = z.object({
367
+ banner: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe(
368
368
  "A URL to a banner image used to display the workspace's release"
369
369
  ),
370
- header: _zod2.default.string().trim().optional().describe(
370
+ header: z.string().trim().optional().describe(
371
371
  "A header message appended to the start of the workspace's release notes"
372
372
  ),
373
- footer: _zod2.default.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe(
373
+ footer: z.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe(
374
374
  "A footer message appended to the end of the workspace's release notes"
375
375
  )
376
376
  }).describe("The workspace's release config used during the release process");
377
- var WorkspaceAccountConfigSchema = _zod2.default.object({
378
- twitter: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
379
- discord: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_DISCORD).describe("A Discord account associated with the organization/project"),
380
- telegram: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_TELEGRAM).describe("A Telegram account associated with the organization/project"),
381
- slack: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
382
- medium: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
383
- github: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
377
+ var WorkspaceAccountConfigSchema = z.object({
378
+ twitter: z.string().trim().default(STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
379
+ discord: z.string().trim().default(STORM_DEFAULT_ACCOUNT_DISCORD).describe("A Discord account associated with the organization/project"),
380
+ telegram: z.string().trim().default(STORM_DEFAULT_ACCOUNT_TELEGRAM).describe("A Telegram account associated with the organization/project"),
381
+ slack: z.string().trim().default(STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
382
+ medium: z.string().trim().default(STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
383
+ github: z.string().trim().default(STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
384
384
  }).describe(
385
385
  "The workspace's account config used to store various social media links"
386
386
  );
387
- var WorkspaceDirectoryConfigSchema = _zod2.default.object({
388
- cache: _zod2.default.string().trim().optional().describe(
387
+ var WorkspaceDirectoryConfigSchema = z.object({
388
+ cache: z.string().trim().optional().describe(
389
389
  "The directory used to store the environment's cached file data"
390
390
  ),
391
- data: _zod2.default.string().trim().optional().describe("The directory used to store the environment's data files"),
392
- config: _zod2.default.string().trim().optional().describe(
391
+ data: z.string().trim().optional().describe("The directory used to store the environment's data files"),
392
+ config: z.string().trim().optional().describe(
393
393
  "The directory used to store the environment's configuration files"
394
394
  ),
395
- temp: _zod2.default.string().trim().optional().describe("The directory used to store the environment's temp files"),
396
- log: _zod2.default.string().trim().optional().describe("The directory used to store the environment's temp files"),
397
- build: _zod2.default.string().trim().default("dist").describe(
395
+ temp: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
396
+ log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
397
+ build: z.string().trim().default("dist").describe(
398
398
  "The directory used to store the workspace's distributable files after a build (relative to the workspace root)"
399
399
  )
400
400
  }).describe(
401
401
  "Various directories used by the workspace to store data, cache, and configuration files"
402
402
  );
403
- var errorConfigSchema = _zod2.default.object({
404
- codesFile: _zod2.default.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
405
- url: _zod2.default.string().trim().url().optional().describe(
403
+ var errorConfigSchema = z.object({
404
+ codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
405
+ url: z.string().trim().url().optional().describe(
406
406
  "A URL to a page that looks up the workspace's error messages given a specific error code"
407
407
  )
408
408
  }).describe("The workspace's error config used during the error process");
409
- var stormWorkspaceConfigSchema = _zod2.default.object({
410
- $schema: _zod2.default.string().trim().default(
409
+ var organizationConfigSchema = z.object({
410
+ name: z.string().trim().describe("The name of the organization"),
411
+ description: z.string().trim().optional().describe("A description of the organization"),
412
+ logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
413
+ icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
414
+ url: z.string().trim().url().optional().describe(
415
+ "A URL to a page that provides more information about the organization"
416
+ )
417
+ }).describe("The workspace's organization details");
418
+ var stormWorkspaceConfigSchema = z.object({
419
+ $schema: z.string().trim().default(
411
420
  "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
412
421
  ).optional().nullish().describe(
413
422
  "The URL to the JSON schema file that describes the Storm configuration file"
414
423
  ),
415
424
  extends: ExtendsSchema.optional(),
416
- name: _zod2.default.string().trim().toLowerCase().optional().describe(
425
+ name: z.string().trim().toLowerCase().optional().describe(
417
426
  "The name of the service/package/scope using this configuration"
418
427
  ),
419
- namespace: _zod2.default.string().trim().toLowerCase().optional().describe("The namespace of the package"),
420
- organization: _zod2.default.string().trim().default("storm-software").describe("The organization of the workspace"),
421
- repository: _zod2.default.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
422
- license: _zod2.default.string().trim().default("Apache-2.0").describe("The license type of the package"),
423
- homepage: _zod2.default.string().trim().url().optional().describe("The homepage of the workspace"),
424
- docs: _zod2.default.string().trim().url().optional().describe("The documentation site for the workspace"),
425
- portal: _zod2.default.string().trim().url().optional().describe("The development portal site for the workspace"),
426
- licensing: _zod2.default.string().trim().url().optional().describe("The licensing site for the workspace"),
427
- contact: _zod2.default.string().trim().url().optional().describe("The contact site for the workspace"),
428
- support: _zod2.default.string().trim().url().optional().describe(
428
+ namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
429
+ organization: organizationConfigSchema.or(z.string().trim().describe("The organization of the workspace")).optional().describe(
430
+ "The organization of the workspace. This can be a string or an object containing the organization's details"
431
+ ),
432
+ repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
433
+ license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
434
+ homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
435
+ docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
436
+ portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
437
+ licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
438
+ contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
439
+ support: z.string().trim().url().optional().describe(
429
440
  "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
430
441
  ),
431
- branch: _zod2.default.string().trim().default("main").describe("The branch of the workspace"),
432
- preid: _zod2.default.string().optional().describe("A tag specifying the version pre-release identifier"),
433
- owner: _zod2.default.string().trim().default("@storm-software/admin").describe("The owner of the package"),
442
+ branch: z.string().trim().default("main").describe("The branch of the workspace"),
443
+ preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
444
+ owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
434
445
  bot: WorkspaceBotConfigSchema,
435
446
  release: WorkspaceReleaseConfigSchema,
436
447
  account: WorkspaceAccountConfigSchema,
437
448
  error: errorConfigSchema,
438
- mode: _zod2.default.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
439
- workspaceRoot: _zod2.default.string().trim().describe("The root directory of the workspace"),
440
- externalPackagePatterns: _zod2.default.array(_zod2.default.string()).default([]).describe(
449
+ mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
450
+ workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
451
+ externalPackagePatterns: z.array(z.string()).default([]).describe(
441
452
  "The build will use these package patterns to determine if they should be external to the bundle"
442
453
  ),
443
- skipCache: _zod2.default.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
454
+ skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
444
455
  directories: WorkspaceDirectoryConfigSchema,
445
- packageManager: _zod2.default.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
456
+ packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
446
457
  "The JavaScript/TypeScript package manager used by the repository"
447
458
  ),
448
- timezone: _zod2.default.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
449
- locale: _zod2.default.string().trim().default("en-US").describe("The default locale of the workspace"),
450
- logLevel: _zod2.default.enum([
459
+ timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
460
+ locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
461
+ logLevel: z.enum([
451
462
  "silent",
452
463
  "fatal",
453
464
  "error",
@@ -460,17 +471,17 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
460
471
  ]).default("info").describe(
461
472
  "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`)."
462
473
  ),
463
- skipConfigLogging: _zod2.default.boolean().optional().describe(
474
+ skipConfigLogging: z.boolean().optional().describe(
464
475
  "Should the logging of the current Storm Workspace configuration be skipped?"
465
476
  ),
466
477
  registry: RegistryConfigSchema,
467
- configFile: _zod2.default.string().trim().nullable().default(null).describe(
478
+ configFile: z.string().trim().nullable().default(null).describe(
468
479
  "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
469
480
  ),
470
481
  colors: ColorConfigSchema.or(ColorConfigMapSchema).describe(
471
482
  "Storm theme config values used for styling various package elements"
472
483
  ),
473
- extensions: _zod2.default.record(_zod2.default.any()).optional().default({}).describe("Configuration of each used extension")
484
+ extensions: z.record(z.string(), z.any()).optional().default({}).describe("Configuration of each used extension")
474
485
  }).describe(
475
486
  "Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
476
487
  );
@@ -15,13 +15,13 @@
15
15
 
16
16
 
17
17
 
18
- var _chunkJ6WEWRXQjs = require('./chunk-J6WEWRXQ.js');
18
+ var _chunkXBURNOOHjs = require('./chunk-XBURNOOH.js');
19
19
 
20
20
  // ../config-tools/src/config-file/get-config-file.ts
21
21
  var _c12 = require('c12');
22
22
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
23
23
  var getConfigFileByName = async (fileName, filePath, options = {}) => {
24
- const workspacePath = filePath || _chunkJ6WEWRXQjs.findWorkspaceRoot.call(void 0, filePath);
24
+ const workspacePath = filePath || _chunkXBURNOOHjs.findWorkspaceRoot.call(void 0, filePath);
25
25
  const configs = await Promise.all([
26
26
  _c12.loadConfig.call(void 0, {
27
27
  cwd: workspacePath,
@@ -30,7 +30,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
30
30
  envName: _optionalChain([fileName, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]),
31
31
  jitiOptions: {
32
32
  debug: false,
33
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkJ6WEWRXQjs.joinPaths.call(void 0,
33
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkXBURNOOHjs.joinPaths.call(void 0,
34
34
  process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
35
35
  "jiti"
36
36
  )
@@ -44,7 +44,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
44
44
  envName: _optionalChain([fileName, 'optionalAccess', _3 => _3.toUpperCase, 'call', _4 => _4()]),
45
45
  jitiOptions: {
46
46
  debug: false,
47
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkJ6WEWRXQjs.joinPaths.call(void 0,
47
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkXBURNOOHjs.joinPaths.call(void 0,
48
48
  process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
49
49
  "jiti"
50
50
  )
@@ -56,12 +56,12 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
56
56
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
57
57
  };
58
58
  var getConfigFile = async (filePath, additionalFileNames = []) => {
59
- const workspacePath = filePath ? filePath : _chunkJ6WEWRXQjs.findWorkspaceRoot.call(void 0, filePath);
59
+ const workspacePath = filePath ? filePath : _chunkXBURNOOHjs.findWorkspaceRoot.call(void 0, filePath);
60
60
  const result = await getConfigFileByName("storm-workspace", workspacePath);
61
61
  let config = result.config;
62
62
  const configFile = result.configFile;
63
63
  if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
64
- _chunkJ6WEWRXQjs.writeTrace.call(void 0,
64
+ _chunkXBURNOOHjs.writeTrace.call(void 0,
65
65
  `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
66
66
  {
67
67
  logLevel: "all"
@@ -77,7 +77,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
77
77
  for (const result2 of results) {
78
78
  if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
79
79
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
80
- _chunkJ6WEWRXQjs.writeTrace.call(void 0,
80
+ _chunkXBURNOOHjs.writeTrace.call(void 0,
81
81
  `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
82
82
  {
83
83
  logLevel: "all"
@@ -139,7 +139,13 @@ var getConfigEnv = () => {
139
139
  medium: process.env[`${prefix}ACCOUNT_MEDIUM`] || void 0,
140
140
  github: process.env[`${prefix}ACCOUNT_GITHUB`] || void 0
141
141
  },
142
- organization: process.env[`${prefix}ORGANIZATION`] || void 0,
142
+ organization: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`] ? process.env[`${prefix}ORG_DESCRIPTION`] || process.env[`${prefix}ORGANIZATION_DESCRIPTION`] || process.env[`${prefix}ORG_URL`] || process.env[`${prefix}ORGANIZATION_URL`] || process.env[`${prefix}ORG_LOGO`] || process.env[`${prefix}ORGANIZATION_LOGO`] ? {
143
+ name: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`],
144
+ description: process.env[`${prefix}ORG_DESCRIPTION`] || process.env[`${prefix}ORGANIZATION_DESCRIPTION`] || void 0,
145
+ url: process.env[`${prefix}ORG_URL`] || process.env[`${prefix}ORGANIZATION_URL`] || void 0,
146
+ logo: process.env[`${prefix}ORG_LOGO`] || process.env[`${prefix}ORGANIZATION_LOGO`] || void 0,
147
+ icon: process.env[`${prefix}ORG_ICON`] || process.env[`${prefix}ORGANIZATION_ICON`] || void 0
148
+ } : process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`] : void 0,
143
149
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`] || void 0,
144
150
  license: process.env[`${prefix}LICENSE`] || void 0,
145
151
  homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
@@ -150,15 +156,15 @@ var getConfigEnv = () => {
150
156
  support: process.env[`${prefix}SUPPORT`] || void 0,
151
157
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
152
158
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
153
- configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkJ6WEWRXQjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
154
- workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkJ6WEWRXQjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
159
+ configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkXBURNOOHjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
160
+ workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkXBURNOOHjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
155
161
  directories: {
156
- cache: process.env[`${prefix}CACHE_DIR`] ? _chunkJ6WEWRXQjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkJ6WEWRXQjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
157
- data: process.env[`${prefix}DATA_DIR`] ? _chunkJ6WEWRXQjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkJ6WEWRXQjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
158
- config: process.env[`${prefix}CONFIG_DIR`] ? _chunkJ6WEWRXQjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkJ6WEWRXQjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
159
- temp: process.env[`${prefix}TEMP_DIR`] ? _chunkJ6WEWRXQjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkJ6WEWRXQjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
160
- log: process.env[`${prefix}LOG_DIR`] ? _chunkJ6WEWRXQjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkJ6WEWRXQjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
161
- build: process.env[`${prefix}BUILD_DIR`] ? _chunkJ6WEWRXQjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkJ6WEWRXQjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
162
+ cache: process.env[`${prefix}CACHE_DIR`] ? _chunkXBURNOOHjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkXBURNOOHjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
163
+ data: process.env[`${prefix}DATA_DIR`] ? _chunkXBURNOOHjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkXBURNOOHjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
164
+ config: process.env[`${prefix}CONFIG_DIR`] ? _chunkXBURNOOHjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkXBURNOOHjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
165
+ temp: process.env[`${prefix}TEMP_DIR`] ? _chunkXBURNOOHjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkXBURNOOHjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
166
+ log: process.env[`${prefix}LOG_DIR`] ? _chunkXBURNOOHjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkXBURNOOHjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
167
+ build: process.env[`${prefix}BUILD_DIR`] ? _chunkXBURNOOHjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkXBURNOOHjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
162
168
  },
163
169
  skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
164
170
  mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
@@ -183,13 +189,13 @@ var getConfigEnv = () => {
183
189
  },
184
190
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
185
191
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
186
- ) ? _chunkJ6WEWRXQjs.getLogLevelLabel.call(void 0,
192
+ ) ? _chunkXBURNOOHjs.getLogLevelLabel.call(void 0,
187
193
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
188
194
  ) : process.env[`${prefix}LOG_LEVEL`] : void 0,
189
195
  skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
190
196
  };
191
197
  const themeNames = Object.keys(process.env).filter(
192
- (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkJ6WEWRXQjs.COLOR_KEYS.every(
198
+ (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkXBURNOOHjs.COLOR_KEYS.every(
193
199
  (colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
194
200
  )
195
201
  );
@@ -200,16 +206,16 @@ var getConfigEnv = () => {
200
206
  },
201
207
  {}
202
208
  ) : getThemeColorConfigEnv(prefix);
203
- if (config.docs === _chunkJ6WEWRXQjs.STORM_DEFAULT_DOCS) {
204
- if (config.homepage === _chunkJ6WEWRXQjs.STORM_DEFAULT_HOMEPAGE) {
205
- config.docs = `${_chunkJ6WEWRXQjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
209
+ if (config.docs === _chunkXBURNOOHjs.STORM_DEFAULT_DOCS) {
210
+ if (config.homepage === _chunkXBURNOOHjs.STORM_DEFAULT_HOMEPAGE) {
211
+ config.docs = `${_chunkXBURNOOHjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
206
212
  } else {
207
213
  config.docs = `${config.homepage}/docs`;
208
214
  }
209
215
  }
210
- if (config.licensing === _chunkJ6WEWRXQjs.STORM_DEFAULT_LICENSING) {
211
- if (config.homepage === _chunkJ6WEWRXQjs.STORM_DEFAULT_HOMEPAGE) {
212
- config.licensing = `${_chunkJ6WEWRXQjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
216
+ if (config.licensing === _chunkXBURNOOHjs.STORM_DEFAULT_LICENSING) {
217
+ if (config.homepage === _chunkXBURNOOHjs.STORM_DEFAULT_HOMEPAGE) {
218
+ config.licensing = `${_chunkXBURNOOHjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
213
219
  } else {
214
220
  config.licensing = `${config.homepage}/docs`;
215
221
  }
@@ -346,7 +352,33 @@ var setConfigEnv = (config) => {
346
352
  }
347
353
  }
348
354
  if (config.organization) {
349
- process.env[`${prefix}ORGANIZATION`] = config.organization;
355
+ if (typeof config.organization === "string") {
356
+ process.env[`${prefix}ORG`] = config.organization;
357
+ process.env[`${prefix}ORG_NAME`] = config.organization;
358
+ process.env[`${prefix}ORGANIZATION`] = config.organization;
359
+ process.env[`${prefix}ORGANIZATION_NAME`] = config.organization;
360
+ } else {
361
+ process.env[`${prefix}ORG`] = config.organization.name;
362
+ process.env[`${prefix}ORG_NAME`] = config.organization.name;
363
+ process.env[`${prefix}ORGANIZATION`] = config.organization.name;
364
+ process.env[`${prefix}ORGANIZATION_NAME`] = config.organization.name;
365
+ if (config.organization.url) {
366
+ process.env[`${prefix}ORG_URL`] = config.organization.url;
367
+ process.env[`${prefix}ORGANIZATION_URL`] = config.organization.url;
368
+ }
369
+ if (config.organization.description) {
370
+ process.env[`${prefix}ORG_DESCRIPTION`] = config.organization.description;
371
+ process.env[`${prefix}ORGANIZATION_DESCRIPTION`] = config.organization.description;
372
+ }
373
+ if (config.organization.logo) {
374
+ process.env[`${prefix}ORG_LOGO`] = config.organization.logo;
375
+ process.env[`${prefix}ORGANIZATION_LOGO`] = config.organization.logo;
376
+ }
377
+ if (config.organization.icon) {
378
+ process.env[`${prefix}ORG_ICON`] = config.organization.icon;
379
+ process.env[`${prefix}ORGANIZATION_ICON`] = config.organization.icon;
380
+ }
381
+ }
350
382
  }
351
383
  if (config.packageManager) {
352
384
  process.env[`${prefix}PACKAGE_MANAGER`] = config.packageManager;
@@ -384,40 +416,40 @@ var setConfigEnv = (config) => {
384
416
  process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
385
417
  }
386
418
  if (config.configFile) {
387
- process.env[`${prefix}CONFIG_FILE`] = _chunkJ6WEWRXQjs.correctPaths.call(void 0, config.configFile);
419
+ process.env[`${prefix}CONFIG_FILE`] = _chunkXBURNOOHjs.correctPaths.call(void 0, config.configFile);
388
420
  }
389
421
  if (config.workspaceRoot) {
390
- process.env[`${prefix}WORKSPACE_ROOT`] = _chunkJ6WEWRXQjs.correctPaths.call(void 0, config.workspaceRoot);
391
- process.env.NX_WORKSPACE_ROOT = _chunkJ6WEWRXQjs.correctPaths.call(void 0, config.workspaceRoot);
392
- process.env.NX_WORKSPACE_ROOT_PATH = _chunkJ6WEWRXQjs.correctPaths.call(void 0, config.workspaceRoot);
422
+ process.env[`${prefix}WORKSPACE_ROOT`] = _chunkXBURNOOHjs.correctPaths.call(void 0, config.workspaceRoot);
423
+ process.env.NX_WORKSPACE_ROOT = _chunkXBURNOOHjs.correctPaths.call(void 0, config.workspaceRoot);
424
+ process.env.NX_WORKSPACE_ROOT_PATH = _chunkXBURNOOHjs.correctPaths.call(void 0, config.workspaceRoot);
393
425
  }
394
426
  if (config.directories) {
395
427
  if (!config.skipCache && config.directories.cache) {
396
- process.env[`${prefix}CACHE_DIR`] = _chunkJ6WEWRXQjs.correctPaths.call(void 0,
428
+ process.env[`${prefix}CACHE_DIR`] = _chunkXBURNOOHjs.correctPaths.call(void 0,
397
429
  config.directories.cache
398
430
  );
399
431
  process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
400
432
  }
401
433
  if (config.directories.data) {
402
- process.env[`${prefix}DATA_DIR`] = _chunkJ6WEWRXQjs.correctPaths.call(void 0, config.directories.data);
434
+ process.env[`${prefix}DATA_DIR`] = _chunkXBURNOOHjs.correctPaths.call(void 0, config.directories.data);
403
435
  process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
404
436
  }
405
437
  if (config.directories.config) {
406
- process.env[`${prefix}CONFIG_DIR`] = _chunkJ6WEWRXQjs.correctPaths.call(void 0,
438
+ process.env[`${prefix}CONFIG_DIR`] = _chunkXBURNOOHjs.correctPaths.call(void 0,
407
439
  config.directories.config
408
440
  );
409
441
  process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
410
442
  }
411
443
  if (config.directories.temp) {
412
- process.env[`${prefix}TEMP_DIR`] = _chunkJ6WEWRXQjs.correctPaths.call(void 0, config.directories.temp);
444
+ process.env[`${prefix}TEMP_DIR`] = _chunkXBURNOOHjs.correctPaths.call(void 0, config.directories.temp);
413
445
  process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
414
446
  }
415
447
  if (config.directories.log) {
416
- process.env[`${prefix}LOG_DIR`] = _chunkJ6WEWRXQjs.correctPaths.call(void 0, config.directories.log);
448
+ process.env[`${prefix}LOG_DIR`] = _chunkXBURNOOHjs.correctPaths.call(void 0, config.directories.log);
417
449
  process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
418
450
  }
419
451
  if (config.directories.build) {
420
- process.env[`${prefix}BUILD_DIR`] = _chunkJ6WEWRXQjs.correctPaths.call(void 0,
452
+ process.env[`${prefix}BUILD_DIR`] = _chunkXBURNOOHjs.correctPaths.call(void 0,
421
453
  config.directories.build
422
454
  );
423
455
  process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
@@ -484,9 +516,9 @@ var setConfigEnv = (config) => {
484
516
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
485
517
  process.env.LOG_LEVEL = String(config.logLevel);
486
518
  process.env.NX_VERBOSE_LOGGING = String(
487
- _chunkJ6WEWRXQjs.getLogLevel.call(void 0, config.logLevel) >= _chunkJ6WEWRXQjs.LogLevel.DEBUG ? true : false
519
+ _chunkXBURNOOHjs.getLogLevel.call(void 0, config.logLevel) >= _chunkXBURNOOHjs.LogLevel.DEBUG ? true : false
488
520
  );
489
- process.env.RUST_BACKTRACE = _chunkJ6WEWRXQjs.getLogLevel.call(void 0, config.logLevel) >= _chunkJ6WEWRXQjs.LogLevel.DEBUG ? "full" : "none";
521
+ process.env.RUST_BACKTRACE = _chunkXBURNOOHjs.getLogLevel.call(void 0, config.logLevel) >= _chunkXBURNOOHjs.LogLevel.DEBUG ? "full" : "none";
490
522
  }
491
523
  if (config.skipConfigLogging !== void 0) {
492
524
  process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
@@ -606,13 +638,13 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
606
638
  if (!_optionalChain([_static_cache, 'optionalAccess', _29 => _29.data]) || !_optionalChain([_static_cache, 'optionalAccess', _30 => _30.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
607
639
  let _workspaceRoot = workspaceRoot;
608
640
  if (!_workspaceRoot) {
609
- _workspaceRoot = _chunkJ6WEWRXQjs.findWorkspaceRoot.call(void 0, );
641
+ _workspaceRoot = _chunkXBURNOOHjs.findWorkspaceRoot.call(void 0, );
610
642
  }
611
643
  const configEnv = getConfigEnv();
612
644
  const configFile = await getConfigFile(_workspaceRoot);
613
645
  if (!configFile) {
614
646
  if (!skipLogs) {
615
- _chunkJ6WEWRXQjs.writeWarning.call(void 0,
647
+ _chunkXBURNOOHjs.writeWarning.call(void 0,
616
648
  "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",
617
649
  { logLevel: "all" }
618
650
  );
@@ -621,9 +653,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
621
653
  return void 0;
622
654
  }
623
655
  }
624
- const defaultConfig = await _chunkJ6WEWRXQjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
625
- result = _chunkJ6WEWRXQjs.applyDefaultConfig.call(void 0,
626
- await _chunkJ6WEWRXQjs.stormWorkspaceConfigSchema.parseAsync(
656
+ const defaultConfig = await _chunkXBURNOOHjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
657
+ result = _chunkXBURNOOHjs.applyDefaultConfig.call(void 0,
658
+ await _chunkXBURNOOHjs.stormWorkspaceConfigSchema.parseAsync(
627
659
  _defu2.default.call(void 0, configEnv, configFile, defaultConfig)
628
660
  )
629
661
  );
@@ -665,9 +697,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
665
697
  );
666
698
  setConfigEnv(config);
667
699
  if (!skipLogs && !config.skipConfigLogging) {
668
- _chunkJ6WEWRXQjs.writeTrace.call(void 0,
700
+ _chunkXBURNOOHjs.writeTrace.call(void 0,
669
701
  `\u2699\uFE0F Using Storm Workspace configuration:
670
- ${_chunkJ6WEWRXQjs.formatLogMessage.call(void 0, config)}`,
702
+ ${_chunkXBURNOOHjs.formatLogMessage.call(void 0, config)}`,
671
703
  config
672
704
  );
673
705
  }
@@ -688,7 +720,7 @@ var readNxConfig = async (workspaceRoot) => {
688
720
  const config = await getConfig();
689
721
  rootDir = config.workspaceRoot;
690
722
  }
691
- const nxJsonPath = _chunkJ6WEWRXQjs.joinPaths.call(void 0, rootDir, "nx.json");
723
+ const nxJsonPath = _chunkXBURNOOHjs.joinPaths.call(void 0, rootDir, "nx.json");
692
724
  if (!_fs.existsSync.call(void 0, nxJsonPath)) {
693
725
  throw new Error("Cannot find project.json configuration");
694
726
  }
package/dist/index.d.mts CHANGED
@@ -14,7 +14,7 @@ export { getExternalDependencies, getExtraDependencies, getInternalDependencies
14
14
  export { readNxConfig } from './utilities/read-nx-config.mjs';
15
15
  export { createTaskId, getAllWorkspaceTaskGraphs } from './utilities/task-graph.mjs';
16
16
  import 'rollup';
17
- import './types-BUGkxiRi.mjs';
18
- import 'zod';
17
+ import './types-B4rGVLza.mjs';
18
+ import 'zod/v4';
19
19
  import '@nx/devkit';
20
20
  import '@nx/js/src/utils/buildable-libs-utils';
package/dist/index.d.ts CHANGED
@@ -14,7 +14,7 @@ export { getExternalDependencies, getExtraDependencies, getInternalDependencies
14
14
  export { readNxConfig } from './utilities/read-nx-config.js';
15
15
  export { createTaskId, getAllWorkspaceTaskGraphs } from './utilities/task-graph.js';
16
16
  import 'rollup';
17
- import './types-BUGkxiRi.js';
18
- import 'zod';
17
+ import './types-B4rGVLza.js';
18
+ import 'zod/v4';
19
19
  import '@nx/devkit';
20
20
  import '@nx/js/src/utils/buildable-libs-utils';