@storm-software/k8s-tools 0.42.76 → 0.42.78
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.
- package/CHANGELOG.md +21 -0
- package/README.md +1 -2
- package/dist/{chunk-FBQNTT6O.js → chunk-2ORGJJ2D.js} +3 -3
- package/dist/{chunk-KTZBLDY7.js → chunk-3MUSZ23H.js} +6 -6
- package/dist/{chunk-MENYO2WF.mjs → chunk-4ZCYRRIE.mjs} +19 -2
- package/dist/{chunk-EPWMI4R3.mjs → chunk-6PIKDEPT.mjs} +2 -2
- package/dist/{chunk-4JR7O6PK.mjs → chunk-B26VJQYX.mjs} +2 -2
- package/dist/{chunk-3MEJUOCO.mjs → chunk-F7Y6WHV6.mjs} +2 -2
- package/dist/{chunk-YV2FMXZH.js → chunk-I6YM5PQM.js} +4 -4
- package/dist/{chunk-MTKFUK3Z.mjs → chunk-ID3K6PKR.mjs} +1 -1
- package/dist/{chunk-YAZUMVJ5.js → chunk-L24IJS5Y.js} +2 -2
- package/dist/{chunk-QE6RRYPK.js → chunk-MTCLQARI.js} +24 -24
- package/dist/{chunk-OT3YCNUJ.js → chunk-NJEWQXPL.js} +19 -2
- package/dist/{chunk-7XFUJQRK.js → chunk-PUJUCXVE.js} +4 -4
- package/dist/{chunk-JKPUCUPA.js → chunk-U26IOH46.js} +19 -19
- package/dist/{chunk-6XSL2XCJ.mjs → chunk-UORJ5OPO.mjs} +2 -2
- package/dist/{chunk-4P5MXV6I.mjs → chunk-WLOWO7H6.mjs} +2 -2
- package/dist/{chunk-RTWTIEP5.mjs → chunk-ZPJNZVTV.mjs} +1 -1
- package/dist/executors.js +5 -5
- package/dist/executors.mjs +6 -6
- package/dist/generators.js +6 -6
- package/dist/generators.mjs +5 -5
- package/dist/index.js +9 -9
- package/dist/index.mjs +10 -10
- package/dist/src/executors/container-publish/executor.js +4 -4
- package/dist/src/executors/container-publish/executor.mjs +3 -3
- package/dist/src/executors/helm-package/executor.js +4 -4
- package/dist/src/executors/helm-package/executor.mjs +3 -3
- package/dist/src/generators/helm-chart/generator.js +5 -5
- package/dist/src/generators/helm-chart/generator.mjs +4 -4
- package/dist/src/generators/helm-dependency/generator.js +5 -5
- package/dist/src/generators/helm-dependency/generator.mjs +4 -4
- package/dist/src/plugins/docker/index.js +3 -3
- package/dist/src/plugins/docker/index.mjs +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - K8s Tools
|
|
4
4
|
|
|
5
|
+
## [0.42.77](https://github.com/storm-software/storm-ops/releases/tag/k8s-tools%400.42.77) (12/30/2025)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update `README.md` markdown files
|
|
10
|
+
([eea67b18e](https://github.com/storm-software/storm-ops/commit/eea67b18e))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated **workspace-tools** to **v1.294.21**
|
|
15
|
+
- Updated **config-tools** to **v1.188.75**
|
|
16
|
+
- Updated **config** to **v1.134.75**
|
|
17
|
+
|
|
18
|
+
## [0.42.76](https://github.com/storm-software/storm-ops/releases/tag/k8s-tools%400.42.76) (12/23/2025)
|
|
19
|
+
|
|
20
|
+
### Updated Dependencies
|
|
21
|
+
|
|
22
|
+
- Updated **workspace-tools** to **v1.294.20**
|
|
23
|
+
- Updated **config-tools** to **v1.188.74**
|
|
24
|
+
- Updated **config** to **v1.134.74**
|
|
25
|
+
|
|
5
26
|
## [0.42.75](https://github.com/storm-software/storm-ops/releases/tag/k8s-tools%400.42.75) (12/18/2025)
|
|
6
27
|
|
|
7
28
|
### Updated Dependencies
|
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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -46,7 +46,6 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
46
46
|
|
|
47
47
|
<!-- START doctoc -->
|
|
48
48
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
49
|
-
|
|
50
49
|
## Table of Contents
|
|
51
50
|
|
|
52
51
|
- [Storm Kubernetes Tools](#storm-kubernetes-tools)
|
|
@@ -8,7 +8,7 @@ var _chunkKBSSJUPWjs = require('./chunk-KBSSJUPW.js');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkNJEWQXPLjs = require('./chunk-NJEWQXPL.js');
|
|
12
12
|
|
|
13
13
|
// src/plugins/docker/_dockerfile.ts
|
|
14
14
|
|
|
@@ -42,8 +42,8 @@ var createNodesV2 = [
|
|
|
42
42
|
if (_optionalChain([projectJson, 'optionalAccess', _ => _.name])) {
|
|
43
43
|
return {};
|
|
44
44
|
}
|
|
45
|
-
const workspaceRoot =
|
|
46
|
-
const config = await
|
|
45
|
+
const workspaceRoot = _chunkNJEWQXPLjs.findWorkspaceRoot.call(void 0, );
|
|
46
|
+
const config = await _chunkNJEWQXPLjs.getConfig.call(void 0, workspaceRoot);
|
|
47
47
|
Object.keys(projectJson).forEach((key) => {
|
|
48
48
|
if (!project[key]) {
|
|
49
49
|
project[key] = projectJson[key];
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
var _chunkKBSSJUPWjs = require('./chunk-KBSSJUPW.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkL24IJS5Yjs = require('./chunk-L24IJS5Y.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkNJEWQXPLjs = require('./chunk-NJEWQXPL.js');
|
|
11
11
|
|
|
12
12
|
// src/executors/container-publish/executor.ts
|
|
13
13
|
|
|
@@ -64,7 +64,7 @@ var applyWorkspaceExecutorTokens = async (option, tokenizerOptions) => {
|
|
|
64
64
|
if (result.includes("{workspaceRoot}")) {
|
|
65
65
|
result = result.replaceAll(
|
|
66
66
|
"{workspaceRoot}",
|
|
67
|
-
_nullishCoalesce(tokenizerOptions.workspaceRoot, () => (
|
|
67
|
+
_nullishCoalesce(tokenizerOptions.workspaceRoot, () => ( _chunkNJEWQXPLjs.findWorkspaceRoot.call(void 0, )))
|
|
68
68
|
);
|
|
69
69
|
}
|
|
70
70
|
return result;
|
|
@@ -80,8 +80,8 @@ async function* publishExecutor(options, context) {
|
|
|
80
80
|
console.info(
|
|
81
81
|
`\u{1F680} Running Storm Container Registry Publish executor on the ${context.projectName} crate`
|
|
82
82
|
);
|
|
83
|
-
const workspaceRoot =
|
|
84
|
-
const config = await
|
|
83
|
+
const workspaceRoot = _chunkNJEWQXPLjs.findWorkspaceRoot.call(void 0, );
|
|
84
|
+
const config = await _chunkNJEWQXPLjs.getConfig.call(void 0, workspaceRoot);
|
|
85
85
|
const projectConfig = _optionalChain([context, 'access', _2 => _2.projectsConfigurations, 'optionalAccess', _3 => _3.projects, 'access', _4 => _4[context.projectName]]);
|
|
86
86
|
if (!projectConfig) {
|
|
87
87
|
throw new Error(
|
|
@@ -92,7 +92,7 @@ async function* publishExecutor(options, context) {
|
|
|
92
92
|
const sourceRoot = _nullishCoalesce(_optionalChain([projectConfig, 'optionalAccess', _6 => _6.sourceRoot]), () => ( workspaceRoot));
|
|
93
93
|
const projectName = _nullishCoalesce(_optionalChain([projectConfig, 'optionalAccess', _7 => _7.name]), () => ( context.projectName));
|
|
94
94
|
config.workspaceRoot = workspaceRoot;
|
|
95
|
-
const tokenized = await
|
|
95
|
+
const tokenized = await _chunkL24IJS5Yjs.applyWorkspaceTokens.call(void 0,
|
|
96
96
|
options,
|
|
97
97
|
{
|
|
98
98
|
config,
|
|
@@ -35,6 +35,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
35
35
|
help: "#5C4EE5",
|
|
36
36
|
success: "#087f5b",
|
|
37
37
|
info: "#0550ae",
|
|
38
|
+
debug: "#8afafc",
|
|
38
39
|
warning: "#e3b341",
|
|
39
40
|
danger: "#D8314A",
|
|
40
41
|
fatal: "#51070f",
|
|
@@ -51,6 +52,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
51
52
|
help: "#818cf8",
|
|
52
53
|
success: "#10b981",
|
|
53
54
|
info: "#58a6ff",
|
|
55
|
+
debug: "#8afafc",
|
|
54
56
|
warning: "#f3d371",
|
|
55
57
|
danger: "#D8314A",
|
|
56
58
|
fatal: "#a40e26",
|
|
@@ -231,7 +233,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
231
233
|
return (message) => {
|
|
232
234
|
console.debug(
|
|
233
235
|
`
|
|
234
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.
|
|
236
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
235
237
|
`
|
|
236
238
|
);
|
|
237
239
|
};
|
|
@@ -240,7 +242,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
240
242
|
return (message) => {
|
|
241
243
|
console.debug(
|
|
242
244
|
`
|
|
243
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.
|
|
245
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
244
246
|
`
|
|
245
247
|
);
|
|
246
248
|
};
|
|
@@ -583,6 +585,10 @@ var infoColorSchema = z._default(colorSchema, "#38bdf8");
|
|
|
583
585
|
schemaRegistry.add(infoColorSchema, {
|
|
584
586
|
description: "The informational color of the workspace"
|
|
585
587
|
});
|
|
588
|
+
var debugColorSchema = z._default(colorSchema, "#8afafc");
|
|
589
|
+
schemaRegistry.add(debugColorSchema, {
|
|
590
|
+
description: "The debug color of the workspace"
|
|
591
|
+
});
|
|
586
592
|
var warningColorSchema = z._default(colorSchema, "#f3d371");
|
|
587
593
|
schemaRegistry.add(warningColorSchema, {
|
|
588
594
|
description: "The warning color of the workspace"
|
|
@@ -617,6 +623,7 @@ var darkColorsSchema = z.object({
|
|
|
617
623
|
help: helpColorSchema,
|
|
618
624
|
success: successColorSchema,
|
|
619
625
|
info: infoColorSchema,
|
|
626
|
+
debug: debugColorSchema,
|
|
620
627
|
warning: warningColorSchema,
|
|
621
628
|
danger: dangerColorSchema,
|
|
622
629
|
fatal: fatalColorSchema,
|
|
@@ -634,6 +641,7 @@ var lightColorsSchema = z.object({
|
|
|
634
641
|
help: helpColorSchema,
|
|
635
642
|
success: successColorSchema,
|
|
636
643
|
info: infoColorSchema,
|
|
644
|
+
debug: debugColorSchema,
|
|
637
645
|
warning: warningColorSchema,
|
|
638
646
|
danger: dangerColorSchema,
|
|
639
647
|
fatal: fatalColorSchema,
|
|
@@ -655,6 +663,7 @@ var singleColorsSchema = z.object({
|
|
|
655
663
|
help: helpColorSchema,
|
|
656
664
|
success: successColorSchema,
|
|
657
665
|
info: infoColorSchema,
|
|
666
|
+
debug: debugColorSchema,
|
|
658
667
|
warning: warningColorSchema,
|
|
659
668
|
danger: dangerColorSchema,
|
|
660
669
|
fatal: fatalColorSchema,
|
|
@@ -1444,6 +1453,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
1444
1453
|
help: process.env[`${prefix}HELP`],
|
|
1445
1454
|
success: process.env[`${prefix}SUCCESS`],
|
|
1446
1455
|
info: process.env[`${prefix}INFO`],
|
|
1456
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
1447
1457
|
warning: process.env[`${prefix}WARNING`],
|
|
1448
1458
|
danger: process.env[`${prefix}DANGER`],
|
|
1449
1459
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -1482,6 +1492,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1482
1492
|
help: process.env[`${prefix}HELP`],
|
|
1483
1493
|
success: process.env[`${prefix}SUCCESS`],
|
|
1484
1494
|
info: process.env[`${prefix}INFO`],
|
|
1495
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
1485
1496
|
warning: process.env[`${prefix}WARNING`],
|
|
1486
1497
|
danger: process.env[`${prefix}DANGER`],
|
|
1487
1498
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -1783,6 +1794,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
|
|
|
1783
1794
|
if (config.info) {
|
|
1784
1795
|
process.env[`${prefix}INFO`] = config.info;
|
|
1785
1796
|
}
|
|
1797
|
+
if (config.debug) {
|
|
1798
|
+
process.env[`${prefix}DEBUG`] = config.debug;
|
|
1799
|
+
}
|
|
1786
1800
|
if (config.warning) {
|
|
1787
1801
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
1788
1802
|
}
|
|
@@ -1838,6 +1852,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
|
|
|
1838
1852
|
if (config.info) {
|
|
1839
1853
|
process.env[`${prefix}INFO`] = config.info;
|
|
1840
1854
|
}
|
|
1855
|
+
if (config.debug) {
|
|
1856
|
+
process.env[`${prefix}DEBUG`] = config.debug;
|
|
1857
|
+
}
|
|
1841
1858
|
if (config.warning) {
|
|
1842
1859
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
1843
1860
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyWorkspaceBaseTokens,
|
|
3
3
|
applyWorkspaceTokens
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ID3K6PKR.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-
|
|
15
|
+
} from "./chunk-4ZCYRRIE.mjs";
|
|
16
16
|
|
|
17
17
|
// ../workspace-tools/src/base/base-generator.ts
|
|
18
18
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-WS2G4IWW.mjs";
|
|
4
4
|
import {
|
|
5
5
|
applyWorkspaceTokens
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ID3K6PKR.mjs";
|
|
7
7
|
import {
|
|
8
8
|
findWorkspaceRoot,
|
|
9
9
|
getConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4ZCYRRIE.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
|
|
3
|
+
var _chunkU26IOH46js = require('./chunk-U26IOH46.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkNJEWQXPLjs = require('./chunk-NJEWQXPL.js');
|
|
7
7
|
|
|
8
8
|
// src/generators/helm-chart/generator.ts
|
|
9
9
|
|
|
@@ -14,7 +14,7 @@ var _chunkOT3YCNUJjs = require('./chunk-OT3YCNUJ.js');
|
|
|
14
14
|
var _devkit = require('@nx/devkit');
|
|
15
15
|
var _path = require('path');
|
|
16
16
|
async function helmChartGeneratorFn(tree, options, config) {
|
|
17
|
-
|
|
17
|
+
_chunkNJEWQXPLjs.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 =
|
|
58
|
+
var generator_default = _chunkU26IOH46js.withRunGenerator.call(void 0,
|
|
59
59
|
"Helm Chart",
|
|
60
60
|
helmChartGeneratorFn
|
|
61
61
|
);
|
|
@@ -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
|
|
3
|
+
var _chunkNJEWQXPLjs = require('./chunk-NJEWQXPL.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]))), () => (
|
|
40
|
+
_nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _2 => _2.config, 'optionalAccess', _3 => _3.workspaceRoot]))), () => ( _chunkNJEWQXPLjs.findWorkspaceRoot.call(void 0, )))
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
43
|
return result;
|
|
@@ -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
|
|
4
|
+
var _chunkL24IJS5Yjs = require('./chunk-L24IJS5Y.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ var _chunkYAZUMVJ5js = require('./chunk-YAZUMVJ5.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkNJEWQXPLjs = require('./chunk-NJEWQXPL.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 =
|
|
25
|
+
const stopwatch = _chunkNJEWQXPLjs.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 =
|
|
34
|
+
const workspaceRoot = _chunkNJEWQXPLjs.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
|
-
|
|
39
|
+
_chunkNJEWQXPLjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
|
|
40
40
|
if (!executorOptions.skipReadingConfig) {
|
|
41
|
-
|
|
41
|
+
_chunkNJEWQXPLjs.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
|
|
50
|
+
config = await _chunkNJEWQXPLjs.getConfig.call(void 0, workspaceRoot);
|
|
51
51
|
}
|
|
52
52
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
53
|
-
|
|
53
|
+
_chunkNJEWQXPLjs.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
|
-
|
|
57
|
+
_chunkNJEWQXPLjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
_chunkNJEWQXPLjs.writeTrace.call(void 0,
|
|
60
60
|
`Executor schema options \u2699\uFE0F
|
|
61
|
-
${
|
|
61
|
+
${_chunkNJEWQXPLjs.formatLogMessage.call(void 0, options)}
|
|
62
62
|
`,
|
|
63
63
|
config
|
|
64
64
|
);
|
|
65
|
-
const tokenized = await
|
|
65
|
+
const tokenized = await _chunkL24IJS5Yjs.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
|
-
|
|
72
|
+
_chunkL24IJS5Yjs.applyWorkspaceProjectTokens
|
|
73
73
|
);
|
|
74
|
-
|
|
74
|
+
_chunkNJEWQXPLjs.writeTrace.call(void 0,
|
|
75
75
|
`Executor schema tokenized options \u2699\uFE0F
|
|
76
|
-
${
|
|
76
|
+
${_chunkNJEWQXPLjs.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
|
-
|
|
81
|
+
_chunkNJEWQXPLjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
82
82
|
await Promise.resolve(
|
|
83
83
|
executorOptions.hooks.preProcess(tokenized, config)
|
|
84
84
|
);
|
|
85
|
-
|
|
85
|
+
_chunkNJEWQXPLjs.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]))) {
|
|
@@ -97,7 +97,7 @@ ${_chunkOT3YCNUJjs.formatLogMessage.call(void 0, tokenized)}
|
|
|
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
98
|
throw new Error(
|
|
99
99
|
`Failure determined while running the ${name} executor
|
|
100
|
-
${
|
|
100
|
+
${_chunkNJEWQXPLjs.formatLogMessage.call(void 0,
|
|
101
101
|
result
|
|
102
102
|
)}`,
|
|
103
103
|
{
|
|
@@ -106,21 +106,21 @@ ${_chunkOT3YCNUJjs.formatLogMessage.call(void 0,
|
|
|
106
106
|
);
|
|
107
107
|
}
|
|
108
108
|
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
|
|
109
|
-
|
|
109
|
+
_chunkNJEWQXPLjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
110
110
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
111
|
-
|
|
111
|
+
_chunkNJEWQXPLjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
_chunkNJEWQXPLjs.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
|
-
|
|
119
|
+
_chunkNJEWQXPLjs.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
|
-
|
|
123
|
+
_chunkNJEWQXPLjs.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
|
-
|
|
175
|
+
_chunkNJEWQXPLjs.writeWarning.call(void 0, `Chart packaged at: ${chartPath}`, config);
|
|
176
176
|
}
|
|
177
177
|
return {
|
|
178
178
|
success: true
|
|
@@ -35,6 +35,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
35
35
|
help: "#5C4EE5",
|
|
36
36
|
success: "#087f5b",
|
|
37
37
|
info: "#0550ae",
|
|
38
|
+
debug: "#8afafc",
|
|
38
39
|
warning: "#e3b341",
|
|
39
40
|
danger: "#D8314A",
|
|
40
41
|
fatal: "#51070f",
|
|
@@ -51,6 +52,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
51
52
|
help: "#818cf8",
|
|
52
53
|
success: "#10b981",
|
|
53
54
|
info: "#58a6ff",
|
|
55
|
+
debug: "#8afafc",
|
|
54
56
|
warning: "#f3d371",
|
|
55
57
|
danger: "#D8314A",
|
|
56
58
|
fatal: "#a40e26",
|
|
@@ -231,7 +233,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, ()
|
|
|
231
233
|
return (message) => {
|
|
232
234
|
console.debug(
|
|
233
235
|
`
|
|
234
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.
|
|
236
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.info)))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
235
237
|
`
|
|
236
238
|
);
|
|
237
239
|
};
|
|
@@ -240,7 +242,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, ()
|
|
|
240
242
|
return (message) => {
|
|
241
243
|
console.debug(
|
|
242
244
|
`
|
|
243
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.
|
|
245
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.debug)))(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
244
246
|
`
|
|
245
247
|
);
|
|
246
248
|
};
|
|
@@ -583,6 +585,10 @@ var infoColorSchema = z._default(colorSchema, "#38bdf8");
|
|
|
583
585
|
schemaRegistry.add(infoColorSchema, {
|
|
584
586
|
description: "The informational color of the workspace"
|
|
585
587
|
});
|
|
588
|
+
var debugColorSchema = z._default(colorSchema, "#8afafc");
|
|
589
|
+
schemaRegistry.add(debugColorSchema, {
|
|
590
|
+
description: "The debug color of the workspace"
|
|
591
|
+
});
|
|
586
592
|
var warningColorSchema = z._default(colorSchema, "#f3d371");
|
|
587
593
|
schemaRegistry.add(warningColorSchema, {
|
|
588
594
|
description: "The warning color of the workspace"
|
|
@@ -617,6 +623,7 @@ var darkColorsSchema = z.object({
|
|
|
617
623
|
help: helpColorSchema,
|
|
618
624
|
success: successColorSchema,
|
|
619
625
|
info: infoColorSchema,
|
|
626
|
+
debug: debugColorSchema,
|
|
620
627
|
warning: warningColorSchema,
|
|
621
628
|
danger: dangerColorSchema,
|
|
622
629
|
fatal: fatalColorSchema,
|
|
@@ -634,6 +641,7 @@ var lightColorsSchema = z.object({
|
|
|
634
641
|
help: helpColorSchema,
|
|
635
642
|
success: successColorSchema,
|
|
636
643
|
info: infoColorSchema,
|
|
644
|
+
debug: debugColorSchema,
|
|
637
645
|
warning: warningColorSchema,
|
|
638
646
|
danger: dangerColorSchema,
|
|
639
647
|
fatal: fatalColorSchema,
|
|
@@ -655,6 +663,7 @@ var singleColorsSchema = z.object({
|
|
|
655
663
|
help: helpColorSchema,
|
|
656
664
|
success: successColorSchema,
|
|
657
665
|
info: infoColorSchema,
|
|
666
|
+
debug: debugColorSchema,
|
|
658
667
|
warning: warningColorSchema,
|
|
659
668
|
danger: dangerColorSchema,
|
|
660
669
|
fatal: fatalColorSchema,
|
|
@@ -1444,6 +1453,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
1444
1453
|
help: process.env[`${prefix}HELP`],
|
|
1445
1454
|
success: process.env[`${prefix}SUCCESS`],
|
|
1446
1455
|
info: process.env[`${prefix}INFO`],
|
|
1456
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
1447
1457
|
warning: process.env[`${prefix}WARNING`],
|
|
1448
1458
|
danger: process.env[`${prefix}DANGER`],
|
|
1449
1459
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -1482,6 +1492,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1482
1492
|
help: process.env[`${prefix}HELP`],
|
|
1483
1493
|
success: process.env[`${prefix}SUCCESS`],
|
|
1484
1494
|
info: process.env[`${prefix}INFO`],
|
|
1495
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
1485
1496
|
warning: process.env[`${prefix}WARNING`],
|
|
1486
1497
|
danger: process.env[`${prefix}DANGER`],
|
|
1487
1498
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -1783,6 +1794,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
|
|
|
1783
1794
|
if (config.info) {
|
|
1784
1795
|
process.env[`${prefix}INFO`] = config.info;
|
|
1785
1796
|
}
|
|
1797
|
+
if (config.debug) {
|
|
1798
|
+
process.env[`${prefix}DEBUG`] = config.debug;
|
|
1799
|
+
}
|
|
1786
1800
|
if (config.warning) {
|
|
1787
1801
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
1788
1802
|
}
|
|
@@ -1838,6 +1852,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
|
|
|
1838
1852
|
if (config.info) {
|
|
1839
1853
|
process.env[`${prefix}INFO`] = config.info;
|
|
1840
1854
|
}
|
|
1855
|
+
if (config.debug) {
|
|
1856
|
+
process.env[`${prefix}DEBUG`] = config.debug;
|
|
1857
|
+
}
|
|
1841
1858
|
if (config.warning) {
|
|
1842
1859
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
1843
1860
|
}
|
|
@@ -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
|
|
3
|
+
var _chunkU26IOH46js = require('./chunk-U26IOH46.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkNJEWQXPLjs = require('./chunk-NJEWQXPL.js');
|
|
7
7
|
|
|
8
8
|
// src/generators/helm-dependency/generator.ts
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ var _chunkOT3YCNUJjs = require('./chunk-OT3YCNUJ.js');
|
|
|
13
13
|
var _devkit = require('@nx/devkit');
|
|
14
14
|
var _yaml = require('yaml');
|
|
15
15
|
async function helmDependencyGeneratorFn(tree, options, config) {
|
|
16
|
-
|
|
16
|
+
_chunkNJEWQXPLjs.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 =
|
|
42
|
+
var generator_default = _chunkU26IOH46js.withRunGenerator.call(void 0,
|
|
43
43
|
"Helm Dependency",
|
|
44
44
|
helmDependencyGeneratorFn
|
|
45
45
|
);
|
|
@@ -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
|
|
4
|
+
var _chunkL24IJS5Yjs = require('./chunk-L24IJS5Y.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -12,51 +12,51 @@ var _chunkYAZUMVJ5js = require('./chunk-YAZUMVJ5.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkNJEWQXPLjs = require('./chunk-NJEWQXPL.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 =
|
|
21
|
+
const stopwatch = _chunkNJEWQXPLjs.getStopwatch.call(void 0, name);
|
|
22
22
|
let options = _options;
|
|
23
23
|
let config;
|
|
24
24
|
try {
|
|
25
|
-
|
|
25
|
+
_chunkNJEWQXPLjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
|
|
26
26
|
|
|
27
27
|
`, config);
|
|
28
|
-
const workspaceRoot =
|
|
28
|
+
const workspaceRoot = _chunkNJEWQXPLjs.findWorkspaceRoot.call(void 0, );
|
|
29
29
|
if (!generatorOptions.skipReadingConfig) {
|
|
30
|
-
|
|
30
|
+
_chunkNJEWQXPLjs.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
|
|
35
|
+
config = await _chunkNJEWQXPLjs.getConfig.call(void 0, workspaceRoot);
|
|
36
36
|
}
|
|
37
37
|
if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
|
|
38
|
-
|
|
38
|
+
_chunkNJEWQXPLjs.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
|
-
|
|
42
|
+
_chunkNJEWQXPLjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
_chunkNJEWQXPLjs.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
|
|
49
|
+
const tokenized = await _chunkL24IJS5Yjs.applyWorkspaceTokens.call(void 0,
|
|
50
50
|
options,
|
|
51
51
|
{ workspaceRoot: tree.root, config },
|
|
52
|
-
|
|
52
|
+
_chunkL24IJS5Yjs.applyWorkspaceBaseTokens
|
|
53
53
|
);
|
|
54
54
|
if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
|
|
55
|
-
|
|
55
|
+
_chunkNJEWQXPLjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
56
56
|
await Promise.resolve(
|
|
57
57
|
generatorOptions.hooks.preProcess(tokenized, config)
|
|
58
58
|
);
|
|
59
|
-
|
|
59
|
+
_chunkNJEWQXPLjs.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
|
-
|
|
74
|
+
_chunkNJEWQXPLjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
75
75
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
76
|
-
|
|
76
|
+
_chunkNJEWQXPLjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
77
77
|
}
|
|
78
78
|
return () => {
|
|
79
|
-
|
|
79
|
+
_chunkNJEWQXPLjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
|
|
80
80
|
`, config);
|
|
81
81
|
};
|
|
82
82
|
} catch (error) {
|
|
83
83
|
return () => {
|
|
84
|
-
|
|
84
|
+
_chunkNJEWQXPLjs.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
|
-
|
|
88
|
+
_chunkNJEWQXPLjs.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}`,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyWorkspaceProjectTokens,
|
|
3
3
|
applyWorkspaceTokens
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ID3K6PKR.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findWorkspaceRoot,
|
|
7
7
|
formatLogMessage,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
writeSuccess,
|
|
15
15
|
writeTrace,
|
|
16
16
|
writeWarning
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4ZCYRRIE.mjs";
|
|
18
18
|
import {
|
|
19
19
|
createHelmClient
|
|
20
20
|
} from "./chunk-HK6QKQTS.mjs";
|
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
|
|
4
|
+
var _chunkMTCLQARIjs = require('./chunk-MTCLQARI.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk3MUSZ23Hjs = require('./chunk-3MUSZ23H.js');
|
|
8
8
|
require('./chunk-KBSSJUPW.js');
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-L24IJS5Y.js');
|
|
10
|
+
require('./chunk-NJEWQXPL.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 =
|
|
18
|
+
exports.getRegistryVersion = _chunk3MUSZ23Hjs.getRegistryVersion; exports.serveExecutor = _chunkMTCLQARIjs.serveExecutor;
|
package/dist/executors.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
-
import {
|
|
3
|
-
getRegistryVersion
|
|
4
|
-
} from "./chunk-4JR7O6PK.mjs";
|
|
5
2
|
import {
|
|
6
3
|
serveExecutor
|
|
7
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WLOWO7H6.mjs";
|
|
5
|
+
import {
|
|
6
|
+
getRegistryVersion
|
|
7
|
+
} from "./chunk-B26VJQYX.mjs";
|
|
8
8
|
import "./chunk-WS2G4IWW.mjs";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ID3K6PKR.mjs";
|
|
10
|
+
import "./chunk-4ZCYRRIE.mjs";
|
|
11
11
|
import "./chunk-HK6QKQTS.mjs";
|
|
12
12
|
import "./chunk-YXXZO2AJ.mjs";
|
|
13
13
|
import "./chunk-HGXQ6SSU.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-DHBG5ASJ.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkI6YM5PQMjs = require('./chunk-I6YM5PQM.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
7
|
+
var _chunkPUJUCXVEjs = require('./chunk-PUJUCXVE.js');
|
|
8
|
+
require('./chunk-U26IOH46.js');
|
|
9
|
+
require('./chunk-L24IJS5Y.js');
|
|
10
|
+
require('./chunk-NJEWQXPL.js');
|
|
11
11
|
require('./chunk-RECJ3G6F.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.helmChartGeneratorFn =
|
|
15
|
+
exports.helmChartGeneratorFn = _chunkI6YM5PQMjs.helmChartGeneratorFn; exports.helmDependencyGeneratorFn = _chunkPUJUCXVEjs.helmDependencyGeneratorFn;
|
package/dist/generators.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./chunk-3J7KBHMJ.mjs";
|
|
2
2
|
import {
|
|
3
3
|
helmChartGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-F7Y6WHV6.mjs";
|
|
5
5
|
import {
|
|
6
6
|
helmDependencyGeneratorFn
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-UORJ5OPO.mjs";
|
|
8
|
+
import "./chunk-6PIKDEPT.mjs";
|
|
9
|
+
import "./chunk-ID3K6PKR.mjs";
|
|
10
|
+
import "./chunk-4ZCYRRIE.mjs";
|
|
11
11
|
import "./chunk-KBO64DJX.mjs";
|
|
12
12
|
export {
|
|
13
13
|
helmChartGeneratorFn,
|
package/dist/index.js
CHANGED
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk2ORGJJ2Djs = require('./chunk-2ORGJJ2D.js');
|
|
6
6
|
require('./chunk-XO66D74Z.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkMTCLQARIjs = require('./chunk-MTCLQARI.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk3MUSZ23Hjs = require('./chunk-3MUSZ23H.js');
|
|
13
13
|
require('./chunk-KBSSJUPW.js');
|
|
14
14
|
require('./chunk-DHBG5ASJ.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkI6YM5PQMjs = require('./chunk-I6YM5PQM.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
require('./chunk-
|
|
22
|
-
require('./chunk-
|
|
23
|
-
require('./chunk-
|
|
20
|
+
var _chunkPUJUCXVEjs = require('./chunk-PUJUCXVE.js');
|
|
21
|
+
require('./chunk-U26IOH46.js');
|
|
22
|
+
require('./chunk-L24IJS5Y.js');
|
|
23
|
+
require('./chunk-NJEWQXPL.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 =
|
|
54
|
+
exports.AbstractHelmClient = _chunkJSFRUBG5js.AbstractHelmClient; exports.HelmClient = _chunk4AADQIGWjs.HelmClient; exports.addToPrettierIgnore = _chunk7QVOU2PTjs.addToPrettierIgnore; exports.createHelmClient = _chunk4AADQIGWjs.createHelmClient; exports.createNodesV2 = _chunk2ORGJJ2Djs.createNodesV2; exports.description = _chunk2ORGJJ2Djs.description; exports.ensureInitialized = _chunkXKOZIQT3js.ensureInitialized; exports.getRegistryVersion = _chunk3MUSZ23Hjs.getRegistryVersion; exports.helmChartGeneratorFn = _chunkI6YM5PQMjs.helmChartGeneratorFn; exports.helmDependencyGeneratorFn = _chunkPUJUCXVEjs.helmDependencyGeneratorFn; exports.name = _chunk2ORGJJ2Djs.name; exports.resolveUserExistingPrettierConfig = _chunk7QVOU2PTjs.resolveUserExistingPrettierConfig; exports.serveExecutor = _chunkMTCLQARIjs.serveExecutor;
|
package/dist/index.mjs
CHANGED
|
@@ -2,25 +2,25 @@ import {
|
|
|
2
2
|
createNodesV2,
|
|
3
3
|
description,
|
|
4
4
|
name
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZPJNZVTV.mjs";
|
|
6
6
|
import "./chunk-YSCEY447.mjs";
|
|
7
|
-
import {
|
|
8
|
-
getRegistryVersion
|
|
9
|
-
} from "./chunk-4JR7O6PK.mjs";
|
|
10
7
|
import {
|
|
11
8
|
serveExecutor
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WLOWO7H6.mjs";
|
|
10
|
+
import {
|
|
11
|
+
getRegistryVersion
|
|
12
|
+
} from "./chunk-B26VJQYX.mjs";
|
|
13
13
|
import "./chunk-WS2G4IWW.mjs";
|
|
14
14
|
import "./chunk-3J7KBHMJ.mjs";
|
|
15
15
|
import {
|
|
16
16
|
helmChartGeneratorFn
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-F7Y6WHV6.mjs";
|
|
18
18
|
import {
|
|
19
19
|
helmDependencyGeneratorFn
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-UORJ5OPO.mjs";
|
|
21
|
+
import "./chunk-6PIKDEPT.mjs";
|
|
22
|
+
import "./chunk-ID3K6PKR.mjs";
|
|
23
|
+
import "./chunk-4ZCYRRIE.mjs";
|
|
24
24
|
import "./chunk-WWU25UQ4.mjs";
|
|
25
25
|
import {
|
|
26
26
|
addToPrettierIgnore,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk3MUSZ23Hjs = require('../../../chunk-3MUSZ23H.js');
|
|
5
5
|
require('../../../chunk-KBSSJUPW.js');
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-L24IJS5Y.js');
|
|
7
|
+
require('../../../chunk-NJEWQXPL.js');
|
|
8
8
|
require('../../../chunk-RECJ3G6F.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.default =
|
|
12
|
+
exports.default = _chunk3MUSZ23Hjs.publishExecutor; exports.getRegistryVersion = _chunk3MUSZ23Hjs.getRegistryVersion;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRegistryVersion,
|
|
3
3
|
publishExecutor
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-B26VJQYX.mjs";
|
|
5
5
|
import "../../../chunk-WS2G4IWW.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-ID3K6PKR.mjs";
|
|
7
|
+
import "../../../chunk-4ZCYRRIE.mjs";
|
|
8
8
|
import "../../../chunk-KBO64DJX.mjs";
|
|
9
9
|
export {
|
|
10
10
|
publishExecutor as default,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../../chunk-
|
|
6
|
-
require('../../../chunk-
|
|
4
|
+
var _chunkMTCLQARIjs = require('../../../chunk-MTCLQARI.js');
|
|
5
|
+
require('../../../chunk-L24IJS5Y.js');
|
|
6
|
+
require('../../../chunk-NJEWQXPL.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 =
|
|
14
|
+
exports.default = _chunkMTCLQARIjs.executor_default; exports.serveExecutor = _chunkMTCLQARIjs.serveExecutor;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executor_default,
|
|
3
3
|
serveExecutor
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
4
|
+
} from "../../../chunk-WLOWO7H6.mjs";
|
|
5
|
+
import "../../../chunk-ID3K6PKR.mjs";
|
|
6
|
+
import "../../../chunk-4ZCYRRIE.mjs";
|
|
7
7
|
import "../../../chunk-HK6QKQTS.mjs";
|
|
8
8
|
import "../../../chunk-YXXZO2AJ.mjs";
|
|
9
9
|
import "../../../chunk-HGXQ6SSU.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../../chunk-
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
4
|
+
var _chunkI6YM5PQMjs = require('../../../chunk-I6YM5PQM.js');
|
|
5
|
+
require('../../../chunk-U26IOH46.js');
|
|
6
|
+
require('../../../chunk-L24IJS5Y.js');
|
|
7
|
+
require('../../../chunk-NJEWQXPL.js');
|
|
8
8
|
require('../../../chunk-RECJ3G6F.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.default =
|
|
12
|
+
exports.default = _chunkI6YM5PQMjs.generator_default; exports.helmChartGeneratorFn = _chunkI6YM5PQMjs.helmChartGeneratorFn;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generator_default,
|
|
3
3
|
helmChartGeneratorFn
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
4
|
+
} from "../../../chunk-F7Y6WHV6.mjs";
|
|
5
|
+
import "../../../chunk-6PIKDEPT.mjs";
|
|
6
|
+
import "../../../chunk-ID3K6PKR.mjs";
|
|
7
|
+
import "../../../chunk-4ZCYRRIE.mjs";
|
|
8
8
|
import "../../../chunk-KBO64DJX.mjs";
|
|
9
9
|
export {
|
|
10
10
|
generator_default as default,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../../chunk-
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
4
|
+
var _chunkPUJUCXVEjs = require('../../../chunk-PUJUCXVE.js');
|
|
5
|
+
require('../../../chunk-U26IOH46.js');
|
|
6
|
+
require('../../../chunk-L24IJS5Y.js');
|
|
7
|
+
require('../../../chunk-NJEWQXPL.js');
|
|
8
8
|
require('../../../chunk-RECJ3G6F.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.default =
|
|
12
|
+
exports.default = _chunkPUJUCXVEjs.generator_default; exports.helmDependencyGeneratorFn = _chunkPUJUCXVEjs.helmDependencyGeneratorFn;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generator_default,
|
|
3
3
|
helmDependencyGeneratorFn
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
4
|
+
} from "../../../chunk-UORJ5OPO.mjs";
|
|
5
|
+
import "../../../chunk-6PIKDEPT.mjs";
|
|
6
|
+
import "../../../chunk-ID3K6PKR.mjs";
|
|
7
|
+
import "../../../chunk-4ZCYRRIE.mjs";
|
|
8
8
|
import "../../../chunk-KBO64DJX.mjs";
|
|
9
9
|
export {
|
|
10
10
|
generator_default as default,
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk2ORGJJ2Djs = require('../../../chunk-2ORGJJ2D.js');
|
|
6
6
|
require('../../../chunk-KBSSJUPW.js');
|
|
7
|
-
require('../../../chunk-
|
|
7
|
+
require('../../../chunk-NJEWQXPL.js');
|
|
8
8
|
require('../../../chunk-RECJ3G6F.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.createNodesV2 =
|
|
13
|
+
exports.createNodesV2 = _chunk2ORGJJ2Djs.createNodesV2; exports.description = _chunk2ORGJJ2Djs.description; exports.name = _chunk2ORGJJ2Djs.name;
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
createNodesV2,
|
|
3
3
|
description,
|
|
4
4
|
name
|
|
5
|
-
} from "../../../chunk-
|
|
5
|
+
} from "../../../chunk-ZPJNZVTV.mjs";
|
|
6
6
|
import "../../../chunk-WS2G4IWW.mjs";
|
|
7
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-4ZCYRRIE.mjs";
|
|
8
8
|
import "../../../chunk-KBO64DJX.mjs";
|
|
9
9
|
export {
|
|
10
10
|
createNodesV2,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/k8s-tools",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.78",
|
|
4
4
|
"description": "Tools for managing Kubernetes (k8s) infrastructure within a Nx workspace.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -140,9 +140,9 @@
|
|
|
140
140
|
"nx": { "optional": false }
|
|
141
141
|
},
|
|
142
142
|
"dependencies": {
|
|
143
|
-
"@storm-software/config": "^1.
|
|
144
|
-
"@storm-software/config-tools": "^1.188.
|
|
145
|
-
"@storm-software/workspace-tools": "^1.294.
|
|
143
|
+
"@storm-software/config": "^1.135.0",
|
|
144
|
+
"@storm-software/config-tools": "^1.188.76",
|
|
145
|
+
"@storm-software/workspace-tools": "^1.294.22",
|
|
146
146
|
"defu": "6.1.4",
|
|
147
147
|
"yaml": "^2.8.2"
|
|
148
148
|
},
|
|
@@ -160,5 +160,5 @@
|
|
|
160
160
|
"publishConfig": { "access": "public" },
|
|
161
161
|
"executors": "./executors.json",
|
|
162
162
|
"generators": "./generators.json",
|
|
163
|
-
"gitHead": "
|
|
163
|
+
"gitHead": "e19d4a36814afd4e68d56d8c7e620ec273b71a03"
|
|
164
164
|
}
|