@storm-software/k8s-tools 0.42.130 → 0.42.132

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 +24 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-W2CGAYNT.mjs → chunk-3I3ODZKV.mjs} +2 -2
  4. package/dist/{chunk-NPM24JFA.js → chunk-6VH66K6T.js} +25 -25
  5. package/dist/{chunk-FAEFEYUH.mjs → chunk-DQ6YPI3I.mjs} +1 -1
  6. package/dist/{chunk-EJ2VFW42.js → chunk-EA47D42R.js} +45 -7
  7. package/dist/{chunk-YWP6IK6M.js → chunk-EL6QE5FA.js} +4 -4
  8. package/dist/{chunk-CS2FYVHB.mjs → chunk-EYPBUFPL.mjs} +2 -2
  9. package/dist/{chunk-UKVTK6UH.mjs → chunk-IOKYYZWX.mjs} +2 -2
  10. package/dist/{chunk-3ZWOHOBS.js → chunk-MNSGJMJV.js} +20 -20
  11. package/dist/{chunk-HTXMSBIV.mjs → chunk-MSZUOD43.mjs} +2 -2
  12. package/dist/{chunk-QLGHGOA2.mjs → chunk-OPAEZJF6.mjs} +45 -7
  13. package/dist/{chunk-CTPVRYI5.js → chunk-QJR6N4PL.js} +2 -2
  14. package/dist/{chunk-6FJ4PA3F.mjs → chunk-RECN4I7A.mjs} +2 -2
  15. package/dist/{chunk-NTWUZGWA.mjs → chunk-ULPF44XA.mjs} +1 -1
  16. package/dist/{chunk-IE6AMCMZ.js → chunk-YOHT3QWT.js} +4 -4
  17. package/dist/{chunk-RODY5ARQ.js → chunk-ZJRDUBGT.js} +6 -6
  18. package/dist/{chunk-CNNG2OFU.js → chunk-ZXM4G35O.js} +3 -3
  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 +7 -7
package/CHANGELOG.md CHANGED
@@ -2,6 +2,30 @@
2
2
 
3
3
  # Changelog for Storm Ops - K8s Tools
4
4
 
5
+ ## [0.42.131](https://github.com/storm-software/storm-ops/releases/tag/k8s-tools%400.42.131) (03/18/2026)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **devenv-modules:** Update tasks for devenv modules ([7e9677f2e](https://github.com/storm-software/storm-ops/commit/7e9677f2e))
10
+
11
+ ### Updated Dependencies
12
+
13
+ - Updated **workspace-tools** to **v1.295.16**
14
+ - Updated **config-tools** to **v1.189.40**
15
+ - Updated **config** to **v1.135.41**
16
+
17
+ ## [0.42.130](https://github.com/storm-software/storm-ops/releases/tag/k8s-tools%400.42.130) (03/16/2026)
18
+
19
+ ### Miscellaneous
20
+
21
+ - **monorepo:** Update workspace's `README.md` files ([60eba9234](https://github.com/storm-software/storm-ops/commit/60eba9234))
22
+
23
+ ### Updated Dependencies
24
+
25
+ - Updated **workspace-tools** to **v1.295.15**
26
+ - Updated **config-tools** to **v1.189.39**
27
+ - Updated **config** to **v1.135.40**
28
+
5
29
  ## [0.42.129](https://github.com/storm-software/storm-ops/releases/tag/k8s-tools%400.42.129) (03/16/2026)
6
30
 
7
31
  ### Miscellaneous
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.42.128-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)
30
+ [![Version](https://img.shields.io/badge/version-0.42.130-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)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  applyWorkspaceProjectTokens,
3
3
  applyWorkspaceTokens
4
- } from "./chunk-FAEFEYUH.mjs";
4
+ } from "./chunk-DQ6YPI3I.mjs";
5
5
  import {
6
6
  brandIcon,
7
7
  findWorkspaceRoot,
@@ -15,7 +15,7 @@ import {
15
15
  writeSuccess,
16
16
  writeTrace,
17
17
  writeWarning
18
- } from "./chunk-QLGHGOA2.mjs";
18
+ } from "./chunk-OPAEZJF6.mjs";
19
19
  import {
20
20
  createHelmClient
21
21
  } from "./chunk-F244EGT5.mjs";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkCTPVRYI5js = require('./chunk-CTPVRYI5.js');
4
+ var _chunkQJR6N4PLjs = require('./chunk-QJR6N4PL.js');
5
5
 
6
6
 
7
7
 
@@ -15,7 +15,7 @@ var _chunkCTPVRYI5js = require('./chunk-CTPVRYI5.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkEJ2VFW42js = require('./chunk-EJ2VFW42.js');
18
+ var _chunkEA47D42Rjs = require('./chunk-EA47D42R.js');
19
19
 
20
20
 
21
21
  var _chunk4AADQIGWjs = require('./chunk-4AADQIGW.js');
@@ -23,7 +23,7 @@ var _chunk4AADQIGWjs = require('./chunk-4AADQIGW.js');
23
23
  // ../workspace-tools/src/base/base-executor.ts
24
24
  var _defu = require('defu');
25
25
  var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
26
- const stopwatch = _chunkEJ2VFW42js.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkEA47D42Rjs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config = {};
29
29
  try {
@@ -32,17 +32,17 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
32
32
  "The Build process failed because the context is not valid. Please run this command from a workspace."
33
33
  );
34
34
  }
35
- const workspaceRoot = _chunkEJ2VFW42js.findWorkspaceRoot.call(void 0, );
35
+ const workspaceRoot = _chunkEA47D42Rjs.findWorkspaceRoot.call(void 0, );
36
36
  const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot;
37
37
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
38
38
  const projectName = context.projectName;
39
39
  config.workspaceRoot = workspaceRoot;
40
- _chunkEJ2VFW42js.writeInfo.call(void 0,
41
- `${_chunkEJ2VFW42js.brandIcon.call(void 0, config)} Running the ${name} executor for ${projectName} `,
40
+ _chunkEA47D42Rjs.writeInfo.call(void 0,
41
+ `${_chunkEA47D42Rjs.brandIcon.call(void 0, config)} Running the ${name} executor for ${projectName} `,
42
42
  config
43
43
  );
44
44
  if (!executorOptions.skipReadingConfig) {
45
- _chunkEJ2VFW42js.writeTrace.call(void 0,
45
+ _chunkEA47D42Rjs.writeTrace.call(void 0,
46
46
  `Loading the Storm Config from environment variables and storm.config.js file...
47
47
  - workspaceRoot: ${workspaceRoot}
48
48
  - projectRoot: ${projectRoot}
@@ -51,42 +51,42 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
51
51
  `,
52
52
  config
53
53
  );
54
- config = await _chunkEJ2VFW42js.getConfig.call(void 0, workspaceRoot);
54
+ config = await _chunkEA47D42Rjs.getConfig.call(void 0, workspaceRoot);
55
55
  }
56
56
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
57
- _chunkEJ2VFW42js.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
57
+ _chunkEA47D42Rjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
58
58
  options = await Promise.resolve(
59
59
  executorOptions.hooks.applyDefaultOptions(options, config)
60
60
  );
61
- _chunkEJ2VFW42js.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
61
+ _chunkEA47D42Rjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
62
62
  }
63
- _chunkEJ2VFW42js.writeTrace.call(void 0,
63
+ _chunkEA47D42Rjs.writeTrace.call(void 0,
64
64
  `Executor schema options \u2699\uFE0F
65
- ${_chunkEJ2VFW42js.formatLogMessage.call(void 0, options)}
65
+ ${_chunkEA47D42Rjs.formatLogMessage.call(void 0, options)}
66
66
  `,
67
67
  config
68
68
  );
69
- const tokenized = await _chunkCTPVRYI5js.applyWorkspaceTokens.call(void 0,
69
+ const tokenized = await _chunkQJR6N4PLjs.applyWorkspaceTokens.call(void 0,
70
70
  options,
71
71
  _defu.defu.call(void 0,
72
72
  { workspaceRoot, projectRoot, sourceRoot, projectName, config },
73
73
  config,
74
74
  context.projectsConfigurations.projects[context.projectName]
75
75
  ),
76
- _chunkCTPVRYI5js.applyWorkspaceProjectTokens
76
+ _chunkQJR6N4PLjs.applyWorkspaceProjectTokens
77
77
  );
78
- _chunkEJ2VFW42js.writeTrace.call(void 0,
78
+ _chunkEA47D42Rjs.writeTrace.call(void 0,
79
79
  `Executor schema tokenized options \u2699\uFE0F
80
- ${_chunkEJ2VFW42js.formatLogMessage.call(void 0, tokenized)}
80
+ ${_chunkEA47D42Rjs.formatLogMessage.call(void 0, tokenized)}
81
81
  `,
82
82
  config
83
83
  );
84
84
  if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
85
- _chunkEJ2VFW42js.writeDebug.call(void 0, "Running the preProcess hook...", config);
85
+ _chunkEA47D42Rjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
86
86
  await Promise.resolve(
87
87
  executorOptions.hooks.preProcess(tokenized, config)
88
88
  );
89
- _chunkEJ2VFW42js.writeDebug.call(void 0, "Completed the preProcess hook", config);
89
+ _chunkEA47D42Rjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
90
90
  }
91
91
  const ret = executorFn(tokenized, context, config);
92
92
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
@@ -101,7 +101,7 @@ ${_chunkEJ2VFW42js.formatLogMessage.call(void 0, tokenized)}
101
101
  if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
102
102
  throw new Error(
103
103
  `Failure determined while running the ${name} executor
104
- ${_chunkEJ2VFW42js.formatLogMessage.call(void 0,
104
+ ${_chunkEA47D42Rjs.formatLogMessage.call(void 0,
105
105
  result
106
106
  )}`,
107
107
  {
@@ -110,21 +110,21 @@ ${_chunkEJ2VFW42js.formatLogMessage.call(void 0,
110
110
  );
111
111
  }
112
112
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
113
- _chunkEJ2VFW42js.writeDebug.call(void 0, "Running the postProcess hook...", config);
113
+ _chunkEA47D42Rjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
114
114
  await Promise.resolve(executorOptions.hooks.postProcess(config));
115
- _chunkEJ2VFW42js.writeDebug.call(void 0, "Completed the postProcess hook", config);
115
+ _chunkEA47D42Rjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
116
116
  }
117
- _chunkEJ2VFW42js.writeSuccess.call(void 0, `Completed running the ${name} task executor!
117
+ _chunkEA47D42Rjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
118
118
  `, config);
119
119
  return {
120
120
  success: true
121
121
  };
122
122
  } catch (error) {
123
- _chunkEJ2VFW42js.writeFatal.call(void 0,
123
+ _chunkEA47D42Rjs.writeFatal.call(void 0,
124
124
  "A fatal error occurred while running the executor - the process was forced to terminate",
125
125
  config
126
126
  );
127
- _chunkEJ2VFW42js.writeError.call(void 0,
127
+ _chunkEA47D42Rjs.writeError.call(void 0,
128
128
  `An exception was thrown in the executor's process
129
129
  - Details: ${error.message}
130
130
  - Stacktrace: ${error.stack}`,
@@ -176,7 +176,7 @@ async function serveExecutor(options, context, config) {
176
176
  remote: options.remote
177
177
  });
178
178
  } else {
179
- _chunkEJ2VFW42js.writeWarning.call(void 0, `Chart packaged at: ${chartPath}`, config);
179
+ _chunkEA47D42Rjs.writeWarning.call(void 0, `Chart packaged at: ${chartPath}`, config);
180
180
  }
181
181
  return {
182
182
  success: true
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-QLGHGOA2.mjs";
3
+ } from "./chunk-OPAEZJF6.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
6
6
  var applyWorkspaceBaseTokens = async (option, tokenParams) => {
@@ -9,6 +9,7 @@ var LogLevel = {
9
9
  WARN: 30,
10
10
  SUCCESS: 35,
11
11
  INFO: 40,
12
+ PERFORMANCE: 50,
12
13
  DEBUG: 60,
13
14
  TRACE: 70,
14
15
  ALL: 100
@@ -20,6 +21,7 @@ var LogLevelLabel = {
20
21
  WARN: "warn",
21
22
  SUCCESS: "success",
22
23
  INFO: "info",
24
+ PERFORMANCE: "performance",
23
25
  DEBUG: "debug",
24
26
  TRACE: "trace",
25
27
  ALL: "all"
@@ -39,6 +41,7 @@ var DEFAULT_COLOR_CONFIG = {
39
41
  warning: "#e3b341",
40
42
  danger: "#D8314A",
41
43
  fatal: "#51070f",
44
+ performance: "#83ff83",
42
45
  link: "#3fa6ff",
43
46
  positive: "#22c55e",
44
47
  negative: "#dc2626",
@@ -56,6 +59,7 @@ var DEFAULT_COLOR_CONFIG = {
56
59
  warning: "#f3d371",
57
60
  danger: "#D8314A",
58
61
  fatal: "#a40e26",
62
+ performance: "#00ff00",
59
63
  link: "#3fa6ff",
60
64
  positive: "#22c55e",
61
65
  negative: "#dc2626",
@@ -143,6 +147,7 @@ var CONSOLE_ICONS = {
143
147
  [LogLevelLabel.FATAL]: useIcon("\u{1F571}", "\xD7"),
144
148
  [LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
145
149
  [LogLevelLabel.INFO]: useIcon("\u2139", "i"),
150
+ [LogLevelLabel.PERFORMANCE]: useIcon("\u23F1", "\u23F1"),
146
151
  [LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
147
152
  [LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
148
153
  [LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
@@ -163,6 +168,8 @@ var getLogLevel = (label) => {
163
168
  return LogLevel.TRACE;
164
169
  case "debug":
165
170
  return LogLevel.DEBUG;
171
+ case "performance":
172
+ return LogLevel.PERFORMANCE;
166
173
  case "info":
167
174
  return LogLevel.INFO;
168
175
  case "warn":
@@ -187,6 +194,9 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
187
194
  if (logLevel >= LogLevel.DEBUG) {
188
195
  return LogLevelLabel.DEBUG;
189
196
  }
197
+ if (logLevel >= LogLevel.PERFORMANCE) {
198
+ return LogLevelLabel.PERFORMANCE;
199
+ }
190
200
  if (logLevel >= LogLevel.INFO) {
191
201
  return LogLevelLabel.INFO;
192
202
  }
@@ -274,6 +284,19 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
274
284
  )(
275
285
  `[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
276
286
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
287
+ `
288
+ );
289
+ };
290
+ }
291
+ if (typeof logLevel === "number" && LogLevel.PERFORMANCE >= logLevel) {
292
+ return (message) => {
293
+ console.debug(
294
+ `
295
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
296
+ _nullishCoalesce(colors.performance, () => ( DEFAULT_COLOR_CONFIG.dark.performance))
297
+ )(
298
+ `[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
299
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
277
300
  `
278
301
  );
279
302
  };
@@ -319,18 +342,16 @@ var writeError = (message, config) => getLogFn(LogLevel.ERROR, config)(message);
319
342
  var writeWarning = (message, config) => getLogFn(LogLevel.WARN, config)(message);
320
343
  var writeInfo = (message, config) => getLogFn(LogLevel.INFO, config)(message);
321
344
  var writeSuccess = (message, config) => getLogFn(LogLevel.SUCCESS, config)(message);
345
+ var writePerformance = (message, config) => getLogFn(LogLevel.PERFORMANCE, config)(message);
322
346
  var writeDebug = (message, config) => getLogFn(LogLevel.DEBUG, config)(message);
323
347
  var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
324
348
  var getStopwatch = (name) => {
325
349
  const start = /* @__PURE__ */ new Date();
326
350
  return () => {
327
- console.info(
328
- `> \u23F1 The${name ? ` ${name}` : ""} process took ${_formatDistanceToNow.formatDistanceToNow.call(void 0,
329
- start,
330
- {
331
- includeSeconds: true
332
- }
333
- )} to complete`
351
+ writePerformance(
352
+ `The${name ? ` ${name}` : ""} process took ${_formatDistanceToNow.formatDistanceToNow.call(void 0, start, {
353
+ includeSeconds: true
354
+ })} to complete`
334
355
  );
335
356
  };
336
357
  };
@@ -662,6 +683,10 @@ var fatalColorSchema = z.optional(colorSchema);
662
683
  schemaRegistry.add(fatalColorSchema, {
663
684
  description: "The fatal color of the workspace"
664
685
  });
686
+ var performanceColorSchema = z._default(colorSchema, "#00ff00");
687
+ schemaRegistry.add(performanceColorSchema, {
688
+ description: "The performance color of the workspace"
689
+ });
665
690
  var positiveColorSchema = z._default(colorSchema, "#4ade80");
666
691
  schemaRegistry.add(positiveColorSchema, {
667
692
  description: "The positive number color of the workspace"
@@ -688,6 +713,7 @@ var darkColorsSchema = z.object({
688
713
  warning: warningColorSchema,
689
714
  danger: dangerColorSchema,
690
715
  fatal: fatalColorSchema,
716
+ performance: performanceColorSchema,
691
717
  positive: positiveColorSchema,
692
718
  negative: negativeColorSchema,
693
719
  gradient: gradientStopsSchema
@@ -706,6 +732,7 @@ var lightColorsSchema = z.object({
706
732
  warning: warningColorSchema,
707
733
  danger: dangerColorSchema,
708
734
  fatal: fatalColorSchema,
735
+ performance: performanceColorSchema,
709
736
  positive: positiveColorSchema,
710
737
  negative: negativeColorSchema,
711
738
  gradient: gradientStopsSchema
@@ -728,6 +755,7 @@ var singleColorsSchema = z.object({
728
755
  warning: warningColorSchema,
729
756
  danger: dangerColorSchema,
730
757
  fatal: fatalColorSchema,
758
+ performance: performanceColorSchema,
731
759
  positive: positiveColorSchema,
732
760
  negative: negativeColorSchema,
733
761
  gradient: gradientStopsSchema
@@ -1095,6 +1123,7 @@ var logLevelSchema = z._default(
1095
1123
  "warn",
1096
1124
  "success",
1097
1125
  "info",
1126
+ "performance",
1098
1127
  "debug",
1099
1128
  "trace",
1100
1129
  "all"
@@ -1182,6 +1211,7 @@ var COLOR_KEYS = [
1182
1211
  "warning",
1183
1212
  "danger",
1184
1213
  "fatal",
1214
+ "performance",
1185
1215
  "positive",
1186
1216
  "negative"
1187
1217
  ];
@@ -1518,6 +1548,7 @@ var getSingleThemeColorsEnv = (prefix) => {
1518
1548
  warning: process.env[`${prefix}WARNING`],
1519
1549
  danger: process.env[`${prefix}DANGER`],
1520
1550
  fatal: process.env[`${prefix}FATAL`],
1551
+ performance: process.env[`${prefix}PERFORMANCE`],
1521
1552
  positive: process.env[`${prefix}POSITIVE`],
1522
1553
  negative: process.env[`${prefix}NEGATIVE`],
1523
1554
  gradient
@@ -1557,6 +1588,7 @@ var getBaseThemeColorsEnv = (prefix) => {
1557
1588
  warning: process.env[`${prefix}WARNING`],
1558
1589
  danger: process.env[`${prefix}DANGER`],
1559
1590
  fatal: process.env[`${prefix}FATAL`],
1591
+ performance: process.env[`${prefix}PERFORMANCE`],
1560
1592
  positive: process.env[`${prefix}POSITIVE`],
1561
1593
  negative: process.env[`${prefix}NEGATIVE`],
1562
1594
  gradient
@@ -1867,6 +1899,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
1867
1899
  if (config.fatal) {
1868
1900
  process.env[`${prefix}FATAL`] = config.fatal;
1869
1901
  }
1902
+ if (config.performance) {
1903
+ process.env[`${prefix}PERFORMANCE`] = config.performance;
1904
+ }
1870
1905
  if (config.positive) {
1871
1906
  process.env[`${prefix}POSITIVE`] = config.positive;
1872
1907
  }
@@ -1925,6 +1960,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
1925
1960
  if (config.fatal) {
1926
1961
  process.env[`${prefix}FATAL`] = config.fatal;
1927
1962
  }
1963
+ if (config.performance) {
1964
+ process.env[`${prefix}PERFORMANCE`] = config.performance;
1965
+ }
1928
1966
  if (config.positive) {
1929
1967
  process.env[`${prefix}POSITIVE`] = config.positive;
1930
1968
  }
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk3ZWOHOBSjs = require('./chunk-3ZWOHOBS.js');
3
+ var _chunkMNSGJMJVjs = require('./chunk-MNSGJMJV.js');
4
4
 
5
5
 
6
- var _chunkEJ2VFW42js = require('./chunk-EJ2VFW42.js');
6
+ var _chunkEA47D42Rjs = require('./chunk-EA47D42R.js');
7
7
 
8
8
  // src/generators/helm-dependency/generator.ts
9
9
 
@@ -13,7 +13,7 @@ var _chunkEJ2VFW42js = require('./chunk-EJ2VFW42.js');
13
13
  var _devkit = require('@nx/devkit');
14
14
  var _yaml = require('yaml');
15
15
  async function helmDependencyGeneratorFn(tree, options, config) {
16
- _chunkEJ2VFW42js.writeDebug.call(void 0, "\u{1F4DD} Preparing to add Helm Dependency", config);
16
+ _chunkEA47D42Rjs.writeDebug.call(void 0, "\u{1F4DD} Preparing to add Helm Dependency", config);
17
17
  const project = _devkit.readProjectConfiguration.call(void 0, tree, options.project);
18
18
  if (!_optionalChain([project, 'access', _ => _.targets, 'optionalAccess', _2 => _2["helm-package"]])) {
19
19
  throw new Error(
@@ -39,7 +39,7 @@ async function helmDependencyGeneratorFn(tree, options, config) {
39
39
  success: true
40
40
  };
41
41
  }
42
- var generator_default = _chunk3ZWOHOBSjs.withRunGenerator.call(void 0,
42
+ var generator_default = _chunkMNSGJMJVjs.withRunGenerator.call(void 0,
43
43
  "Helm Dependency",
44
44
  helmDependencyGeneratorFn
45
45
  );
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-WS2G4IWW.mjs";
4
4
  import {
5
5
  applyWorkspaceTokens
6
- } from "./chunk-FAEFEYUH.mjs";
6
+ } from "./chunk-DQ6YPI3I.mjs";
7
7
  import {
8
8
  findWorkspaceRoot,
9
9
  getConfig
10
- } from "./chunk-QLGHGOA2.mjs";
10
+ } from "./chunk-OPAEZJF6.mjs";
11
11
 
12
12
  // src/executors/container-publish/executor.ts
13
13
  import {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-6FJ4PA3F.mjs";
3
+ } from "./chunk-RECN4I7A.mjs";
4
4
  import {
5
5
  writeDebug
6
- } from "./chunk-QLGHGOA2.mjs";
6
+ } from "./chunk-OPAEZJF6.mjs";
7
7
 
8
8
  // src/generators/helm-dependency/generator.ts
9
9
  import {
@@ -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 _chunkCTPVRYI5js = require('./chunk-CTPVRYI5.js');
4
+ var _chunkQJR6N4PLjs = require('./chunk-QJR6N4PL.js');
5
5
 
6
6
 
7
7
 
@@ -13,54 +13,54 @@ var _chunkCTPVRYI5js = require('./chunk-CTPVRYI5.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkEJ2VFW42js = require('./chunk-EJ2VFW42.js');
16
+ var _chunkEA47D42Rjs = require('./chunk-EA47D42R.js');
17
17
 
18
18
  // ../workspace-tools/src/base/base-generator.ts
19
19
  var withRunGenerator = (name, generatorFn, generatorOptions = {
20
20
  skipReadingConfig: false
21
21
  }) => async (tree, _options) => {
22
- const stopwatch = _chunkEJ2VFW42js.getStopwatch.call(void 0, name);
22
+ const stopwatch = _chunkEA47D42Rjs.getStopwatch.call(void 0, name);
23
23
  let options = _options;
24
24
  let config;
25
25
  try {
26
- _chunkEJ2VFW42js.writeInfo.call(void 0,
27
- `${_chunkEJ2VFW42js.brandIcon.call(void 0, config)} Running the ${name} generator...
26
+ _chunkEA47D42Rjs.writeInfo.call(void 0,
27
+ `${_chunkEA47D42Rjs.brandIcon.call(void 0, config)} Running the ${name} generator...
28
28
 
29
29
  `,
30
30
  config
31
31
  );
32
- const workspaceRoot = _chunkEJ2VFW42js.findWorkspaceRoot.call(void 0, );
32
+ const workspaceRoot = _chunkEA47D42Rjs.findWorkspaceRoot.call(void 0, );
33
33
  if (!generatorOptions.skipReadingConfig) {
34
- _chunkEJ2VFW42js.writeDebug.call(void 0,
34
+ _chunkEA47D42Rjs.writeDebug.call(void 0,
35
35
  `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`,
37
37
  config
38
38
  );
39
- config = await _chunkEJ2VFW42js.getConfig.call(void 0, workspaceRoot);
39
+ config = await _chunkEA47D42Rjs.getConfig.call(void 0, workspaceRoot);
40
40
  }
41
41
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
42
- _chunkEJ2VFW42js.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
42
+ _chunkEA47D42Rjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
43
43
  options = await Promise.resolve(
44
44
  generatorOptions.hooks.applyDefaultOptions(options, config)
45
45
  );
46
- _chunkEJ2VFW42js.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
46
+ _chunkEA47D42Rjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
47
47
  }
48
- _chunkEJ2VFW42js.writeTrace.call(void 0,
48
+ _chunkEA47D42Rjs.writeTrace.call(void 0,
49
49
  `Generator schema options \u2699\uFE0F
50
50
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
51
51
  config
52
52
  );
53
- const tokenized = await _chunkCTPVRYI5js.applyWorkspaceTokens.call(void 0,
53
+ const tokenized = await _chunkQJR6N4PLjs.applyWorkspaceTokens.call(void 0,
54
54
  options,
55
55
  { workspaceRoot: tree.root, config },
56
- _chunkCTPVRYI5js.applyWorkspaceBaseTokens
56
+ _chunkQJR6N4PLjs.applyWorkspaceBaseTokens
57
57
  );
58
58
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
59
- _chunkEJ2VFW42js.writeDebug.call(void 0, "Running the preProcess hook...", config);
59
+ _chunkEA47D42Rjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
60
60
  await Promise.resolve(
61
61
  generatorOptions.hooks.preProcess(tokenized, config)
62
62
  );
63
- _chunkEJ2VFW42js.writeDebug.call(void 0, "Completed the preProcess hook", config);
63
+ _chunkEA47D42Rjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
64
64
  }
65
65
  const result = await Promise.resolve(
66
66
  generatorFn(tree, tokenized, config)
@@ -75,21 +75,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
75
75
  }
76
76
  }
77
77
  if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
78
- _chunkEJ2VFW42js.writeDebug.call(void 0, "Running the postProcess hook...", config);
78
+ _chunkEA47D42Rjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
79
79
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
80
- _chunkEJ2VFW42js.writeDebug.call(void 0, "Completed the postProcess hook", config);
80
+ _chunkEA47D42Rjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
81
81
  }
82
82
  return () => {
83
- _chunkEJ2VFW42js.writeSuccess.call(void 0, `Completed running the ${name} generator!
83
+ _chunkEA47D42Rjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
84
84
  `, config);
85
85
  };
86
86
  } catch (error) {
87
87
  return () => {
88
- _chunkEJ2VFW42js.writeFatal.call(void 0,
88
+ _chunkEA47D42Rjs.writeFatal.call(void 0,
89
89
  "A fatal error occurred while running the generator - the process was forced to terminate",
90
90
  config
91
91
  );
92
- _chunkEJ2VFW42js.writeError.call(void 0,
92
+ _chunkEA47D42Rjs.writeError.call(void 0,
93
93
  `An exception was thrown in the generator's process
94
94
  - Details: ${error.message}
95
95
  - Stacktrace: ${error.stack}`,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-6FJ4PA3F.mjs";
3
+ } from "./chunk-RECN4I7A.mjs";
4
4
  import {
5
5
  writeDebug
6
- } from "./chunk-QLGHGOA2.mjs";
6
+ } from "./chunk-OPAEZJF6.mjs";
7
7
  import {
8
8
  __dirname
9
9
  } from "./chunk-A26WMRXU.mjs";