@storm-software/k8s-tools 0.24.19 → 0.24.20
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 +6 -0
- package/README.md +1 -1
- package/dist/{chunk-PWKJRDCH.js → chunk-2C43HDIG.js} +25 -25
- package/dist/{chunk-7TA6J7QQ.js → chunk-3LDSSIYN.js} +41 -24
- package/dist/{chunk-OEJGOWJQ.js → chunk-5RAMGCAN.js} +6 -6
- package/dist/{chunk-BDOS45JX.mjs → chunk-7GT66TVR.mjs} +1 -1
- package/dist/{chunk-4OFIALUE.js → chunk-AT2U3AEC.js} +4 -4
- package/dist/{chunk-LVPECYEE.mjs → chunk-BC6ZCGP5.mjs} +2 -2
- package/dist/{chunk-T4EJFEH2.mjs → chunk-BMNL7V2X.mjs} +2 -2
- package/dist/{chunk-6BGIVOOB.js → chunk-CHM4YATC.js} +2 -2
- package/dist/{chunk-YTPPS4F6.mjs → chunk-IJTLD5NO.mjs} +1 -1
- package/dist/{chunk-BJY7KKSA.js → chunk-IK63SZPH.js} +3 -3
- package/dist/{chunk-LPWEVVQ3.mjs → chunk-J5BO7GPJ.mjs} +2 -2
- package/dist/{chunk-AAGAUBO2.mjs → chunk-KM4H3E6A.mjs} +41 -24
- package/dist/{chunk-M26TA6KY.mjs → chunk-KRKB2SNZ.mjs} +2 -2
- package/dist/{chunk-M5GQ34NS.js → chunk-QPLVLMOV.js} +19 -19
- package/dist/{chunk-44HYG5MT.mjs → chunk-RERIZQ7X.mjs} +2 -2
- package/dist/{chunk-RMEVS7VZ.js → chunk-WYOYGK3F.js} +4 -4
- package/dist/{executor-Bdz-Mv0J.d.mts → executor-CTUr2DgM.d.mts} +1 -1
- package/dist/{executor-C8P1WXgN.d.ts → executor-DLseHK-r.d.ts} +1 -1
- package/dist/executors.d.mts +2 -2
- package/dist/executors.d.ts +2 -2
- package/dist/executors.js +5 -5
- package/dist/executors.mjs +4 -4
- package/dist/{generator-8uXPNFWN.d.mts → generator-9X_TkrLo.d.mts} +1 -1
- package/dist/{generator-cmhbMmbg.d.mts → generator-DXlS5Rqg.d.mts} +1 -1
- package/dist/{generator-CYcHfQas.d.ts → generator-DeLkEJCT.d.ts} +1 -1
- package/dist/{generator-BmLTcTjN.d.ts → generator-wcSR1cxi.d.ts} +1 -1
- package/dist/generators.d.mts +3 -3
- package/dist/generators.d.ts +3 -3
- package/dist/generators.js +6 -6
- package/dist/generators.mjs +5 -5
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +9 -9
- package/dist/index.mjs +8 -8
- package/dist/src/executors/container-publish/executor.d.mts +1 -1
- package/dist/src/executors/container-publish/executor.d.ts +1 -1
- 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.d.mts +2 -2
- package/dist/src/executors/helm-package/executor.d.ts +2 -2
- 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.d.mts +2 -2
- package/dist/src/generators/helm-chart/generator.d.ts +2 -2
- 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.d.mts +2 -2
- package/dist/src/generators/helm-dependency/generator.d.ts +2 -2
- 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/dist/{types-CMF_wowV.d.mts → types-HiZpltUX.d.mts} +3 -0
- package/dist/{types-CMF_wowV.d.ts → types-HiZpltUX.d.ts} +3 -0
- package/package.json +1 -1
|
@@ -134,14 +134,17 @@ import { existsSync } from "node:fs";
|
|
|
134
134
|
import { join } from "node:path";
|
|
135
135
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
136
136
|
var depth = 0;
|
|
137
|
-
function findFolderUp(startPath, endFileNames) {
|
|
137
|
+
function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
|
|
138
138
|
const _startPath = startPath ?? process.cwd();
|
|
139
|
+
if (endDirectoryNames.some((endDirName) => existsSync(join(_startPath, endDirName)))) {
|
|
140
|
+
return _startPath;
|
|
141
|
+
}
|
|
139
142
|
if (endFileNames.some((endFileName) => existsSync(join(_startPath, endFileName)))) {
|
|
140
143
|
return _startPath;
|
|
141
144
|
}
|
|
142
145
|
if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
|
|
143
146
|
const parent = join(_startPath, "..");
|
|
144
|
-
return findFolderUp(parent, endFileNames);
|
|
147
|
+
return findFolderUp(parent, endFileNames, endDirectoryNames);
|
|
145
148
|
}
|
|
146
149
|
return void 0;
|
|
147
150
|
}
|
|
@@ -149,17 +152,17 @@ __name(findFolderUp, "findFolderUp");
|
|
|
149
152
|
|
|
150
153
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
151
154
|
var rootFiles = [
|
|
152
|
-
"storm.json",
|
|
153
|
-
"storm.json",
|
|
154
|
-
"storm.yaml",
|
|
155
|
-
"storm.yml",
|
|
156
|
-
"storm.js",
|
|
157
|
-
"storm.ts",
|
|
158
|
-
".storm.json",
|
|
159
|
-
".storm.yaml",
|
|
160
|
-
".storm.yml",
|
|
161
|
-
".storm.js",
|
|
162
|
-
".storm.ts",
|
|
155
|
+
"storm-workspace.json",
|
|
156
|
+
"storm-workspace.json",
|
|
157
|
+
"storm-workspace.yaml",
|
|
158
|
+
"storm-workspace.yml",
|
|
159
|
+
"storm-workspace.js",
|
|
160
|
+
"storm-workspace.ts",
|
|
161
|
+
".storm-workspace.json",
|
|
162
|
+
".storm-workspace.yaml",
|
|
163
|
+
".storm-workspace.yml",
|
|
164
|
+
".storm-workspace.js",
|
|
165
|
+
".storm-workspace.ts",
|
|
163
166
|
"lerna.json",
|
|
164
167
|
"nx.json",
|
|
165
168
|
"turbo.json",
|
|
@@ -183,11 +186,18 @@ var rootFiles = [
|
|
|
183
186
|
"pnpm-lock.yml",
|
|
184
187
|
"bun.lockb"
|
|
185
188
|
];
|
|
189
|
+
var rootDirectories = [
|
|
190
|
+
".storm-workspace",
|
|
191
|
+
".nx",
|
|
192
|
+
".github",
|
|
193
|
+
".vscode",
|
|
194
|
+
".verdaccio"
|
|
195
|
+
];
|
|
186
196
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
187
197
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
188
198
|
return correctPaths(process.env.STORM_WORKSPACE_ROOT ?? process.env.NX_WORKSPACE_ROOT_PATH);
|
|
189
199
|
}
|
|
190
|
-
return correctPaths(findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles));
|
|
200
|
+
return correctPaths(findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles, rootDirectories));
|
|
191
201
|
}
|
|
192
202
|
__name(findWorkspaceRootSafe, "findWorkspaceRootSafe");
|
|
193
203
|
function findWorkspaceRoot(pathInsideMonorepo) {
|
|
@@ -329,7 +339,7 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
329
339
|
build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
|
|
330
340
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
331
341
|
var StormConfigSchema = z.object({
|
|
332
|
-
$schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
342
|
+
$schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
333
343
|
extends: ExtendsSchema.optional(),
|
|
334
344
|
name: z.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
|
|
335
345
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
@@ -371,6 +381,7 @@ var StormConfigSchema = z.object({
|
|
|
371
381
|
"trace",
|
|
372
382
|
"all"
|
|
373
383
|
]).default("info").describe("The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."),
|
|
384
|
+
skipConfigLogging: z.boolean().optional().describe("Should the logging of the current Storm Workspace configuration be skipped?"),
|
|
374
385
|
registry: RegistryConfigSchema,
|
|
375
386
|
configFile: z.string().trim().nullable().default(null).describe("The filepath of the Storm config. When this field is null, no config file was found in the current workspace."),
|
|
376
387
|
colors: ColorConfigSchema.or(ColorConfigMapSchema).describe("Storm theme config values used for styling various package elements"),
|
|
@@ -727,10 +738,10 @@ var getConfigFileByName = /* @__PURE__ */ __name(async (fileName, filePath, opti
|
|
|
727
738
|
}, "getConfigFileByName");
|
|
728
739
|
var getConfigFile = /* @__PURE__ */ __name(async (filePath, additionalFileNames = []) => {
|
|
729
740
|
const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
|
|
730
|
-
const result = await getConfigFileByName("storm", workspacePath);
|
|
741
|
+
const result = await getConfigFileByName("storm-workspace", workspacePath);
|
|
731
742
|
let config = result.config;
|
|
732
743
|
const configFile = result.configFile;
|
|
733
|
-
if (config && configFile && Object.keys(config).length > 0) {
|
|
744
|
+
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
734
745
|
writeTrace(`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
|
|
735
746
|
logLevel: "all"
|
|
736
747
|
});
|
|
@@ -739,9 +750,11 @@ var getConfigFile = /* @__PURE__ */ __name(async (filePath, additionalFileNames
|
|
|
739
750
|
const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
|
|
740
751
|
for (const result2 of results) {
|
|
741
752
|
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
753
|
+
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
754
|
+
writeTrace(`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
|
|
755
|
+
logLevel: "all"
|
|
756
|
+
});
|
|
757
|
+
}
|
|
745
758
|
config = defu(result2.config ?? {}, config ?? {});
|
|
746
759
|
}
|
|
747
760
|
}
|
|
@@ -814,7 +827,8 @@ var getConfigEnv = /* @__PURE__ */ __name(() => {
|
|
|
814
827
|
cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
|
|
815
828
|
container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
|
|
816
829
|
},
|
|
817
|
-
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? getLogLevelLabel(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
|
|
830
|
+
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? getLogLevelLabel(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
831
|
+
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
818
832
|
};
|
|
819
833
|
const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
|
|
820
834
|
config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
|
|
@@ -1049,6 +1063,9 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
|
|
|
1049
1063
|
process.env.NX_VERBOSE_LOGGING = String(getLogLevel(config.logLevel) >= LogLevel.DEBUG ? true : false);
|
|
1050
1064
|
process.env.RUST_BACKTRACE = getLogLevel(config.logLevel) >= LogLevel.DEBUG ? "full" : "none";
|
|
1051
1065
|
}
|
|
1066
|
+
if (config.skipConfigLogging !== void 0) {
|
|
1067
|
+
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(config.skipConfigLogging);
|
|
1068
|
+
}
|
|
1052
1069
|
process.env[`${prefix}CONFIG`] = JSON.stringify(config);
|
|
1053
1070
|
for (const key of Object.keys(config.extensions ?? {})) {
|
|
1054
1071
|
config.extensions[key] && Object.keys(config.extensions[key]) && setExtensionEnv(key, config.extensions[key]);
|
|
@@ -1166,7 +1183,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema, wor
|
|
|
1166
1183
|
const defaultConfig = await getDefaultConfig(_workspaceRoot);
|
|
1167
1184
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
1168
1185
|
if (!configFile && !skipLogs) {
|
|
1169
|
-
writeWarning("No Storm
|
|
1186
|
+
writeWarning("No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n", {
|
|
1170
1187
|
logLevel: "all"
|
|
1171
1188
|
});
|
|
1172
1189
|
}
|
|
@@ -1204,8 +1221,8 @@ var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
|
|
|
1204
1221
|
var loadStormConfig = /* @__PURE__ */ __name(async (workspaceRoot, skipLogs = false) => {
|
|
1205
1222
|
const config = await createStormConfig(void 0, void 0, workspaceRoot, skipLogs);
|
|
1206
1223
|
setConfigEnv(config);
|
|
1207
|
-
if (!skipLogs) {
|
|
1208
|
-
writeTrace(`\u2699\uFE0F Using Storm configuration:
|
|
1224
|
+
if (!skipLogs && !config.skipConfigLogging) {
|
|
1225
|
+
writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
|
|
1209
1226
|
${formatLogMessage(config)}`, config);
|
|
1210
1227
|
}
|
|
1211
1228
|
return config;
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-RVFKH45R.mjs";
|
|
4
4
|
import {
|
|
5
5
|
applyWorkspaceTokens
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7GT66TVR.mjs";
|
|
7
7
|
import {
|
|
8
8
|
findWorkspaceRoot,
|
|
9
9
|
getConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KM4H3E6A.mjs";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-XUV4U54K.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkCHM4YATCjs = require('./chunk-CHM4YATC.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -12,7 +12,7 @@ var _chunk6BGIVOOBjs = require('./chunk-6BGIVOOB.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk3LDSSIYNjs = require('./chunk-3LDSSIYN.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -21,34 +21,34 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
|
21
21
|
var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, generatorFn, generatorOptions = {
|
|
22
22
|
skipReadingConfig: false
|
|
23
23
|
}) => async (tree, _options) => {
|
|
24
|
-
const stopwatch =
|
|
24
|
+
const stopwatch = _chunk3LDSSIYNjs.getStopwatch.call(void 0, name);
|
|
25
25
|
let options = _options;
|
|
26
26
|
let config;
|
|
27
27
|
try {
|
|
28
|
-
|
|
28
|
+
_chunk3LDSSIYNjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
|
|
29
29
|
|
|
30
30
|
`, config);
|
|
31
|
-
const workspaceRoot =
|
|
31
|
+
const workspaceRoot = _chunk3LDSSIYNjs.findWorkspaceRoot.call(void 0, );
|
|
32
32
|
if (!generatorOptions.skipReadingConfig) {
|
|
33
|
-
|
|
33
|
+
_chunk3LDSSIYNjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
|
|
34
34
|
- workspaceRoot: ${workspaceRoot}`, config);
|
|
35
|
-
config = await
|
|
35
|
+
config = await _chunk3LDSSIYNjs.getConfig.call(void 0, workspaceRoot);
|
|
36
36
|
}
|
|
37
37
|
if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
|
|
38
|
-
|
|
38
|
+
_chunk3LDSSIYNjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
39
39
|
options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
|
|
40
|
-
|
|
40
|
+
_chunk3LDSSIYNjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
_chunk3LDSSIYNjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
|
|
43
43
|
${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
|
|
44
|
-
const tokenized = await
|
|
44
|
+
const tokenized = await _chunkCHM4YATCjs.applyWorkspaceTokens.call(void 0, options, {
|
|
45
45
|
workspaceRoot: tree.root,
|
|
46
46
|
config
|
|
47
|
-
},
|
|
47
|
+
}, _chunkCHM4YATCjs.applyWorkspaceBaseTokens);
|
|
48
48
|
if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
|
|
49
|
-
|
|
49
|
+
_chunk3LDSSIYNjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
50
50
|
await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
|
|
51
|
-
|
|
51
|
+
_chunk3LDSSIYNjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
52
52
|
}
|
|
53
53
|
const result = await Promise.resolve(generatorFn(tree, tokenized, config));
|
|
54
54
|
if (result) {
|
|
@@ -61,18 +61,18 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
|
|
64
|
-
|
|
64
|
+
_chunk3LDSSIYNjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
65
65
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
66
|
-
|
|
66
|
+
_chunk3LDSSIYNjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
67
67
|
}
|
|
68
68
|
return () => {
|
|
69
|
-
|
|
69
|
+
_chunk3LDSSIYNjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
|
|
70
70
|
`, config);
|
|
71
71
|
};
|
|
72
72
|
} catch (error) {
|
|
73
73
|
return () => {
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
_chunk3LDSSIYNjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
|
|
75
|
+
_chunk3LDSSIYNjs.writeError.call(void 0, `An exception was thrown in the generator's process
|
|
76
76
|
- Details: ${error.message}
|
|
77
77
|
- Stacktrace: ${error.stack}`, config);
|
|
78
78
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkQPLVLMOVjs = require('./chunk-QPLVLMOV.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk3LDSSIYNjs = require('./chunk-3LDSSIYN.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -12,7 +12,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
|
12
12
|
var _devkit = require('@nx/devkit');
|
|
13
13
|
var _jsyaml = require('js-yaml'); var _jsyaml2 = _interopRequireDefault(_jsyaml);
|
|
14
14
|
async function helmDependencyGeneratorFn(tree, options, config) {
|
|
15
|
-
|
|
15
|
+
_chunk3LDSSIYNjs.writeDebug.call(void 0, "\u{1F4DD} Preparing to add Helm Dependency", config);
|
|
16
16
|
const project = _devkit.readProjectConfiguration.call(void 0, tree, options.project);
|
|
17
17
|
if (!_optionalChain([project, 'access', _ => _.targets, 'optionalAccess', _2 => _2["helm-package"]])) {
|
|
18
18
|
throw new Error(`Project ${options.project} does not have a helm target. Please run the chart generator first.`);
|
|
@@ -27,7 +27,7 @@ async function helmDependencyGeneratorFn(tree, options, config) {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
_chunk3GQAWCBQjs.__name.call(void 0, helmDependencyGeneratorFn, "helmDependencyGeneratorFn");
|
|
30
|
-
var generator_default =
|
|
30
|
+
var generator_default = _chunkQPLVLMOVjs.withRunGenerator.call(void 0, "Helm Dependency", helmDependencyGeneratorFn);
|
|
31
31
|
function addDependencyToConfig(project, name, url) {
|
|
32
32
|
return {
|
|
33
33
|
...project,
|
package/dist/executors.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { getRegistryVersion } from './src/executors/container-publish/executor.mjs';
|
|
2
2
|
export { C as ContainerPublishExecutorSchema } from './schema.d-Cx_3iG9A.mjs';
|
|
3
|
-
export { H as HelmPackageExecutorSchema, s as serveExecutor } from './executor-
|
|
3
|
+
export { H as HelmPackageExecutorSchema, s as serveExecutor } from './executor-CTUr2DgM.mjs';
|
|
4
4
|
import '@nx/devkit';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-HiZpltUX.mjs';
|
|
6
6
|
import 'zod';
|
package/dist/executors.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { getRegistryVersion } from './src/executors/container-publish/executor.js';
|
|
2
2
|
export { C as ContainerPublishExecutorSchema } from './schema.d-Cx_3iG9A.js';
|
|
3
|
-
export { H as HelmPackageExecutorSchema, s as serveExecutor } from './executor-
|
|
3
|
+
export { H as HelmPackageExecutorSchema, s as serveExecutor } from './executor-DLseHK-r.js';
|
|
4
4
|
import '@nx/devkit';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-HiZpltUX.js';
|
|
6
6
|
import 'zod';
|
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 _chunk5RAMGCANjs = require('./chunk-5RAMGCAN.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk2C43HDIGjs = require('./chunk-2C43HDIG.js');
|
|
8
8
|
require('./chunk-IOT45LXV.js');
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-CHM4YATC.js');
|
|
10
|
+
require('./chunk-3LDSSIYN.js');
|
|
11
11
|
require('./chunk-2GAU2GHG.js');
|
|
12
12
|
require('./chunk-LFNGKV6F.js');
|
|
13
13
|
require('./chunk-EAQFLLRB.js');
|
|
@@ -15,4 +15,4 @@ require('./chunk-3GQAWCBQ.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.getRegistryVersion =
|
|
18
|
+
exports.getRegistryVersion = _chunk5RAMGCANjs.getRegistryVersion; exports.serveExecutor = _chunk2C43HDIGjs.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-KRKB2SNZ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
serveExecutor
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-J5BO7GPJ.mjs";
|
|
8
8
|
import "./chunk-RVFKH45R.mjs";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-7GT66TVR.mjs";
|
|
10
|
+
import "./chunk-KM4H3E6A.mjs";
|
|
11
11
|
import "./chunk-6V45YKVB.mjs";
|
|
12
12
|
import "./chunk-UDLI3L7V.mjs";
|
|
13
13
|
import "./chunk-OA63SGD6.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B as BaseGeneratorSchema, a as BaseGeneratorResult } from './types-BCBFBwnJ.mjs';
|
|
2
2
|
import * as _nx_devkit from '@nx/devkit';
|
|
3
3
|
import { Tree } from '@nx/devkit';
|
|
4
|
-
import { S as StormConfig } from './types-
|
|
4
|
+
import { S as StormConfig } from './types-HiZpltUX.mjs';
|
|
5
5
|
|
|
6
6
|
interface HelmDependencyGeneratorSchema extends BaseGeneratorSchema {
|
|
7
7
|
/** Project name */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B as BaseGeneratorSchema, a as BaseGeneratorResult } from './types-BCBFBwnJ.mjs';
|
|
2
2
|
import * as _nx_devkit from '@nx/devkit';
|
|
3
3
|
import { Tree } from '@nx/devkit';
|
|
4
|
-
import { S as StormConfig } from './types-
|
|
4
|
+
import { S as StormConfig } from './types-HiZpltUX.mjs';
|
|
5
5
|
|
|
6
6
|
interface HelmChartGeneratorSchema extends BaseGeneratorSchema {
|
|
7
7
|
/** Name of the chart */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B as BaseGeneratorSchema, a as BaseGeneratorResult } from './types-BCBFBwnJ.js';
|
|
2
2
|
import * as _nx_devkit from '@nx/devkit';
|
|
3
3
|
import { Tree } from '@nx/devkit';
|
|
4
|
-
import { S as StormConfig } from './types-
|
|
4
|
+
import { S as StormConfig } from './types-HiZpltUX.js';
|
|
5
5
|
|
|
6
6
|
interface HelmChartGeneratorSchema extends BaseGeneratorSchema {
|
|
7
7
|
/** Name of the chart */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B as BaseGeneratorSchema, a as BaseGeneratorResult } from './types-BCBFBwnJ.js';
|
|
2
2
|
import * as _nx_devkit from '@nx/devkit';
|
|
3
3
|
import { Tree } from '@nx/devkit';
|
|
4
|
-
import { S as StormConfig } from './types-
|
|
4
|
+
import { S as StormConfig } from './types-HiZpltUX.js';
|
|
5
5
|
|
|
6
6
|
interface HelmDependencyGeneratorSchema extends BaseGeneratorSchema {
|
|
7
7
|
/** Project name */
|
package/dist/generators.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { H as HelmChartGeneratorSchema, h as helmChartGeneratorFn } from './generator-
|
|
2
|
-
export { H as HelmDependencyGeneratorSchema, h as helmDependencyGeneratorFn } from './generator-
|
|
1
|
+
export { H as HelmChartGeneratorSchema, h as helmChartGeneratorFn } from './generator-DXlS5Rqg.mjs';
|
|
2
|
+
export { H as HelmDependencyGeneratorSchema, h as helmDependencyGeneratorFn } from './generator-9X_TkrLo.mjs';
|
|
3
3
|
import './types-BCBFBwnJ.mjs';
|
|
4
4
|
import '@nx/devkit';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-HiZpltUX.mjs';
|
|
6
6
|
import 'zod';
|
package/dist/generators.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { H as HelmChartGeneratorSchema, h as helmChartGeneratorFn } from './generator-
|
|
2
|
-
export { H as HelmDependencyGeneratorSchema, h as helmDependencyGeneratorFn } from './generator-
|
|
1
|
+
export { H as HelmChartGeneratorSchema, h as helmChartGeneratorFn } from './generator-DeLkEJCT.js';
|
|
2
|
+
export { H as HelmDependencyGeneratorSchema, h as helmDependencyGeneratorFn } from './generator-wcSR1cxi.js';
|
|
3
3
|
import './types-BCBFBwnJ.js';
|
|
4
4
|
import '@nx/devkit';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-HiZpltUX.js';
|
|
6
6
|
import 'zod';
|
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 _chunkAT2U3AECjs = require('./chunk-AT2U3AEC.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
7
|
+
var _chunkWYOYGK3Fjs = require('./chunk-WYOYGK3F.js');
|
|
8
|
+
require('./chunk-QPLVLMOV.js');
|
|
9
|
+
require('./chunk-CHM4YATC.js');
|
|
10
|
+
require('./chunk-3LDSSIYN.js');
|
|
11
11
|
require('./chunk-3GQAWCBQ.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.helmChartGeneratorFn =
|
|
15
|
+
exports.helmChartGeneratorFn = _chunkAT2U3AECjs.helmChartGeneratorFn; exports.helmDependencyGeneratorFn = _chunkWYOYGK3Fjs.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-RERIZQ7X.mjs";
|
|
5
5
|
import {
|
|
6
6
|
helmDependencyGeneratorFn
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-BMNL7V2X.mjs";
|
|
8
|
+
import "./chunk-BC6ZCGP5.mjs";
|
|
9
|
+
import "./chunk-7GT66TVR.mjs";
|
|
10
|
+
import "./chunk-KM4H3E6A.mjs";
|
|
11
11
|
import "./chunk-XUV4U54K.mjs";
|
|
12
12
|
export {
|
|
13
13
|
helmChartGeneratorFn,
|
package/dist/index.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export { getRegistryVersion } from './src/executors/container-publish/executor.mjs';
|
|
2
2
|
export { C as ContainerPublishExecutorSchema } from './schema.d-Cx_3iG9A.mjs';
|
|
3
|
-
export { H as HelmPackageExecutorSchema, s as serveExecutor } from './executor-
|
|
4
|
-
export { H as HelmChartGeneratorSchema, h as helmChartGeneratorFn } from './generator-
|
|
5
|
-
export { H as HelmDependencyGeneratorSchema, h as helmDependencyGeneratorFn } from './generator-
|
|
3
|
+
export { H as HelmPackageExecutorSchema, s as serveExecutor } from './executor-CTUr2DgM.mjs';
|
|
4
|
+
export { H as HelmChartGeneratorSchema, h as helmChartGeneratorFn } from './generator-DXlS5Rqg.mjs';
|
|
5
|
+
export { H as HelmDependencyGeneratorSchema, h as helmDependencyGeneratorFn } from './generator-9X_TkrLo.mjs';
|
|
6
6
|
export { DockerFilePluginOptions, createDependencies, createNodes, description, name } from './src/plugins/docker/index.mjs';
|
|
7
7
|
export { AbstractHelmClient, Initializable, PackageOptions, PrettierConfig, PushOptions } from './src/types.mjs';
|
|
8
8
|
export { HelmClient, createHelmClient } from './src/utils/client.mjs';
|
|
9
9
|
export { ensureInitialized } from './src/utils/ensure-init.mjs';
|
|
10
10
|
export { addToPrettierIgnore, resolveUserExistingPrettierConfig } from './src/utils/prettier.mjs';
|
|
11
11
|
import '@nx/devkit';
|
|
12
|
-
import './types-
|
|
12
|
+
import './types-HiZpltUX.mjs';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import './types-BCBFBwnJ.mjs';
|
|
15
15
|
import 'prettier';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export { getRegistryVersion } from './src/executors/container-publish/executor.js';
|
|
2
2
|
export { C as ContainerPublishExecutorSchema } from './schema.d-Cx_3iG9A.js';
|
|
3
|
-
export { H as HelmPackageExecutorSchema, s as serveExecutor } from './executor-
|
|
4
|
-
export { H as HelmChartGeneratorSchema, h as helmChartGeneratorFn } from './generator-
|
|
5
|
-
export { H as HelmDependencyGeneratorSchema, h as helmDependencyGeneratorFn } from './generator-
|
|
3
|
+
export { H as HelmPackageExecutorSchema, s as serveExecutor } from './executor-DLseHK-r.js';
|
|
4
|
+
export { H as HelmChartGeneratorSchema, h as helmChartGeneratorFn } from './generator-DeLkEJCT.js';
|
|
5
|
+
export { H as HelmDependencyGeneratorSchema, h as helmDependencyGeneratorFn } from './generator-wcSR1cxi.js';
|
|
6
6
|
export { DockerFilePluginOptions, createDependencies, createNodes, description, name } from './src/plugins/docker/index.js';
|
|
7
7
|
export { AbstractHelmClient, Initializable, PackageOptions, PrettierConfig, PushOptions } from './src/types.js';
|
|
8
8
|
export { HelmClient, createHelmClient } from './src/utils/client.js';
|
|
9
9
|
export { ensureInitialized } from './src/utils/ensure-init.js';
|
|
10
10
|
export { addToPrettierIgnore, resolveUserExistingPrettierConfig } from './src/utils/prettier.js';
|
|
11
11
|
import '@nx/devkit';
|
|
12
|
-
import './types-
|
|
12
|
+
import './types-HiZpltUX.js';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import './types-BCBFBwnJ.js';
|
|
15
15
|
import 'prettier';
|
package/dist/index.js
CHANGED
|
@@ -3,25 +3,25 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkIK63SZPHjs = require('./chunk-IK63SZPH.js');
|
|
7
7
|
require('./chunk-XO66D74Z.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk5RAMGCANjs = require('./chunk-5RAMGCAN.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk2C43HDIGjs = require('./chunk-2C43HDIG.js');
|
|
14
14
|
require('./chunk-IOT45LXV.js');
|
|
15
15
|
require('./chunk-DHBG5ASJ.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkAT2U3AECjs = require('./chunk-AT2U3AEC.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
22
|
-
require('./chunk-
|
|
23
|
-
require('./chunk-
|
|
24
|
-
require('./chunk-
|
|
21
|
+
var _chunkWYOYGK3Fjs = require('./chunk-WYOYGK3F.js');
|
|
22
|
+
require('./chunk-QPLVLMOV.js');
|
|
23
|
+
require('./chunk-CHM4YATC.js');
|
|
24
|
+
require('./chunk-3LDSSIYN.js');
|
|
25
25
|
require('./chunk-U76ID4TS.js');
|
|
26
26
|
|
|
27
27
|
|
|
@@ -53,4 +53,4 @@ require('./chunk-3GQAWCBQ.js');
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
exports.AbstractHelmClient = _chunkLFNGKV6Fjs.AbstractHelmClient; exports.HelmClient = _chunk2GAU2GHGjs.HelmClient; exports.addToPrettierIgnore = _chunkT5WNZJODjs.addToPrettierIgnore; exports.createDependencies =
|
|
56
|
+
exports.AbstractHelmClient = _chunkLFNGKV6Fjs.AbstractHelmClient; exports.HelmClient = _chunk2GAU2GHGjs.HelmClient; exports.addToPrettierIgnore = _chunkT5WNZJODjs.addToPrettierIgnore; exports.createDependencies = _chunkIK63SZPHjs.createDependencies; exports.createHelmClient = _chunk2GAU2GHGjs.createHelmClient; exports.createNodes = _chunkIK63SZPHjs.createNodes; exports.description = _chunkIK63SZPHjs.description; exports.ensureInitialized = _chunkEAQFLLRBjs.ensureInitialized; exports.getRegistryVersion = _chunk5RAMGCANjs.getRegistryVersion; exports.helmChartGeneratorFn = _chunkAT2U3AECjs.helmChartGeneratorFn; exports.helmDependencyGeneratorFn = _chunkWYOYGK3Fjs.helmDependencyGeneratorFn; exports.name = _chunkIK63SZPHjs.name; exports.resolveUserExistingPrettierConfig = _chunkT5WNZJODjs.resolveUserExistingPrettierConfig; exports.serveExecutor = _chunk2C43HDIGjs.serveExecutor;
|
package/dist/index.mjs
CHANGED
|
@@ -3,25 +3,25 @@ import {
|
|
|
3
3
|
createNodes,
|
|
4
4
|
description,
|
|
5
5
|
name
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IJTLD5NO.mjs";
|
|
7
7
|
import "./chunk-YSCEY447.mjs";
|
|
8
8
|
import {
|
|
9
9
|
getRegistryVersion
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KRKB2SNZ.mjs";
|
|
11
11
|
import {
|
|
12
12
|
serveExecutor
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-J5BO7GPJ.mjs";
|
|
14
14
|
import "./chunk-RVFKH45R.mjs";
|
|
15
15
|
import "./chunk-3J7KBHMJ.mjs";
|
|
16
16
|
import {
|
|
17
17
|
helmChartGeneratorFn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RERIZQ7X.mjs";
|
|
19
19
|
import {
|
|
20
20
|
helmDependencyGeneratorFn
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-BMNL7V2X.mjs";
|
|
22
|
+
import "./chunk-BC6ZCGP5.mjs";
|
|
23
|
+
import "./chunk-7GT66TVR.mjs";
|
|
24
|
+
import "./chunk-KM4H3E6A.mjs";
|
|
25
25
|
import "./chunk-WWU25UQ4.mjs";
|
|
26
26
|
import {
|
|
27
27
|
addToPrettierIgnore,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExecutorContext } from '@nx/devkit';
|
|
2
|
-
import { S as StormConfig } from '../../../types-
|
|
2
|
+
import { S as StormConfig } from '../../../types-HiZpltUX.mjs';
|
|
3
3
|
import { C as ContainerPublishExecutorSchema } from '../../../schema.d-Cx_3iG9A.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExecutorContext } from '@nx/devkit';
|
|
2
|
-
import { S as StormConfig } from '../../../types-
|
|
2
|
+
import { S as StormConfig } from '../../../types-HiZpltUX.js';
|
|
3
3
|
import { C as ContainerPublishExecutorSchema } from '../../../schema.d-Cx_3iG9A.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|