@storm-software/k8s-tools 0.31.8 → 0.32.0

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 (44) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-VUSHSK4P.mjs → chunk-5JOB6OGJ.mjs} +3 -3
  4. package/dist/{chunk-MDGD27YL.mjs → chunk-5UXGPT7W.mjs} +1 -1
  5. package/dist/{chunk-VREITNWP.mjs → chunk-6WL6MFX5.mjs} +2 -2
  6. package/dist/{chunk-UMIKY6NS.mjs → chunk-74JECYT4.mjs} +1 -1
  7. package/dist/{chunk-UWVOFPSW.js → chunk-A4CVK7EX.js} +72 -30
  8. package/dist/{chunk-MKWEGZBN.mjs → chunk-BAOKCCVA.mjs} +2 -2
  9. package/dist/{chunk-RGCWOU4G.mjs → chunk-BZYA2PUG.mjs} +1 -1
  10. package/dist/{chunk-QC45ZBCD.js → chunk-CHQFLPKG.js} +6 -6
  11. package/dist/{chunk-SICCVKOX.mjs → chunk-EYSVKEFF.mjs} +3 -3
  12. package/dist/{chunk-MWMS7P7U.mjs → chunk-GNTJL5JP.mjs} +59 -17
  13. package/dist/{chunk-B5PZBLQ3.mjs → chunk-HJWOJTON.mjs} +1 -1
  14. package/dist/{chunk-A7ARE63F.js → chunk-KA6YY6JO.js} +25 -25
  15. package/dist/{chunk-DD5DCADP.js → chunk-KPRFECY6.js} +2 -2
  16. package/dist/{chunk-O2NTRG6T.mjs → chunk-NOKCVPQ2.mjs} +2 -2
  17. package/dist/{chunk-NMNRCEUZ.js → chunk-OHXHL4YW.js} +4 -4
  18. package/dist/{chunk-GQUK4O4E.js → chunk-PYDP65I4.js} +4 -4
  19. package/dist/{chunk-SDL2IMN3.mjs → chunk-TAGMMOA3.mjs} +1 -1
  20. package/dist/{chunk-2SIDLIM5.js → chunk-VTHDYUIX.js} +19 -19
  21. package/dist/{chunk-NHN57PGK.js → chunk-W5JY447S.js} +3 -3
  22. package/dist/executors.js +5 -5
  23. package/dist/executors.mjs +6 -6
  24. package/dist/generators.js +6 -6
  25. package/dist/generators.mjs +6 -6
  26. package/dist/index.js +9 -9
  27. package/dist/index.mjs +11 -11
  28. package/dist/src/executors/container-publish/executor.js +4 -4
  29. package/dist/src/executors/container-publish/executor.mjs +4 -4
  30. package/dist/src/executors/helm-package/executor.js +4 -4
  31. package/dist/src/executors/helm-package/executor.mjs +5 -5
  32. package/dist/src/generators/helm-chart/generator.js +5 -5
  33. package/dist/src/generators/helm-chart/generator.mjs +5 -5
  34. package/dist/src/generators/helm-dependency/generator.js +5 -5
  35. package/dist/src/generators/helm-dependency/generator.mjs +5 -5
  36. package/dist/src/plugins/docker/index.js +3 -3
  37. package/dist/src/plugins/docker/index.mjs +3 -3
  38. package/dist/src/types.mjs +1 -1
  39. package/dist/src/utils/client.mjs +2 -2
  40. package/dist/src/utils/ensure-init.mjs +1 -1
  41. package/dist/src/utils/index.mjs +3 -3
  42. package/dist/src/utils/prettier.mjs +2 -2
  43. package/dist/tsup.config.mjs +1 -1
  44. package/package.json +6 -6
@@ -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 _chunkDD5DCADPjs = require('./chunk-DD5DCADP.js');
4
+ var _chunkKPRFECY6js = require('./chunk-KPRFECY6.js');
5
5
 
6
6
 
7
7
 
@@ -14,7 +14,7 @@ var _chunkDD5DCADPjs = require('./chunk-DD5DCADP.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkUWVOFPSWjs = require('./chunk-UWVOFPSW.js');
17
+ var _chunkA4CVK7EXjs = require('./chunk-A4CVK7EX.js');
18
18
 
19
19
 
20
20
  var _chunk4AADQIGWjs = require('./chunk-4AADQIGW.js');
@@ -22,7 +22,7 @@ var _chunk4AADQIGWjs = require('./chunk-4AADQIGW.js');
22
22
  // ../workspace-tools/src/base/base-executor.ts
23
23
  var _defu = require('defu');
24
24
  var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
25
- const stopwatch = _chunkUWVOFPSWjs.getStopwatch.call(void 0, name);
25
+ const stopwatch = _chunkA4CVK7EXjs.getStopwatch.call(void 0, name);
26
26
  let options = _options;
27
27
  let config = {};
28
28
  try {
@@ -31,14 +31,14 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
31
31
  "The Build process failed because the context is not valid. Please run this command from a workspace."
32
32
  );
33
33
  }
34
- const workspaceRoot = _chunkUWVOFPSWjs.findWorkspaceRoot.call(void 0, );
34
+ const workspaceRoot = _chunkA4CVK7EXjs.findWorkspaceRoot.call(void 0, );
35
35
  const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot;
36
36
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
37
37
  const projectName = context.projectName;
38
38
  config.workspaceRoot = workspaceRoot;
39
- _chunkUWVOFPSWjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
39
+ _chunkA4CVK7EXjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
40
40
  if (!executorOptions.skipReadingConfig) {
41
- _chunkUWVOFPSWjs.writeTrace.call(void 0,
41
+ _chunkA4CVK7EXjs.writeTrace.call(void 0,
42
42
  `Loading the Storm Config from environment variables and storm.config.js file...
43
43
  - workspaceRoot: ${workspaceRoot}
44
44
  - projectRoot: ${projectRoot}
@@ -47,42 +47,42 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
47
47
  `,
48
48
  config
49
49
  );
50
- config = await _chunkUWVOFPSWjs.getConfig.call(void 0, workspaceRoot);
50
+ config = await _chunkA4CVK7EXjs.getConfig.call(void 0, workspaceRoot);
51
51
  }
52
52
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
53
- _chunkUWVOFPSWjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
53
+ _chunkA4CVK7EXjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
54
54
  options = await Promise.resolve(
55
55
  executorOptions.hooks.applyDefaultOptions(options, config)
56
56
  );
57
- _chunkUWVOFPSWjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
57
+ _chunkA4CVK7EXjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
58
58
  }
59
- _chunkUWVOFPSWjs.writeTrace.call(void 0,
59
+ _chunkA4CVK7EXjs.writeTrace.call(void 0,
60
60
  `Executor schema options \u2699\uFE0F
61
- ${_chunkUWVOFPSWjs.formatLogMessage.call(void 0, options)}
61
+ ${_chunkA4CVK7EXjs.formatLogMessage.call(void 0, options)}
62
62
  `,
63
63
  config
64
64
  );
65
- const tokenized = await _chunkDD5DCADPjs.applyWorkspaceTokens.call(void 0,
65
+ const tokenized = await _chunkKPRFECY6js.applyWorkspaceTokens.call(void 0,
66
66
  options,
67
67
  _defu.defu.call(void 0,
68
68
  { workspaceRoot, projectRoot, sourceRoot, projectName, config },
69
69
  config,
70
70
  context.projectsConfigurations.projects[context.projectName]
71
71
  ),
72
- _chunkDD5DCADPjs.applyWorkspaceProjectTokens
72
+ _chunkKPRFECY6js.applyWorkspaceProjectTokens
73
73
  );
74
- _chunkUWVOFPSWjs.writeTrace.call(void 0,
74
+ _chunkA4CVK7EXjs.writeTrace.call(void 0,
75
75
  `Executor schema tokenized options \u2699\uFE0F
76
- ${_chunkUWVOFPSWjs.formatLogMessage.call(void 0, tokenized)}
76
+ ${_chunkA4CVK7EXjs.formatLogMessage.call(void 0, tokenized)}
77
77
  `,
78
78
  config
79
79
  );
80
80
  if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
81
- _chunkUWVOFPSWjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
81
+ _chunkA4CVK7EXjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
82
82
  await Promise.resolve(
83
83
  executorOptions.hooks.preProcess(tokenized, config)
84
84
  );
85
- _chunkUWVOFPSWjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
85
+ _chunkA4CVK7EXjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
86
86
  }
87
87
  const ret = executorFn(tokenized, context, config);
88
88
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
@@ -95,9 +95,9 @@ ${_chunkUWVOFPSWjs.formatLogMessage.call(void 0, tokenized)}
95
95
  ret
96
96
  );
97
97
  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")) {
98
- _chunkUWVOFPSWjs.writeTrace.call(void 0,
98
+ _chunkA4CVK7EXjs.writeTrace.call(void 0,
99
99
  `Failure determined by the ${name} executor
100
- ${_chunkUWVOFPSWjs.formatLogMessage.call(void 0, result)}`,
100
+ ${_chunkA4CVK7EXjs.formatLogMessage.call(void 0, result)}`,
101
101
  config
102
102
  );
103
103
  console.error(result);
@@ -106,21 +106,21 @@ ${_chunkUWVOFPSWjs.formatLogMessage.call(void 0, result)}`,
106
106
  });
107
107
  }
108
108
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
109
- _chunkUWVOFPSWjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
109
+ _chunkA4CVK7EXjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
110
110
  await Promise.resolve(executorOptions.hooks.postProcess(config));
111
- _chunkUWVOFPSWjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
111
+ _chunkA4CVK7EXjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
112
112
  }
113
- _chunkUWVOFPSWjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
113
+ _chunkA4CVK7EXjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
114
114
  `, config);
115
115
  return {
116
116
  success: true
117
117
  };
118
118
  } catch (error) {
119
- _chunkUWVOFPSWjs.writeFatal.call(void 0,
119
+ _chunkA4CVK7EXjs.writeFatal.call(void 0,
120
120
  "A fatal error occurred while running the executor - the process was forced to terminate",
121
121
  config
122
122
  );
123
- _chunkUWVOFPSWjs.writeError.call(void 0,
123
+ _chunkA4CVK7EXjs.writeError.call(void 0,
124
124
  `An exception was thrown in the executor's process
125
125
  - Details: ${error.message}
126
126
  - Stacktrace: ${error.stack}`,
@@ -172,7 +172,7 @@ async function serveExecutor(options, context, config) {
172
172
  remote: options.remote
173
173
  });
174
174
  } else {
175
- _chunkUWVOFPSWjs.writeWarning.call(void 0, `Chart packaged at: ${chartPath}`, config);
175
+ _chunkA4CVK7EXjs.writeWarning.call(void 0, `Chart packaged at: ${chartPath}`, config);
176
176
  }
177
177
  return {
178
178
  success: true
@@ -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 _chunkUWVOFPSWjs = require('./chunk-UWVOFPSW.js');
3
+ var _chunkA4CVK7EXjs = require('./chunk-A4CVK7EX.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]))), () => ( _chunkUWVOFPSWjs.findWorkspaceRoot.call(void 0, )))
40
+ _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _2 => _2.config, 'optionalAccess', _3 => _3.workspaceRoot]))), () => ( _chunkA4CVK7EXjs.findWorkspaceRoot.call(void 0, )))
41
41
  );
42
42
  }
43
43
  return result;
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-WV3ZYQE2.mjs";
4
4
  import {
5
5
  applyWorkspaceTokens
6
- } from "./chunk-MDGD27YL.mjs";
6
+ } from "./chunk-5UXGPT7W.mjs";
7
7
  import {
8
8
  findWorkspaceRoot,
9
9
  getConfig
10
- } from "./chunk-MWMS7P7U.mjs";
10
+ } from "./chunk-GNTJL5JP.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 _chunk2SIDLIM5js = require('./chunk-2SIDLIM5.js');
3
+ var _chunkVTHDYUIXjs = require('./chunk-VTHDYUIX.js');
4
4
 
5
5
 
6
- var _chunkUWVOFPSWjs = require('./chunk-UWVOFPSW.js');
6
+ var _chunkA4CVK7EXjs = require('./chunk-A4CVK7EX.js');
7
7
 
8
8
  // src/generators/helm-chart/generator.ts
9
9
 
@@ -14,7 +14,7 @@ var _chunkUWVOFPSWjs = require('./chunk-UWVOFPSW.js');
14
14
  var _devkit = require('@nx/devkit');
15
15
  var _path = require('path');
16
16
  async function helmChartGeneratorFn(tree, options, config) {
17
- _chunkUWVOFPSWjs.writeDebug.call(void 0, "\u{1F4DD} Preparing to write Helm Chart", config);
17
+ _chunkA4CVK7EXjs.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 = _chunk2SIDLIM5js.withRunGenerator.call(void 0,
58
+ var generator_default = _chunkVTHDYUIXjs.withRunGenerator.call(void 0,
59
59
  "Helm Chart",
60
60
  helmChartGeneratorFn
61
61
  );
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _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 _chunk2SIDLIM5js = require('./chunk-2SIDLIM5.js');
3
+ var _chunkVTHDYUIXjs = require('./chunk-VTHDYUIX.js');
4
4
 
5
5
 
6
- var _chunkUWVOFPSWjs = require('./chunk-UWVOFPSW.js');
6
+ var _chunkA4CVK7EXjs = require('./chunk-A4CVK7EX.js');
7
7
 
8
8
  // src/generators/helm-dependency/generator.ts
9
9
 
@@ -13,7 +13,7 @@ var _chunkUWVOFPSWjs = require('./chunk-UWVOFPSW.js');
13
13
  var _devkit = require('@nx/devkit');
14
14
  var _jsyaml = require('js-yaml'); var _jsyaml2 = _interopRequireDefault(_jsyaml);
15
15
  async function helmDependencyGeneratorFn(tree, options, config) {
16
- _chunkUWVOFPSWjs.writeDebug.call(void 0, "\u{1F4DD} Preparing to add Helm Dependency", config);
16
+ _chunkA4CVK7EXjs.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 = _chunk2SIDLIM5js.withRunGenerator.call(void 0,
42
+ var generator_default = _chunkVTHDYUIXjs.withRunGenerator.call(void 0,
43
43
  "Helm Dependency",
44
44
  helmDependencyGeneratorFn
45
45
  );
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-HGXQ6SSU.mjs";
7
7
  import {
8
8
  __decorateClass
9
- } from "./chunk-UMIKY6NS.mjs";
9
+ } from "./chunk-74JECYT4.mjs";
10
10
 
11
11
  // src/utils/client.ts
12
12
  import { execSync } from "node:child_process";
@@ -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 _chunkDD5DCADPjs = require('./chunk-DD5DCADP.js');
4
+ var _chunkKPRFECY6js = require('./chunk-KPRFECY6.js');
5
5
 
6
6
 
7
7
 
@@ -12,51 +12,51 @@ var _chunkDD5DCADPjs = require('./chunk-DD5DCADP.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkUWVOFPSWjs = require('./chunk-UWVOFPSW.js');
15
+ var _chunkA4CVK7EXjs = require('./chunk-A4CVK7EX.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 = _chunkUWVOFPSWjs.getStopwatch.call(void 0, name);
21
+ const stopwatch = _chunkA4CVK7EXjs.getStopwatch.call(void 0, name);
22
22
  let options = _options;
23
23
  let config;
24
24
  try {
25
- _chunkUWVOFPSWjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
25
+ _chunkA4CVK7EXjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
26
26
 
27
27
  `, config);
28
- const workspaceRoot = _chunkUWVOFPSWjs.findWorkspaceRoot.call(void 0, );
28
+ const workspaceRoot = _chunkA4CVK7EXjs.findWorkspaceRoot.call(void 0, );
29
29
  if (!generatorOptions.skipReadingConfig) {
30
- _chunkUWVOFPSWjs.writeDebug.call(void 0,
30
+ _chunkA4CVK7EXjs.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 _chunkUWVOFPSWjs.getConfig.call(void 0, workspaceRoot);
35
+ config = await _chunkA4CVK7EXjs.getConfig.call(void 0, workspaceRoot);
36
36
  }
37
37
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
38
- _chunkUWVOFPSWjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
38
+ _chunkA4CVK7EXjs.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
- _chunkUWVOFPSWjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
42
+ _chunkA4CVK7EXjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
43
43
  }
44
- _chunkUWVOFPSWjs.writeTrace.call(void 0,
44
+ _chunkA4CVK7EXjs.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 _chunkDD5DCADPjs.applyWorkspaceTokens.call(void 0,
49
+ const tokenized = await _chunkKPRFECY6js.applyWorkspaceTokens.call(void 0,
50
50
  options,
51
51
  { workspaceRoot: tree.root, config },
52
- _chunkDD5DCADPjs.applyWorkspaceBaseTokens
52
+ _chunkKPRFECY6js.applyWorkspaceBaseTokens
53
53
  );
54
54
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
55
- _chunkUWVOFPSWjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
55
+ _chunkA4CVK7EXjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
56
56
  await Promise.resolve(
57
57
  generatorOptions.hooks.preProcess(tokenized, config)
58
58
  );
59
- _chunkUWVOFPSWjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
59
+ _chunkA4CVK7EXjs.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
- _chunkUWVOFPSWjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
74
+ _chunkA4CVK7EXjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
75
75
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
76
- _chunkUWVOFPSWjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
76
+ _chunkA4CVK7EXjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
77
77
  }
78
78
  return () => {
79
- _chunkUWVOFPSWjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
79
+ _chunkA4CVK7EXjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
80
80
  `, config);
81
81
  };
82
82
  } catch (error) {
83
83
  return () => {
84
- _chunkUWVOFPSWjs.writeFatal.call(void 0,
84
+ _chunkA4CVK7EXjs.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
- _chunkUWVOFPSWjs.writeError.call(void 0,
88
+ _chunkA4CVK7EXjs.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 @@ var _chunkXZP5ZUYNjs = require('./chunk-XZP5ZUYN.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkUWVOFPSWjs = require('./chunk-UWVOFPSW.js');
11
+ var _chunkA4CVK7EXjs = require('./chunk-A4CVK7EX.js');
12
12
 
13
13
  // src/plugins/docker/_dockerfile.ts
14
14
 
@@ -41,8 +41,8 @@ var createNodesV2 = [
41
41
  if (_optionalChain([projectJson, 'optionalAccess', _ => _.name])) {
42
42
  return {};
43
43
  }
44
- const workspaceRoot = _chunkUWVOFPSWjs.findWorkspaceRoot.call(void 0, );
45
- const config = await _chunkUWVOFPSWjs.getConfig.call(void 0, workspaceRoot);
44
+ const workspaceRoot = _chunkA4CVK7EXjs.findWorkspaceRoot.call(void 0, );
45
+ const config = await _chunkA4CVK7EXjs.getConfig.call(void 0, workspaceRoot);
46
46
  Object.keys(projectJson).forEach((key) => {
47
47
  if (!project[key]) {
48
48
  project[key] = projectJson[key];
package/dist/executors.js CHANGED
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-XO66D74Z.js');
2
2
 
3
3
 
4
- var _chunkQC45ZBCDjs = require('./chunk-QC45ZBCD.js');
4
+ var _chunkCHQFLPKGjs = require('./chunk-CHQFLPKG.js');
5
5
 
6
6
 
7
- var _chunkA7ARE63Fjs = require('./chunk-A7ARE63F.js');
7
+ var _chunkKA6YY6JOjs = require('./chunk-KA6YY6JO.js');
8
8
  require('./chunk-XZP5ZUYN.js');
9
- require('./chunk-DD5DCADP.js');
10
- require('./chunk-UWVOFPSW.js');
9
+ require('./chunk-KPRFECY6.js');
10
+ require('./chunk-A4CVK7EX.js');
11
11
  require('./chunk-4AADQIGW.js');
12
12
  require('./chunk-JSFRUBG5.js');
13
13
  require('./chunk-XKOZIQT3.js');
@@ -15,4 +15,4 @@ require('./chunk-RECJ3G6F.js');
15
15
 
16
16
 
17
17
 
18
- exports.getRegistryVersion = _chunkQC45ZBCDjs.getRegistryVersion; exports.serveExecutor = _chunkA7ARE63Fjs.serveExecutor;
18
+ exports.getRegistryVersion = _chunkCHQFLPKGjs.getRegistryVersion; exports.serveExecutor = _chunkKA6YY6JOjs.serveExecutor;
@@ -1,17 +1,17 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
2
  import {
3
3
  getRegistryVersion
4
- } from "./chunk-O2NTRG6T.mjs";
4
+ } from "./chunk-NOKCVPQ2.mjs";
5
5
  import {
6
6
  serveExecutor
7
- } from "./chunk-SICCVKOX.mjs";
7
+ } from "./chunk-EYSVKEFF.mjs";
8
8
  import "./chunk-WV3ZYQE2.mjs";
9
- import "./chunk-MDGD27YL.mjs";
10
- import "./chunk-MWMS7P7U.mjs";
11
- import "./chunk-SDL2IMN3.mjs";
9
+ import "./chunk-5UXGPT7W.mjs";
10
+ import "./chunk-GNTJL5JP.mjs";
11
+ import "./chunk-TAGMMOA3.mjs";
12
12
  import "./chunk-YXXZO2AJ.mjs";
13
13
  import "./chunk-HGXQ6SSU.mjs";
14
- import "./chunk-UMIKY6NS.mjs";
14
+ import "./chunk-74JECYT4.mjs";
15
15
  export {
16
16
  getRegistryVersion,
17
17
  serveExecutor
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-DHBG5ASJ.js');
2
2
 
3
3
 
4
- var _chunkNMNRCEUZjs = require('./chunk-NMNRCEUZ.js');
4
+ var _chunkOHXHL4YWjs = require('./chunk-OHXHL4YW.js');
5
5
 
6
6
 
7
- var _chunkGQUK4O4Ejs = require('./chunk-GQUK4O4E.js');
8
- require('./chunk-2SIDLIM5.js');
9
- require('./chunk-DD5DCADP.js');
10
- require('./chunk-UWVOFPSW.js');
7
+ var _chunkPYDP65I4js = require('./chunk-PYDP65I4.js');
8
+ require('./chunk-VTHDYUIX.js');
9
+ require('./chunk-KPRFECY6.js');
10
+ require('./chunk-A4CVK7EX.js');
11
11
  require('./chunk-RECJ3G6F.js');
12
12
 
13
13
 
14
14
 
15
- exports.helmChartGeneratorFn = _chunkNMNRCEUZjs.helmChartGeneratorFn; exports.helmDependencyGeneratorFn = _chunkGQUK4O4Ejs.helmDependencyGeneratorFn;
15
+ exports.helmChartGeneratorFn = _chunkOHXHL4YWjs.helmChartGeneratorFn; exports.helmDependencyGeneratorFn = _chunkPYDP65I4js.helmDependencyGeneratorFn;
@@ -1,14 +1,14 @@
1
1
  import "./chunk-3J7KBHMJ.mjs";
2
2
  import {
3
3
  helmChartGeneratorFn
4
- } from "./chunk-VUSHSK4P.mjs";
4
+ } from "./chunk-5JOB6OGJ.mjs";
5
5
  import {
6
6
  helmDependencyGeneratorFn
7
- } from "./chunk-MKWEGZBN.mjs";
8
- import "./chunk-VREITNWP.mjs";
9
- import "./chunk-MDGD27YL.mjs";
10
- import "./chunk-MWMS7P7U.mjs";
11
- import "./chunk-UMIKY6NS.mjs";
7
+ } from "./chunk-BAOKCCVA.mjs";
8
+ import "./chunk-6WL6MFX5.mjs";
9
+ import "./chunk-5UXGPT7W.mjs";
10
+ import "./chunk-GNTJL5JP.mjs";
11
+ import "./chunk-74JECYT4.mjs";
12
12
  export {
13
13
  helmChartGeneratorFn,
14
14
  helmDependencyGeneratorFn
package/dist/index.js CHANGED
@@ -2,25 +2,25 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkNHN57PGKjs = require('./chunk-NHN57PGK.js');
5
+ var _chunkW5JY447Sjs = require('./chunk-W5JY447S.js');
6
6
  require('./chunk-XO66D74Z.js');
7
7
 
8
8
 
9
- var _chunkQC45ZBCDjs = require('./chunk-QC45ZBCD.js');
9
+ var _chunkCHQFLPKGjs = require('./chunk-CHQFLPKG.js');
10
10
 
11
11
 
12
- var _chunkA7ARE63Fjs = require('./chunk-A7ARE63F.js');
12
+ var _chunkKA6YY6JOjs = require('./chunk-KA6YY6JO.js');
13
13
  require('./chunk-XZP5ZUYN.js');
14
14
  require('./chunk-DHBG5ASJ.js');
15
15
 
16
16
 
17
- var _chunkNMNRCEUZjs = require('./chunk-NMNRCEUZ.js');
17
+ var _chunkOHXHL4YWjs = require('./chunk-OHXHL4YW.js');
18
18
 
19
19
 
20
- var _chunkGQUK4O4Ejs = require('./chunk-GQUK4O4E.js');
21
- require('./chunk-2SIDLIM5.js');
22
- require('./chunk-DD5DCADP.js');
23
- require('./chunk-UWVOFPSW.js');
20
+ var _chunkPYDP65I4js = require('./chunk-PYDP65I4.js');
21
+ require('./chunk-VTHDYUIX.js');
22
+ require('./chunk-KPRFECY6.js');
23
+ require('./chunk-A4CVK7EX.js');
24
24
  require('./chunk-U76ID4TS.js');
25
25
 
26
26
 
@@ -51,4 +51,4 @@ require('./chunk-RECJ3G6F.js');
51
51
 
52
52
 
53
53
 
54
- exports.AbstractHelmClient = _chunkJSFRUBG5js.AbstractHelmClient; exports.HelmClient = _chunk4AADQIGWjs.HelmClient; exports.addToPrettierIgnore = _chunk7QVOU2PTjs.addToPrettierIgnore; exports.createHelmClient = _chunk4AADQIGWjs.createHelmClient; exports.createNodesV2 = _chunkNHN57PGKjs.createNodesV2; exports.description = _chunkNHN57PGKjs.description; exports.ensureInitialized = _chunkXKOZIQT3js.ensureInitialized; exports.getRegistryVersion = _chunkQC45ZBCDjs.getRegistryVersion; exports.helmChartGeneratorFn = _chunkNMNRCEUZjs.helmChartGeneratorFn; exports.helmDependencyGeneratorFn = _chunkGQUK4O4Ejs.helmDependencyGeneratorFn; exports.name = _chunkNHN57PGKjs.name; exports.resolveUserExistingPrettierConfig = _chunk7QVOU2PTjs.resolveUserExistingPrettierConfig; exports.serveExecutor = _chunkA7ARE63Fjs.serveExecutor;
54
+ exports.AbstractHelmClient = _chunkJSFRUBG5js.AbstractHelmClient; exports.HelmClient = _chunk4AADQIGWjs.HelmClient; exports.addToPrettierIgnore = _chunk7QVOU2PTjs.addToPrettierIgnore; exports.createHelmClient = _chunk4AADQIGWjs.createHelmClient; exports.createNodesV2 = _chunkW5JY447Sjs.createNodesV2; exports.description = _chunkW5JY447Sjs.description; exports.ensureInitialized = _chunkXKOZIQT3js.ensureInitialized; exports.getRegistryVersion = _chunkCHQFLPKGjs.getRegistryVersion; exports.helmChartGeneratorFn = _chunkOHXHL4YWjs.helmChartGeneratorFn; exports.helmDependencyGeneratorFn = _chunkPYDP65I4js.helmDependencyGeneratorFn; exports.name = _chunkW5JY447Sjs.name; exports.resolveUserExistingPrettierConfig = _chunk7QVOU2PTjs.resolveUserExistingPrettierConfig; exports.serveExecutor = _chunkKA6YY6JOjs.serveExecutor;
package/dist/index.mjs CHANGED
@@ -2,41 +2,41 @@ import {
2
2
  createNodesV2,
3
3
  description,
4
4
  name
5
- } from "./chunk-RGCWOU4G.mjs";
5
+ } from "./chunk-BZYA2PUG.mjs";
6
6
  import "./chunk-YSCEY447.mjs";
7
7
  import {
8
8
  getRegistryVersion
9
- } from "./chunk-O2NTRG6T.mjs";
9
+ } from "./chunk-NOKCVPQ2.mjs";
10
10
  import {
11
11
  serveExecutor
12
- } from "./chunk-SICCVKOX.mjs";
12
+ } from "./chunk-EYSVKEFF.mjs";
13
13
  import "./chunk-WV3ZYQE2.mjs";
14
14
  import "./chunk-3J7KBHMJ.mjs";
15
15
  import {
16
16
  helmChartGeneratorFn
17
- } from "./chunk-VUSHSK4P.mjs";
17
+ } from "./chunk-5JOB6OGJ.mjs";
18
18
  import {
19
19
  helmDependencyGeneratorFn
20
- } from "./chunk-MKWEGZBN.mjs";
21
- import "./chunk-VREITNWP.mjs";
22
- import "./chunk-MDGD27YL.mjs";
23
- import "./chunk-MWMS7P7U.mjs";
20
+ } from "./chunk-BAOKCCVA.mjs";
21
+ import "./chunk-6WL6MFX5.mjs";
22
+ import "./chunk-5UXGPT7W.mjs";
23
+ import "./chunk-GNTJL5JP.mjs";
24
24
  import "./chunk-WWU25UQ4.mjs";
25
25
  import {
26
26
  addToPrettierIgnore,
27
27
  resolveUserExistingPrettierConfig
28
- } from "./chunk-B5PZBLQ3.mjs";
28
+ } from "./chunk-HJWOJTON.mjs";
29
29
  import {
30
30
  HelmClient,
31
31
  createHelmClient
32
- } from "./chunk-SDL2IMN3.mjs";
32
+ } from "./chunk-TAGMMOA3.mjs";
33
33
  import {
34
34
  AbstractHelmClient
35
35
  } from "./chunk-YXXZO2AJ.mjs";
36
36
  import {
37
37
  ensureInitialized
38
38
  } from "./chunk-HGXQ6SSU.mjs";
39
- import "./chunk-UMIKY6NS.mjs";
39
+ import "./chunk-74JECYT4.mjs";
40
40
  export {
41
41
  AbstractHelmClient,
42
42
  HelmClient,
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkQC45ZBCDjs = require('../../../chunk-QC45ZBCD.js');
4
+ var _chunkCHQFLPKGjs = require('../../../chunk-CHQFLPKG.js');
5
5
  require('../../../chunk-XZP5ZUYN.js');
6
- require('../../../chunk-DD5DCADP.js');
7
- require('../../../chunk-UWVOFPSW.js');
6
+ require('../../../chunk-KPRFECY6.js');
7
+ require('../../../chunk-A4CVK7EX.js');
8
8
  require('../../../chunk-RECJ3G6F.js');
9
9
 
10
10
 
11
11
 
12
- exports.default = _chunkQC45ZBCDjs.publishExecutor; exports.getRegistryVersion = _chunkQC45ZBCDjs.getRegistryVersion;
12
+ exports.default = _chunkCHQFLPKGjs.publishExecutor; exports.getRegistryVersion = _chunkCHQFLPKGjs.getRegistryVersion;
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getRegistryVersion,
3
3
  publishExecutor
4
- } from "../../../chunk-O2NTRG6T.mjs";
4
+ } from "../../../chunk-NOKCVPQ2.mjs";
5
5
  import "../../../chunk-WV3ZYQE2.mjs";
6
- import "../../../chunk-MDGD27YL.mjs";
7
- import "../../../chunk-MWMS7P7U.mjs";
8
- import "../../../chunk-UMIKY6NS.mjs";
6
+ import "../../../chunk-5UXGPT7W.mjs";
7
+ import "../../../chunk-GNTJL5JP.mjs";
8
+ import "../../../chunk-74JECYT4.mjs";
9
9
  export {
10
10
  publishExecutor as default,
11
11
  getRegistryVersion
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkA7ARE63Fjs = require('../../../chunk-A7ARE63F.js');
5
- require('../../../chunk-DD5DCADP.js');
6
- require('../../../chunk-UWVOFPSW.js');
4
+ var _chunkKA6YY6JOjs = require('../../../chunk-KA6YY6JO.js');
5
+ require('../../../chunk-KPRFECY6.js');
6
+ require('../../../chunk-A4CVK7EX.js');
7
7
  require('../../../chunk-4AADQIGW.js');
8
8
  require('../../../chunk-JSFRUBG5.js');
9
9
  require('../../../chunk-XKOZIQT3.js');
@@ -11,4 +11,4 @@ require('../../../chunk-RECJ3G6F.js');
11
11
 
12
12
 
13
13
 
14
- exports.default = _chunkA7ARE63Fjs.executor_default; exports.serveExecutor = _chunkA7ARE63Fjs.serveExecutor;
14
+ exports.default = _chunkKA6YY6JOjs.executor_default; exports.serveExecutor = _chunkKA6YY6JOjs.serveExecutor;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  executor_default,
3
3
  serveExecutor
4
- } from "../../../chunk-SICCVKOX.mjs";
5
- import "../../../chunk-MDGD27YL.mjs";
6
- import "../../../chunk-MWMS7P7U.mjs";
7
- import "../../../chunk-SDL2IMN3.mjs";
4
+ } from "../../../chunk-EYSVKEFF.mjs";
5
+ import "../../../chunk-5UXGPT7W.mjs";
6
+ import "../../../chunk-GNTJL5JP.mjs";
7
+ import "../../../chunk-TAGMMOA3.mjs";
8
8
  import "../../../chunk-YXXZO2AJ.mjs";
9
9
  import "../../../chunk-HGXQ6SSU.mjs";
10
- import "../../../chunk-UMIKY6NS.mjs";
10
+ import "../../../chunk-74JECYT4.mjs";
11
11
  export {
12
12
  executor_default as default,
13
13
  serveExecutor