@storm-software/k8s-tools 0.33.20 → 0.33.22

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 (35) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-CI55ZXBO.js → chunk-2XH6VHRL.js} +2 -2
  4. package/dist/{chunk-FTASJJZW.mjs → chunk-CCWSBUHT.mjs} +1 -1
  5. package/dist/{chunk-STZGZW7F.js → chunk-FJNCLESV.js} +87 -87
  6. package/dist/{chunk-QV2KWXF7.mjs → chunk-HIUE56MJ.mjs} +2 -2
  7. package/dist/{chunk-K3WA7MOP.js → chunk-IAY4QS4T.js} +4 -4
  8. package/dist/{chunk-RWYMKMRP.mjs → chunk-M267PZBL.mjs} +2 -2
  9. package/dist/{chunk-6V2CLUAU.js → chunk-PPJSI6VD.js} +19 -19
  10. package/dist/{chunk-VFBWVXP5.mjs → chunk-Q4YZ6HUX.mjs} +1 -1
  11. package/dist/{chunk-IMDAOXF2.mjs → chunk-Q52PLSXH.mjs} +2 -2
  12. package/dist/{chunk-XUXJT2E4.mjs → chunk-QA2W2M72.mjs} +2 -2
  13. package/dist/{chunk-SG425HLH.js → chunk-RZEMVI6T.js} +6 -6
  14. package/dist/{chunk-LWJH3PCU.js → chunk-V222E7AQ.js} +4 -4
  15. package/dist/{chunk-YRETUYQI.mjs → chunk-W7L5KLXN.mjs} +5 -5
  16. package/dist/{chunk-J6E65HIY.js → chunk-XRMM3UTE.js} +3 -3
  17. package/dist/{chunk-RNP7VP2L.js → chunk-Y7VKYMWD.js} +25 -25
  18. package/dist/{chunk-C4M57Q6E.mjs → chunk-ZOZNEQKX.mjs} +2 -2
  19. package/dist/executors.js +5 -5
  20. package/dist/executors.mjs +4 -4
  21. package/dist/generators.js +6 -6
  22. package/dist/generators.mjs +5 -5
  23. package/dist/index.js +9 -9
  24. package/dist/index.mjs +8 -8
  25. package/dist/src/executors/container-publish/executor.js +4 -4
  26. package/dist/src/executors/container-publish/executor.mjs +3 -3
  27. package/dist/src/executors/helm-package/executor.js +4 -4
  28. package/dist/src/executors/helm-package/executor.mjs +3 -3
  29. package/dist/src/generators/helm-chart/generator.js +5 -5
  30. package/dist/src/generators/helm-chart/generator.mjs +4 -4
  31. package/dist/src/generators/helm-dependency/generator.js +5 -5
  32. package/dist/src/generators/helm-dependency/generator.mjs +4 -4
  33. package/dist/src/plugins/docker/index.js +3 -3
  34. package/dist/src/plugins/docker/index.mjs +2 -2
  35. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -2,6 +2,45 @@
2
2
 
3
3
  # Changelog for Storm Ops - K8s Tools
4
4
 
5
+ ## [0.33.21](https://github.com/storm-software/storm-ops/releases/tag/k8s-tools%400.33.21) (2025-06-20)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Update workspace packages' links
10
+ ([608404bc8](https://github.com/storm-software/storm-ops/commit/608404bc8))
11
+ - **monorepo:** Update README markdown files
12
+ ([90a90bfac](https://github.com/storm-software/storm-ops/commit/90a90bfac))
13
+
14
+ ### Updated Dependencies
15
+
16
+ - Updated workspace-tools to 1.275.23
17
+ - Updated config-tools to 1.174.1
18
+ - Updated config to 1.123.2
19
+
20
+ ## [0.33.20](https://github.com/storm-software/storm-ops/releases/tag/k8s-tools%400.33.20) (2025-06-20)
21
+
22
+ ### Bug Fixes
23
+
24
+ - **k8s-tools:** Update all references to latest `OrganizationConfig` type
25
+ definition
26
+ ([88765f826](https://github.com/storm-software/storm-ops/commit/88765f826))
27
+ - **k8s-tools:** Update Nx plugin to handle new `organization` configuration
28
+ type definition
29
+ ([fef21972c](https://github.com/storm-software/storm-ops/commit/fef21972c))
30
+
31
+ ### Miscellaneous
32
+
33
+ - **monorepo:** Regenerate README markdown files
34
+ ([0bdc8a84e](https://github.com/storm-software/storm-ops/commit/0bdc8a84e))
35
+ - **monorepo:** Update workspace packages' links
36
+ ([35f3ef346](https://github.com/storm-software/storm-ops/commit/35f3ef346))
37
+
38
+ ### Updated Dependencies
39
+
40
+ - Updated workspace-tools to 1.275.21
41
+ - Updated config-tools to 1.174.0
42
+ - Updated config to 1.123.0
43
+
5
44
  ## [0.33.19](https://github.com/storm-software/storm-ops/releases/tag/k8s-tools%400.33.19) (2025-06-18)
6
45
 
7
46
  ### Miscellaneous
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-0.33.19-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.33.21-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -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 _chunkSTZGZW7Fjs = require('./chunk-STZGZW7F.js');
3
+ var _chunkFJNCLESVjs = require('./chunk-FJNCLESV.js');
4
4
 
5
5
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
6
6
  var applyWorkspaceBaseTokens = async (option, tokenParams) => {
@@ -37,7 +37,7 @@ var applyWorkspaceBaseTokens = async (option, tokenParams) => {
37
37
  if (result.includes("{workspaceRoot}")) {
38
38
  result = result.replaceAll(
39
39
  "{workspaceRoot}",
40
- _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _2 => _2.config, 'optionalAccess', _3 => _3.workspaceRoot]))), () => ( _chunkSTZGZW7Fjs.findWorkspaceRoot.call(void 0, )))
40
+ _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _2 => _2.config, 'optionalAccess', _3 => _3.workspaceRoot]))), () => ( _chunkFJNCLESVjs.findWorkspaceRoot.call(void 0, )))
41
41
  );
42
42
  }
43
43
  return result;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-YRETUYQI.mjs";
3
+ } from "./chunk-W7L5KLXN.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
6
6
  var applyWorkspaceBaseTokens = async (option, tokenParams) => {
@@ -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,122 +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 organizationConfigSchema = _zod2.default.object({
410
- name: _zod2.default.string().trim().describe("The name of the organization"),
411
- description: _zod2.default.string().trim().optional().describe("A description of the organization"),
412
- logo: _zod2.default.string().trim().url().optional().describe("A URL to the organization's logo image"),
413
- icon: _zod2.default.string().trim().url().optional().describe("A URL to the organization's icon image"),
414
- url: _zod2.default.string().trim().url().optional().describe(
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
415
  "A URL to a page that provides more information about the organization"
416
416
  )
417
417
  }).describe("The workspace's organization details");
418
- var stormWorkspaceConfigSchema = _zod2.default.object({
419
- $schema: _zod2.default.string().trim().default(
420
- "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
421
- ).optional().nullish().describe(
422
- "The URL to the JSON schema file that describes the Storm configuration file"
418
+ var stormWorkspaceConfigSchema = z.object({
419
+ $schema: z.string().trim().default(
420
+ "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
421
+ ).describe(
422
+ "The URL or file path to the JSON schema file that describes the Storm configuration file"
423
423
  ),
424
424
  extends: ExtendsSchema.optional(),
425
- name: _zod2.default.string().trim().toLowerCase().optional().describe(
425
+ name: z.string().trim().toLowerCase().optional().describe(
426
426
  "The name of the service/package/scope using this configuration"
427
427
  ),
428
- namespace: _zod2.default.string().trim().toLowerCase().optional().describe("The namespace of the package"),
429
- organization: organizationConfigSchema.or(_zod2.default.string().trim().describe("The organization of the workspace")).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
430
  "The organization of the workspace. This can be a string or an object containing the organization's details"
431
431
  ),
432
- repository: _zod2.default.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
433
- license: _zod2.default.string().trim().default("Apache-2.0").describe("The license type of the package"),
434
- homepage: _zod2.default.string().trim().url().optional().describe("The homepage of the workspace"),
435
- docs: _zod2.default.string().trim().url().optional().describe("The documentation site for the workspace"),
436
- portal: _zod2.default.string().trim().url().optional().describe("The development portal site for the workspace"),
437
- licensing: _zod2.default.string().trim().url().optional().describe("The licensing site for the workspace"),
438
- contact: _zod2.default.string().trim().url().optional().describe("The contact site for the workspace"),
439
- support: _zod2.default.string().trim().url().optional().describe(
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(
440
440
  "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
441
441
  ),
442
- branch: _zod2.default.string().trim().default("main").describe("The branch of the workspace"),
443
- preid: _zod2.default.string().optional().describe("A tag specifying the version pre-release identifier"),
444
- 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"),
445
445
  bot: WorkspaceBotConfigSchema,
446
446
  release: WorkspaceReleaseConfigSchema,
447
447
  account: WorkspaceAccountConfigSchema,
448
448
  error: errorConfigSchema,
449
- mode: _zod2.default.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
450
- workspaceRoot: _zod2.default.string().trim().describe("The root directory of the workspace"),
451
- 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(
452
452
  "The build will use these package patterns to determine if they should be external to the bundle"
453
453
  ),
454
- 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?"),
455
455
  directories: WorkspaceDirectoryConfigSchema,
456
- packageManager: _zod2.default.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
456
+ packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
457
457
  "The JavaScript/TypeScript package manager used by the repository"
458
458
  ),
459
- timezone: _zod2.default.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
460
- locale: _zod2.default.string().trim().default("en-US").describe("The default locale of the workspace"),
461
- 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([
462
462
  "silent",
463
463
  "fatal",
464
464
  "error",
@@ -471,17 +471,17 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
471
471
  ]).default("info").describe(
472
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`)."
473
473
  ),
474
- skipConfigLogging: _zod2.default.boolean().optional().describe(
474
+ skipConfigLogging: z.boolean().optional().describe(
475
475
  "Should the logging of the current Storm Workspace configuration be skipped?"
476
476
  ),
477
477
  registry: RegistryConfigSchema,
478
- configFile: _zod2.default.string().trim().nullable().default(null).describe(
478
+ configFile: z.string().trim().nullable().default(null).describe(
479
479
  "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
480
480
  ),
481
481
  colors: ColorConfigSchema.or(ColorConfigMapSchema).describe(
482
482
  "Storm theme config values used for styling various package elements"
483
483
  ),
484
- 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")
485
485
  }).describe(
486
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."
487
487
  );
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-WV3ZYQE2.mjs";
4
4
  import {
5
5
  applyWorkspaceTokens
6
- } from "./chunk-FTASJJZW.mjs";
6
+ } from "./chunk-CCWSBUHT.mjs";
7
7
  import {
8
8
  findWorkspaceRoot,
9
9
  getConfig
10
- } from "./chunk-YRETUYQI.mjs";
10
+ } from "./chunk-W7L5KLXN.mjs";
11
11
 
12
12
  // src/executors/container-publish/executor.ts
13
13
  import {
@@ -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 _chunk6V2CLUAUjs = require('./chunk-6V2CLUAU.js');
3
+ var _chunkPPJSI6VDjs = require('./chunk-PPJSI6VD.js');
4
4
 
5
5
 
6
- var _chunkSTZGZW7Fjs = require('./chunk-STZGZW7F.js');
6
+ var _chunkFJNCLESVjs = require('./chunk-FJNCLESV.js');
7
7
 
8
8
  // src/generators/helm-chart/generator.ts
9
9
 
@@ -14,7 +14,7 @@ var _chunkSTZGZW7Fjs = require('./chunk-STZGZW7F.js');
14
14
  var _devkit = require('@nx/devkit');
15
15
  var _path = require('path');
16
16
  async function helmChartGeneratorFn(tree, options, config) {
17
- _chunkSTZGZW7Fjs.writeDebug.call(void 0, "\u{1F4DD} Preparing to write Helm Chart", config);
17
+ _chunkFJNCLESVjs.writeDebug.call(void 0, "\u{1F4DD} Preparing to write Helm Chart", config);
18
18
  const project = _devkit.readProjectConfiguration.call(void 0, tree, options.project);
19
19
  if (_optionalChain([project, 'access', _ => _.targets, 'optionalAccess', _2 => _2["helm-package"]])) {
20
20
  throw new Error(
@@ -55,7 +55,7 @@ async function helmChartGeneratorFn(tree, options, config) {
55
55
  success: true
56
56
  };
57
57
  }
58
- var generator_default = _chunk6V2CLUAUjs.withRunGenerator.call(void 0,
58
+ var generator_default = _chunkPPJSI6VDjs.withRunGenerator.call(void 0,
59
59
  "Helm Chart",
60
60
  helmChartGeneratorFn
61
61
  );
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-XUXJT2E4.mjs";
3
+ } from "./chunk-QA2W2M72.mjs";
4
4
  import {
5
5
  writeDebug
6
- } from "./chunk-YRETUYQI.mjs";
6
+ } from "./chunk-W7L5KLXN.mjs";
7
7
  import {
8
8
  __dirname
9
9
  } from "./chunk-GMTGF6X4.mjs";
@@ -1,7 +1,7 @@
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
3
 
4
- var _chunkCI55ZXBOjs = require('./chunk-CI55ZXBO.js');
4
+ var _chunk2XH6VHRLjs = require('./chunk-2XH6VHRL.js');
5
5
 
6
6
 
7
7
 
@@ -12,51 +12,51 @@ var _chunkCI55ZXBOjs = require('./chunk-CI55ZXBO.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkSTZGZW7Fjs = require('./chunk-STZGZW7F.js');
15
+ var _chunkFJNCLESVjs = require('./chunk-FJNCLESV.js');
16
16
 
17
17
  // ../workspace-tools/src/base/base-generator.ts
18
18
  var withRunGenerator = (name, generatorFn, generatorOptions = {
19
19
  skipReadingConfig: false
20
20
  }) => async (tree, _options) => {
21
- const stopwatch = _chunkSTZGZW7Fjs.getStopwatch.call(void 0, name);
21
+ const stopwatch = _chunkFJNCLESVjs.getStopwatch.call(void 0, name);
22
22
  let options = _options;
23
23
  let config;
24
24
  try {
25
- _chunkSTZGZW7Fjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
25
+ _chunkFJNCLESVjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
26
26
 
27
27
  `, config);
28
- const workspaceRoot = _chunkSTZGZW7Fjs.findWorkspaceRoot.call(void 0, );
28
+ const workspaceRoot = _chunkFJNCLESVjs.findWorkspaceRoot.call(void 0, );
29
29
  if (!generatorOptions.skipReadingConfig) {
30
- _chunkSTZGZW7Fjs.writeDebug.call(void 0,
30
+ _chunkFJNCLESVjs.writeDebug.call(void 0,
31
31
  `Loading the Storm Config from environment variables and storm.config.js file...
32
32
  - workspaceRoot: ${workspaceRoot}`,
33
33
  config
34
34
  );
35
- config = await _chunkSTZGZW7Fjs.getConfig.call(void 0, workspaceRoot);
35
+ config = await _chunkFJNCLESVjs.getConfig.call(void 0, workspaceRoot);
36
36
  }
37
37
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
38
- _chunkSTZGZW7Fjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
38
+ _chunkFJNCLESVjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
39
39
  options = await Promise.resolve(
40
40
  generatorOptions.hooks.applyDefaultOptions(options, config)
41
41
  );
42
- _chunkSTZGZW7Fjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
42
+ _chunkFJNCLESVjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
43
43
  }
44
- _chunkSTZGZW7Fjs.writeTrace.call(void 0,
44
+ _chunkFJNCLESVjs.writeTrace.call(void 0,
45
45
  `Generator schema options \u2699\uFE0F
46
46
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
47
47
  config
48
48
  );
49
- const tokenized = await _chunkCI55ZXBOjs.applyWorkspaceTokens.call(void 0,
49
+ const tokenized = await _chunk2XH6VHRLjs.applyWorkspaceTokens.call(void 0,
50
50
  options,
51
51
  { workspaceRoot: tree.root, config },
52
- _chunkCI55ZXBOjs.applyWorkspaceBaseTokens
52
+ _chunk2XH6VHRLjs.applyWorkspaceBaseTokens
53
53
  );
54
54
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
55
- _chunkSTZGZW7Fjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
55
+ _chunkFJNCLESVjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
56
56
  await Promise.resolve(
57
57
  generatorOptions.hooks.preProcess(tokenized, config)
58
58
  );
59
- _chunkSTZGZW7Fjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
59
+ _chunkFJNCLESVjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
60
60
  }
61
61
  const result = await Promise.resolve(
62
62
  generatorFn(tree, tokenized, config)
@@ -71,21 +71,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
71
71
  }
72
72
  }
73
73
  if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
74
- _chunkSTZGZW7Fjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
74
+ _chunkFJNCLESVjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
75
75
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
76
- _chunkSTZGZW7Fjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
76
+ _chunkFJNCLESVjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
77
77
  }
78
78
  return () => {
79
- _chunkSTZGZW7Fjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
79
+ _chunkFJNCLESVjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
80
80
  `, config);
81
81
  };
82
82
  } catch (error) {
83
83
  return () => {
84
- _chunkSTZGZW7Fjs.writeFatal.call(void 0,
84
+ _chunkFJNCLESVjs.writeFatal.call(void 0,
85
85
  "A fatal error occurred while running the generator - the process was forced to terminate",
86
86
  config
87
87
  );
88
- _chunkSTZGZW7Fjs.writeError.call(void 0,
88
+ _chunkFJNCLESVjs.writeError.call(void 0,
89
89
  `An exception was thrown in the generator's process
90
90
  - Details: ${error.message}
91
91
  - Stacktrace: ${error.stack}`,
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  findWorkspaceRoot,
10
10
  getConfig
11
- } from "./chunk-YRETUYQI.mjs";
11
+ } from "./chunk-W7L5KLXN.mjs";
12
12
 
13
13
  // src/plugins/docker/_dockerfile.ts
14
14
  import {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-XUXJT2E4.mjs";
3
+ } from "./chunk-QA2W2M72.mjs";
4
4
  import {
5
5
  writeDebug
6
- } from "./chunk-YRETUYQI.mjs";
6
+ } from "./chunk-W7L5KLXN.mjs";
7
7
 
8
8
  // src/generators/helm-dependency/generator.ts
9
9
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  applyWorkspaceBaseTokens,
3
3
  applyWorkspaceTokens
4
- } from "./chunk-FTASJJZW.mjs";
4
+ } from "./chunk-CCWSBUHT.mjs";
5
5
  import {
6
6
  findWorkspaceRoot,
7
7
  getConfig,
@@ -12,7 +12,7 @@ import {
12
12
  writeInfo,
13
13
  writeSuccess,
14
14
  writeTrace
15
- } from "./chunk-YRETUYQI.mjs";
15
+ } from "./chunk-W7L5KLXN.mjs";
16
16
 
17
17
  // ../workspace-tools/src/base/base-generator.ts
18
18
  var withRunGenerator = (name, generatorFn, generatorOptions = {