@storm-software/k8s-tools 0.42.80 → 0.42.82
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 +14 -0
- package/dist/{chunk-L66OCYON.js → chunk-6EZ7L5LJ.js} +41 -11
- package/dist/{chunk-C5M3FG6B.js → chunk-6U6QCDDI.js} +3 -3
- package/dist/{chunk-NZHLTQHP.mjs → chunk-AVT6D33I.mjs} +2 -2
- package/dist/{chunk-FFMFVAVQ.mjs → chunk-GQHL2X2U.mjs} +1 -1
- package/dist/{chunk-U3IYV3TS.js → chunk-HYI5ZGH3.js} +4 -4
- package/dist/{chunk-SPCNTCVL.mjs → chunk-JEJFWZGL.mjs} +2 -2
- package/dist/{chunk-QJAODRM3.js → chunk-JWWVDXXA.js} +2 -2
- package/dist/{chunk-JWCZSUXH.js → chunk-POMLH52H.js} +19 -19
- package/dist/{chunk-A2PKCCOI.js → chunk-R5XTR64Y.js} +4 -4
- package/dist/{chunk-ZJN224XM.js → chunk-R7SGBN76.js} +6 -6
- package/dist/{chunk-GJPPOZR7.mjs → chunk-TEPKZKZN.mjs} +41 -11
- package/dist/{chunk-MYABCQ3A.mjs → chunk-THSQOTVY.mjs} +2 -2
- package/dist/{chunk-PHYSD2KK.js → chunk-VOCKSQJV.js} +24 -24
- package/dist/{chunk-42RYTSGF.mjs → chunk-WOUPAI3R.mjs} +2 -2
- package/dist/{chunk-N375VQEN.mjs → chunk-WUI64UM3.mjs} +1 -1
- package/dist/{chunk-S2AA5CJI.mjs → chunk-Y3TX76XG.mjs} +2 -2
- package/dist/executors.js +5 -5
- package/dist/executors.mjs +4 -4
- package/dist/generators.js +6 -6
- package/dist/generators.mjs +5 -5
- package/dist/index.js +9 -9
- package/dist/index.mjs +8 -8
- 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 +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - K8s Tools
|
|
4
4
|
|
|
5
|
+
## [0.42.81](https://github.com/storm-software/storm-ops/releases/tag/k8s-tools%400.42.81) (01/14/2026)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **workspace-tools** to **v1.294.25**
|
|
10
|
+
- Updated **config-tools** to **v1.188.79**
|
|
11
|
+
|
|
12
|
+
## [0.42.80](https://github.com/storm-software/storm-ops/releases/tag/k8s-tools%400.42.80) (01/14/2026)
|
|
13
|
+
|
|
14
|
+
### Updated Dependencies
|
|
15
|
+
|
|
16
|
+
- Updated **workspace-tools** to **v1.294.24**
|
|
17
|
+
- Updated **config-tools** to **v1.188.78**
|
|
18
|
+
|
|
5
19
|
## [0.42.79](https://github.com/storm-software/storm-ops/releases/tag/k8s-tools%400.42.79) (01/14/2026)
|
|
6
20
|
|
|
7
21
|
### Updated Dependencies
|
|
@@ -111,9 +111,9 @@ function isUnicodeSupported() {
|
|
|
111
111
|
var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
|
|
112
112
|
var CONSOLE_ICONS = {
|
|
113
113
|
[LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
|
|
114
|
-
[LogLevelLabel.FATAL]: useIcon("\
|
|
114
|
+
[LogLevelLabel.FATAL]: useIcon("\u{1F571}", "\xD7"),
|
|
115
115
|
[LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
|
|
116
|
-
[LogLevelLabel.INFO]: useIcon("\
|
|
116
|
+
[LogLevelLabel.INFO]: useIcon("\u2139", "i"),
|
|
117
117
|
[LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
|
|
118
118
|
[LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
|
|
119
119
|
[LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
|
|
@@ -188,7 +188,11 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
|
188
188
|
return (message) => {
|
|
189
189
|
console.error(
|
|
190
190
|
`
|
|
191
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
191
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
192
|
+
_nullishCoalesce(colors.fatal, () => ( DEFAULT_COLOR_CONFIG.dark.fatal))
|
|
193
|
+
)(
|
|
194
|
+
`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
|
|
195
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
192
196
|
`
|
|
193
197
|
);
|
|
194
198
|
};
|
|
@@ -197,7 +201,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.fatal, ()
|
|
|
197
201
|
return (message) => {
|
|
198
202
|
console.error(
|
|
199
203
|
`
|
|
200
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
204
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
205
|
+
_nullishCoalesce(colors.danger, () => ( DEFAULT_COLOR_CONFIG.dark.danger))
|
|
206
|
+
)(
|
|
207
|
+
`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
|
|
208
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
201
209
|
`
|
|
202
210
|
);
|
|
203
211
|
};
|
|
@@ -206,7 +214,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.danger, (
|
|
|
206
214
|
return (message) => {
|
|
207
215
|
console.warn(
|
|
208
216
|
`
|
|
209
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
217
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
218
|
+
_nullishCoalesce(colors.warning, () => ( DEFAULT_COLOR_CONFIG.dark.warning))
|
|
219
|
+
)(
|
|
220
|
+
`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
|
|
221
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
210
222
|
`
|
|
211
223
|
);
|
|
212
224
|
};
|
|
@@ -215,7 +227,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.warning,
|
|
|
215
227
|
return (message) => {
|
|
216
228
|
console.info(
|
|
217
229
|
`
|
|
218
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
230
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
231
|
+
_nullishCoalesce(colors.success, () => ( DEFAULT_COLOR_CONFIG.dark.success))
|
|
232
|
+
)(
|
|
233
|
+
`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
|
|
234
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
219
235
|
`
|
|
220
236
|
);
|
|
221
237
|
};
|
|
@@ -224,7 +240,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.success,
|
|
|
224
240
|
return (message) => {
|
|
225
241
|
console.info(
|
|
226
242
|
`
|
|
227
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
243
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
244
|
+
_nullishCoalesce(colors.info, () => ( DEFAULT_COLOR_CONFIG.dark.info))
|
|
245
|
+
)(
|
|
246
|
+
`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
|
|
247
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
228
248
|
`
|
|
229
249
|
);
|
|
230
250
|
};
|
|
@@ -233,7 +253,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, ()
|
|
|
233
253
|
return (message) => {
|
|
234
254
|
console.debug(
|
|
235
255
|
`
|
|
236
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
256
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
257
|
+
_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.debug))
|
|
258
|
+
)(
|
|
259
|
+
`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
|
|
260
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
237
261
|
`
|
|
238
262
|
);
|
|
239
263
|
};
|
|
@@ -242,7 +266,9 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.debug, ()
|
|
|
242
266
|
return (message) => {
|
|
243
267
|
console.debug(
|
|
244
268
|
`
|
|
245
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
269
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
270
|
+
`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
|
|
271
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
246
272
|
`
|
|
247
273
|
);
|
|
248
274
|
};
|
|
@@ -250,7 +276,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogL
|
|
|
250
276
|
return (message) => {
|
|
251
277
|
console.log(
|
|
252
278
|
`
|
|
253
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
279
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
280
|
+
_nullishCoalesce(colors.brand, () => ( DEFAULT_COLOR_CONFIG.dark.brand))
|
|
281
|
+
)(
|
|
282
|
+
`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
|
|
283
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
254
284
|
`
|
|
255
285
|
);
|
|
256
286
|
};
|
|
@@ -274,7 +304,7 @@ var getStopwatch = (name) => {
|
|
|
274
304
|
);
|
|
275
305
|
};
|
|
276
306
|
};
|
|
277
|
-
var MAX_DEPTH =
|
|
307
|
+
var MAX_DEPTH = 6;
|
|
278
308
|
var formatLogMessage = (message, options = {}, depth2 = 0) => {
|
|
279
309
|
if (depth2 > MAX_DEPTH) {
|
|
280
310
|
return "<max depth>";
|
|
@@ -8,7 +8,7 @@ var _chunkKBSSJUPWjs = require('./chunk-KBSSJUPW.js');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk6EZ7L5LJjs = require('./chunk-6EZ7L5LJ.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 = _chunk6EZ7L5LJjs.findWorkspaceRoot.call(void 0, );
|
|
46
|
+
const config = await _chunk6EZ7L5LJjs.getConfig.call(void 0, workspaceRoot);
|
|
47
47
|
Object.keys(projectJson).forEach((key) => {
|
|
48
48
|
if (!project[key]) {
|
|
49
49
|
project[key] = projectJson[key];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyWorkspaceBaseTokens,
|
|
3
3
|
applyWorkspaceTokens
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GQHL2X2U.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-TEPKZKZN.mjs";
|
|
16
16
|
|
|
17
17
|
// ../workspace-tools/src/base/base-generator.ts
|
|
18
18
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
@@ -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 _chunkPOMLH52Hjs = require('./chunk-POMLH52H.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk6EZ7L5LJjs = require('./chunk-6EZ7L5LJ.js');
|
|
7
7
|
|
|
8
8
|
// src/generators/helm-chart/generator.ts
|
|
9
9
|
|
|
@@ -14,7 +14,7 @@ var _chunkL66OCYONjs = require('./chunk-L66OCYON.js');
|
|
|
14
14
|
var _devkit = require('@nx/devkit');
|
|
15
15
|
var _path = require('path');
|
|
16
16
|
async function helmChartGeneratorFn(tree, options, config) {
|
|
17
|
-
|
|
17
|
+
_chunk6EZ7L5LJjs.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 = _chunkPOMLH52Hjs.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 _chunk6EZ7L5LJjs = require('./chunk-6EZ7L5LJ.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]))), () => ( _chunk6EZ7L5LJjs.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 _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 _chunkJWWVDXXAjs = require('./chunk-JWWVDXXA.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -12,51 +12,51 @@ var _chunkQJAODRM3js = require('./chunk-QJAODRM3.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk6EZ7L5LJjs = require('./chunk-6EZ7L5LJ.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 = _chunk6EZ7L5LJjs.getStopwatch.call(void 0, name);
|
|
22
22
|
let options = _options;
|
|
23
23
|
let config;
|
|
24
24
|
try {
|
|
25
|
-
|
|
25
|
+
_chunk6EZ7L5LJjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
|
|
26
26
|
|
|
27
27
|
`, config);
|
|
28
|
-
const workspaceRoot =
|
|
28
|
+
const workspaceRoot = _chunk6EZ7L5LJjs.findWorkspaceRoot.call(void 0, );
|
|
29
29
|
if (!generatorOptions.skipReadingConfig) {
|
|
30
|
-
|
|
30
|
+
_chunk6EZ7L5LJjs.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 _chunk6EZ7L5LJjs.getConfig.call(void 0, workspaceRoot);
|
|
36
36
|
}
|
|
37
37
|
if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
|
|
38
|
-
|
|
38
|
+
_chunk6EZ7L5LJjs.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
|
+
_chunk6EZ7L5LJjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
_chunk6EZ7L5LJjs.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 _chunkJWWVDXXAjs.applyWorkspaceTokens.call(void 0,
|
|
50
50
|
options,
|
|
51
51
|
{ workspaceRoot: tree.root, config },
|
|
52
|
-
|
|
52
|
+
_chunkJWWVDXXAjs.applyWorkspaceBaseTokens
|
|
53
53
|
);
|
|
54
54
|
if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
|
|
55
|
-
|
|
55
|
+
_chunk6EZ7L5LJjs.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
|
+
_chunk6EZ7L5LJjs.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
|
+
_chunk6EZ7L5LJjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
75
75
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
76
|
-
|
|
76
|
+
_chunk6EZ7L5LJjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
77
77
|
}
|
|
78
78
|
return () => {
|
|
79
|
-
|
|
79
|
+
_chunk6EZ7L5LJjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
|
|
80
80
|
`, config);
|
|
81
81
|
};
|
|
82
82
|
} catch (error) {
|
|
83
83
|
return () => {
|
|
84
|
-
|
|
84
|
+
_chunk6EZ7L5LJjs.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
|
+
_chunk6EZ7L5LJjs.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,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 _chunkPOMLH52Hjs = require('./chunk-POMLH52H.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk6EZ7L5LJjs = require('./chunk-6EZ7L5LJ.js');
|
|
7
7
|
|
|
8
8
|
// src/generators/helm-dependency/generator.ts
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ var _chunkL66OCYONjs = require('./chunk-L66OCYON.js');
|
|
|
13
13
|
var _devkit = require('@nx/devkit');
|
|
14
14
|
var _yaml = require('yaml');
|
|
15
15
|
async function helmDependencyGeneratorFn(tree, options, config) {
|
|
16
|
-
|
|
16
|
+
_chunk6EZ7L5LJjs.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 = _chunkPOMLH52Hjs.withRunGenerator.call(void 0,
|
|
43
43
|
"Helm Dependency",
|
|
44
44
|
helmDependencyGeneratorFn
|
|
45
45
|
);
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
var _chunkKBSSJUPWjs = require('./chunk-KBSSJUPW.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkJWWVDXXAjs = require('./chunk-JWWVDXXA.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk6EZ7L5LJjs = require('./chunk-6EZ7L5LJ.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, () => ( _chunk6EZ7L5LJjs.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 = _chunk6EZ7L5LJjs.findWorkspaceRoot.call(void 0, );
|
|
84
|
+
const config = await _chunk6EZ7L5LJjs.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 _chunkJWWVDXXAjs.applyWorkspaceTokens.call(void 0,
|
|
96
96
|
options,
|
|
97
97
|
{
|
|
98
98
|
config,
|
|
@@ -111,9 +111,9 @@ function isUnicodeSupported() {
|
|
|
111
111
|
var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
|
|
112
112
|
var CONSOLE_ICONS = {
|
|
113
113
|
[LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
|
|
114
|
-
[LogLevelLabel.FATAL]: useIcon("\
|
|
114
|
+
[LogLevelLabel.FATAL]: useIcon("\u{1F571}", "\xD7"),
|
|
115
115
|
[LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
|
|
116
|
-
[LogLevelLabel.INFO]: useIcon("\
|
|
116
|
+
[LogLevelLabel.INFO]: useIcon("\u2139", "i"),
|
|
117
117
|
[LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
|
|
118
118
|
[LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
|
|
119
119
|
[LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
|
|
@@ -188,7 +188,11 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
|
188
188
|
return (message) => {
|
|
189
189
|
console.error(
|
|
190
190
|
`
|
|
191
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
191
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
192
|
+
colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
|
|
193
|
+
)(
|
|
194
|
+
`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
|
|
195
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
192
196
|
`
|
|
193
197
|
);
|
|
194
198
|
};
|
|
@@ -197,7 +201,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CON
|
|
|
197
201
|
return (message) => {
|
|
198
202
|
console.error(
|
|
199
203
|
`
|
|
200
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
204
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
205
|
+
colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
|
|
206
|
+
)(
|
|
207
|
+
`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
|
|
208
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
201
209
|
`
|
|
202
210
|
);
|
|
203
211
|
};
|
|
@@ -206,7 +214,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CO
|
|
|
206
214
|
return (message) => {
|
|
207
215
|
console.warn(
|
|
208
216
|
`
|
|
209
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
217
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
218
|
+
colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
|
|
219
|
+
)(
|
|
220
|
+
`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
|
|
221
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
210
222
|
`
|
|
211
223
|
);
|
|
212
224
|
};
|
|
@@ -215,7 +227,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? DEFAULT_COLOR_C
|
|
|
215
227
|
return (message) => {
|
|
216
228
|
console.info(
|
|
217
229
|
`
|
|
218
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
230
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
231
|
+
colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
|
|
232
|
+
)(
|
|
233
|
+
`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
|
|
234
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
219
235
|
`
|
|
220
236
|
);
|
|
221
237
|
};
|
|
@@ -224,7 +240,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? DEFAULT_COLOR_C
|
|
|
224
240
|
return (message) => {
|
|
225
241
|
console.info(
|
|
226
242
|
`
|
|
227
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
243
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
244
|
+
colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
|
|
245
|
+
)(
|
|
246
|
+
`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
|
|
247
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
228
248
|
`
|
|
229
249
|
);
|
|
230
250
|
};
|
|
@@ -233,7 +253,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
233
253
|
return (message) => {
|
|
234
254
|
console.debug(
|
|
235
255
|
`
|
|
236
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
256
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
257
|
+
colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
|
|
258
|
+
)(
|
|
259
|
+
`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
|
|
260
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
237
261
|
`
|
|
238
262
|
);
|
|
239
263
|
};
|
|
@@ -242,7 +266,9 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CON
|
|
|
242
266
|
return (message) => {
|
|
243
267
|
console.debug(
|
|
244
268
|
`
|
|
245
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
269
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
270
|
+
`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
|
|
271
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
246
272
|
`
|
|
247
273
|
);
|
|
248
274
|
};
|
|
@@ -250,7 +276,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogL
|
|
|
250
276
|
return (message) => {
|
|
251
277
|
console.log(
|
|
252
278
|
`
|
|
253
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
279
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
280
|
+
colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
|
|
281
|
+
)(
|
|
282
|
+
`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
|
|
283
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
254
284
|
`
|
|
255
285
|
);
|
|
256
286
|
};
|
|
@@ -274,7 +304,7 @@ var getStopwatch = (name) => {
|
|
|
274
304
|
);
|
|
275
305
|
};
|
|
276
306
|
};
|
|
277
|
-
var MAX_DEPTH =
|
|
307
|
+
var MAX_DEPTH = 6;
|
|
278
308
|
var formatLogMessage = (message, options = {}, depth2 = 0) => {
|
|
279
309
|
if (depth2 > MAX_DEPTH) {
|
|
280
310
|
return "<max depth>";
|
|
@@ -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 _chunkJWWVDXXAjs = require('./chunk-JWWVDXXA.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ var _chunkQJAODRM3js = require('./chunk-QJAODRM3.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk6EZ7L5LJjs = require('./chunk-6EZ7L5LJ.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 = _chunk6EZ7L5LJjs.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 = _chunk6EZ7L5LJjs.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
|
+
_chunk6EZ7L5LJjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
|
|
40
40
|
if (!executorOptions.skipReadingConfig) {
|
|
41
|
-
|
|
41
|
+
_chunk6EZ7L5LJjs.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 _chunk6EZ7L5LJjs.getConfig.call(void 0, workspaceRoot);
|
|
51
51
|
}
|
|
52
52
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
53
|
-
|
|
53
|
+
_chunk6EZ7L5LJjs.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
|
+
_chunk6EZ7L5LJjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
_chunk6EZ7L5LJjs.writeTrace.call(void 0,
|
|
60
60
|
`Executor schema options \u2699\uFE0F
|
|
61
|
-
${
|
|
61
|
+
${_chunk6EZ7L5LJjs.formatLogMessage.call(void 0, options)}
|
|
62
62
|
`,
|
|
63
63
|
config
|
|
64
64
|
);
|
|
65
|
-
const tokenized = await
|
|
65
|
+
const tokenized = await _chunkJWWVDXXAjs.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
|
+
_chunkJWWVDXXAjs.applyWorkspaceProjectTokens
|
|
73
73
|
);
|
|
74
|
-
|
|
74
|
+
_chunk6EZ7L5LJjs.writeTrace.call(void 0,
|
|
75
75
|
`Executor schema tokenized options \u2699\uFE0F
|
|
76
|
-
${
|
|
76
|
+
${_chunk6EZ7L5LJjs.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
|
+
_chunk6EZ7L5LJjs.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
|
+
_chunk6EZ7L5LJjs.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 @@ ${_chunkL66OCYONjs.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
|
+
${_chunk6EZ7L5LJjs.formatLogMessage.call(void 0,
|
|
101
101
|
result
|
|
102
102
|
)}`,
|
|
103
103
|
{
|
|
@@ -106,21 +106,21 @@ ${_chunkL66OCYONjs.formatLogMessage.call(void 0,
|
|
|
106
106
|
);
|
|
107
107
|
}
|
|
108
108
|
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
|
|
109
|
-
|
|
109
|
+
_chunk6EZ7L5LJjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
110
110
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
111
|
-
|
|
111
|
+
_chunk6EZ7L5LJjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
_chunk6EZ7L5LJjs.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
|
+
_chunk6EZ7L5LJjs.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
|
+
_chunk6EZ7L5LJjs.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
|
+
_chunk6EZ7L5LJjs.writeWarning.call(void 0, `Chart packaged at: ${chartPath}`, config);
|
|
176
176
|
}
|
|
177
177
|
return {
|
|
178
178
|
success: true
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-WS2G4IWW.mjs";
|
|
4
4
|
import {
|
|
5
5
|
applyWorkspaceTokens
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GQHL2X2U.mjs";
|
|
7
7
|
import {
|
|
8
8
|
findWorkspaceRoot,
|
|
9
9
|
getConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TEPKZKZN.mjs";
|
|
11
11
|
|
|
12
12
|
// src/executors/container-publish/executor.ts
|
|
13
13
|
import {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyWorkspaceProjectTokens,
|
|
3
3
|
applyWorkspaceTokens
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GQHL2X2U.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-TEPKZKZN.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 _chunkR7SGBN76js = require('./chunk-R7SGBN76.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkVOCKSQJVjs = require('./chunk-VOCKSQJV.js');
|
|
8
8
|
require('./chunk-KBSSJUPW.js');
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-JWWVDXXA.js');
|
|
10
|
+
require('./chunk-6EZ7L5LJ.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 = _chunkR7SGBN76js.getRegistryVersion; exports.serveExecutor = _chunkVOCKSQJVjs.serveExecutor;
|
package/dist/executors.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
2
|
import {
|
|
3
3
|
getRegistryVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WOUPAI3R.mjs";
|
|
5
5
|
import {
|
|
6
6
|
serveExecutor
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y3TX76XG.mjs";
|
|
8
8
|
import "./chunk-WS2G4IWW.mjs";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-GQHL2X2U.mjs";
|
|
10
|
+
import "./chunk-TEPKZKZN.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 _chunkHYI5ZGH3js = require('./chunk-HYI5ZGH3.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
7
|
+
var _chunkR5XTR64Yjs = require('./chunk-R5XTR64Y.js');
|
|
8
|
+
require('./chunk-POMLH52H.js');
|
|
9
|
+
require('./chunk-JWWVDXXA.js');
|
|
10
|
+
require('./chunk-6EZ7L5LJ.js');
|
|
11
11
|
require('./chunk-RECJ3G6F.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.helmChartGeneratorFn =
|
|
15
|
+
exports.helmChartGeneratorFn = _chunkHYI5ZGH3js.helmChartGeneratorFn; exports.helmDependencyGeneratorFn = _chunkR5XTR64Yjs.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-THSQOTVY.mjs";
|
|
5
5
|
import {
|
|
6
6
|
helmDependencyGeneratorFn
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-JEJFWZGL.mjs";
|
|
8
|
+
import "./chunk-AVT6D33I.mjs";
|
|
9
|
+
import "./chunk-GQHL2X2U.mjs";
|
|
10
|
+
import "./chunk-TEPKZKZN.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 _chunk6U6QCDDIjs = require('./chunk-6U6QCDDI.js');
|
|
6
6
|
require('./chunk-XO66D74Z.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkR7SGBN76js = require('./chunk-R7SGBN76.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkVOCKSQJVjs = require('./chunk-VOCKSQJV.js');
|
|
13
13
|
require('./chunk-KBSSJUPW.js');
|
|
14
14
|
require('./chunk-DHBG5ASJ.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkHYI5ZGH3js = require('./chunk-HYI5ZGH3.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
require('./chunk-
|
|
22
|
-
require('./chunk-
|
|
23
|
-
require('./chunk-
|
|
20
|
+
var _chunkR5XTR64Yjs = require('./chunk-R5XTR64Y.js');
|
|
21
|
+
require('./chunk-POMLH52H.js');
|
|
22
|
+
require('./chunk-JWWVDXXA.js');
|
|
23
|
+
require('./chunk-6EZ7L5LJ.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 = _chunk6U6QCDDIjs.createNodesV2; exports.description = _chunk6U6QCDDIjs.description; exports.ensureInitialized = _chunkXKOZIQT3js.ensureInitialized; exports.getRegistryVersion = _chunkR7SGBN76js.getRegistryVersion; exports.helmChartGeneratorFn = _chunkHYI5ZGH3js.helmChartGeneratorFn; exports.helmDependencyGeneratorFn = _chunkR5XTR64Yjs.helmDependencyGeneratorFn; exports.name = _chunk6U6QCDDIjs.name; exports.resolveUserExistingPrettierConfig = _chunk7QVOU2PTjs.resolveUserExistingPrettierConfig; exports.serveExecutor = _chunkVOCKSQJVjs.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-WUI64UM3.mjs";
|
|
6
6
|
import "./chunk-YSCEY447.mjs";
|
|
7
7
|
import {
|
|
8
8
|
getRegistryVersion
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WOUPAI3R.mjs";
|
|
10
10
|
import {
|
|
11
11
|
serveExecutor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Y3TX76XG.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-THSQOTVY.mjs";
|
|
18
18
|
import {
|
|
19
19
|
helmDependencyGeneratorFn
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-JEJFWZGL.mjs";
|
|
21
|
+
import "./chunk-AVT6D33I.mjs";
|
|
22
|
+
import "./chunk-GQHL2X2U.mjs";
|
|
23
|
+
import "./chunk-TEPKZKZN.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 _chunkR7SGBN76js = require('../../../chunk-R7SGBN76.js');
|
|
5
5
|
require('../../../chunk-KBSSJUPW.js');
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-JWWVDXXA.js');
|
|
7
|
+
require('../../../chunk-6EZ7L5LJ.js');
|
|
8
8
|
require('../../../chunk-RECJ3G6F.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.default =
|
|
12
|
+
exports.default = _chunkR7SGBN76js.publishExecutor; exports.getRegistryVersion = _chunkR7SGBN76js.getRegistryVersion;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRegistryVersion,
|
|
3
3
|
publishExecutor
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-WOUPAI3R.mjs";
|
|
5
5
|
import "../../../chunk-WS2G4IWW.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-GQHL2X2U.mjs";
|
|
7
|
+
import "../../../chunk-TEPKZKZN.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 _chunkVOCKSQJVjs = require('../../../chunk-VOCKSQJV.js');
|
|
5
|
+
require('../../../chunk-JWWVDXXA.js');
|
|
6
|
+
require('../../../chunk-6EZ7L5LJ.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 = _chunkVOCKSQJVjs.executor_default; exports.serveExecutor = _chunkVOCKSQJVjs.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-Y3TX76XG.mjs";
|
|
5
|
+
import "../../../chunk-GQHL2X2U.mjs";
|
|
6
|
+
import "../../../chunk-TEPKZKZN.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 _chunkHYI5ZGH3js = require('../../../chunk-HYI5ZGH3.js');
|
|
5
|
+
require('../../../chunk-POMLH52H.js');
|
|
6
|
+
require('../../../chunk-JWWVDXXA.js');
|
|
7
|
+
require('../../../chunk-6EZ7L5LJ.js');
|
|
8
8
|
require('../../../chunk-RECJ3G6F.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.default =
|
|
12
|
+
exports.default = _chunkHYI5ZGH3js.generator_default; exports.helmChartGeneratorFn = _chunkHYI5ZGH3js.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-THSQOTVY.mjs";
|
|
5
|
+
import "../../../chunk-AVT6D33I.mjs";
|
|
6
|
+
import "../../../chunk-GQHL2X2U.mjs";
|
|
7
|
+
import "../../../chunk-TEPKZKZN.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 _chunkR5XTR64Yjs = require('../../../chunk-R5XTR64Y.js');
|
|
5
|
+
require('../../../chunk-POMLH52H.js');
|
|
6
|
+
require('../../../chunk-JWWVDXXA.js');
|
|
7
|
+
require('../../../chunk-6EZ7L5LJ.js');
|
|
8
8
|
require('../../../chunk-RECJ3G6F.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.default =
|
|
12
|
+
exports.default = _chunkR5XTR64Yjs.generator_default; exports.helmDependencyGeneratorFn = _chunkR5XTR64Yjs.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-JEJFWZGL.mjs";
|
|
5
|
+
import "../../../chunk-AVT6D33I.mjs";
|
|
6
|
+
import "../../../chunk-GQHL2X2U.mjs";
|
|
7
|
+
import "../../../chunk-TEPKZKZN.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 _chunk6U6QCDDIjs = require('../../../chunk-6U6QCDDI.js');
|
|
6
6
|
require('../../../chunk-KBSSJUPW.js');
|
|
7
|
-
require('../../../chunk-
|
|
7
|
+
require('../../../chunk-6EZ7L5LJ.js');
|
|
8
8
|
require('../../../chunk-RECJ3G6F.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.createNodesV2 =
|
|
13
|
+
exports.createNodesV2 = _chunk6U6QCDDIjs.createNodesV2; exports.description = _chunk6U6QCDDIjs.description; exports.name = _chunk6U6QCDDIjs.name;
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
createNodesV2,
|
|
3
3
|
description,
|
|
4
4
|
name
|
|
5
|
-
} from "../../../chunk-
|
|
5
|
+
} from "../../../chunk-WUI64UM3.mjs";
|
|
6
6
|
import "../../../chunk-WS2G4IWW.mjs";
|
|
7
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-TEPKZKZN.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.82",
|
|
4
4
|
"description": "Tools for managing Kubernetes (k8s) infrastructure within a Nx workspace.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -141,8 +141,8 @@
|
|
|
141
141
|
},
|
|
142
142
|
"dependencies": {
|
|
143
143
|
"@storm-software/config": "^1.135.0",
|
|
144
|
-
"@storm-software/config-tools": "^1.188.
|
|
145
|
-
"@storm-software/workspace-tools": "^1.294.
|
|
144
|
+
"@storm-software/config-tools": "^1.188.80",
|
|
145
|
+
"@storm-software/workspace-tools": "^1.294.26",
|
|
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": "f0da2445e3b4764750c75fdcd1d0ec13a10c6602"
|
|
164
164
|
}
|