@storm-software/k8s-tools 0.42.180 → 0.42.181
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/dist/{chunk-NYUL5EJI.mjs → chunk-4AELCTHA.mjs} +1 -1
- package/dist/{chunk-KBSSJUPW.js → chunk-EK7DMIKJ.js} +3 -1
- package/dist/{chunk-N2YMA2SG.js → chunk-GU2ZRLRB.js} +2 -2
- package/dist/{chunk-CLSUG23S.mjs → chunk-TDDLXL7V.mjs} +1 -1
- package/dist/{chunk-A4VO4W6H.js → chunk-TSONJFKU.js} +7 -7
- package/dist/{chunk-WS2G4IWW.mjs → chunk-VWPYSF7C.mjs} +3 -1
- package/dist/executors.js +3 -3
- package/dist/executors.mjs +2 -2
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/dist/src/executors/container-publish/executor.js +3 -3
- package/dist/src/executors/container-publish/executor.mjs +2 -2
- package/dist/src/plugins/docker/index.js +3 -3
- package/dist/src/plugins/docker/index.mjs +2 -2
- package/package.json +5 -5
|
@@ -22,7 +22,7 @@ var _promises = require('fs/promises');
|
|
|
22
22
|
var _path = require('path');
|
|
23
23
|
var _prettier = require('prettier');
|
|
24
24
|
|
|
25
|
-
// ../
|
|
25
|
+
// ../package-constants/src/tags.ts
|
|
26
26
|
var ProjectTagConstants = {
|
|
27
27
|
Language: {
|
|
28
28
|
TAG_ID: "language",
|
|
@@ -96,6 +96,8 @@ var isEqualProjectTag = (project, variant, value) => {
|
|
|
96
96
|
const tag = getProjectTag(project, variant);
|
|
97
97
|
return !!(tag && _optionalChain([tag, 'optionalAccess', _3 => _3.toUpperCase, 'call', _4 => _4()]) === value.toUpperCase());
|
|
98
98
|
};
|
|
99
|
+
|
|
100
|
+
// ../workspace-tools/src/utils/project-tags.ts
|
|
99
101
|
var addProjectTag = (project, variant, value, options = {
|
|
100
102
|
overwrite: false
|
|
101
103
|
}) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkEK7DMIKJjs = require('./chunk-EK7DMIKJ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkYMZMROXKjs = require('./chunk-YMZMROXK.js');
|
|
@@ -113,7 +113,7 @@ async function* publishExecutor(options, context) {
|
|
|
113
113
|
);
|
|
114
114
|
} else {
|
|
115
115
|
console.log(`Published to ${tokenized.registry}`);
|
|
116
|
-
const packageManager =
|
|
116
|
+
const packageManager = _chunkEK7DMIKJjs.getPackageInfo.call(void 0, projectConfig);
|
|
117
117
|
if (packageManager) {
|
|
118
118
|
tokenized["build-args"] ??= [
|
|
119
119
|
"ENVIRONMENT=production",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkEK7DMIKJjs = require('./chunk-EK7DMIKJ.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -68,7 +68,7 @@ var createNodesV2 = [
|
|
|
68
68
|
`org.opencontainers.image.source=${config.repository}`
|
|
69
69
|
];
|
|
70
70
|
let tag = "latest";
|
|
71
|
-
const packageManager =
|
|
71
|
+
const packageManager = _chunkEK7DMIKJjs.getPackageInfo.call(void 0, project);
|
|
72
72
|
if (packageManager) {
|
|
73
73
|
if (packageManager.type === "Cargo.toml") {
|
|
74
74
|
tag = packageManager.content.package.version;
|
|
@@ -130,11 +130,11 @@ var createNodesV2 = [
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
|
-
if ((
|
|
133
|
+
if ((_chunkEK7DMIKJjs.isEqualProjectTag.call(void 0,
|
|
134
134
|
project,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
) || project.projectType === "application") &&
|
|
135
|
+
_chunkEK7DMIKJjs.ProjectTagConstants.ProjectType.TAG_ID,
|
|
136
|
+
_chunkEK7DMIKJjs.ProjectTagConstants.ProjectType.APPLICATION
|
|
137
|
+
) || project.projectType === "application") && _chunkEK7DMIKJjs.hasProjectTag.call(void 0, project, _chunkEK7DMIKJjs.ProjectTagConstants.Registry.TAG_ID)) {
|
|
138
138
|
if (project.targets["nx-release-publish"]) {
|
|
139
139
|
project.targets["nx-release-publish"] = {
|
|
140
140
|
...project.targets["nx-release-publish"],
|
|
@@ -161,7 +161,7 @@ var createNodesV2 = [
|
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
|
|
164
|
+
_chunkEK7DMIKJjs.setDefaultProjectTags.call(void 0, project);
|
|
165
165
|
const projects = {};
|
|
166
166
|
const externalNodes = {};
|
|
167
167
|
projects[project.root] = _defu2.default.call(void 0,
|
|
@@ -22,7 +22,7 @@ import { readFile, writeFile } from "node:fs/promises";
|
|
|
22
22
|
import { dirname, resolve } from "path";
|
|
23
23
|
import { format } from "prettier";
|
|
24
24
|
|
|
25
|
-
// ../
|
|
25
|
+
// ../package-constants/src/tags.ts
|
|
26
26
|
var ProjectTagConstants = {
|
|
27
27
|
Language: {
|
|
28
28
|
TAG_ID: "language",
|
|
@@ -96,6 +96,8 @@ var isEqualProjectTag = (project, variant, value) => {
|
|
|
96
96
|
const tag = getProjectTag(project, variant);
|
|
97
97
|
return !!(tag && tag?.toUpperCase() === value.toUpperCase());
|
|
98
98
|
};
|
|
99
|
+
|
|
100
|
+
// ../workspace-tools/src/utils/project-tags.ts
|
|
99
101
|
var addProjectTag = (project, variant, value, options = {
|
|
100
102
|
overwrite: false
|
|
101
103
|
}) => {
|
package/dist/executors.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-XO66D74Z.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkGU2ZRLRBjs = require('./chunk-GU2ZRLRB.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkJ4YA3MOHjs = require('./chunk-J4YA3MOH.js');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-EK7DMIKJ.js');
|
|
9
9
|
require('./chunk-YMZMROXK.js');
|
|
10
10
|
require('./chunk-OAJB4SET.js');
|
|
11
11
|
require('./chunk-4AADQIGW.js');
|
|
@@ -15,4 +15,4 @@ require('./chunk-RECJ3G6F.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.getRegistryVersion =
|
|
18
|
+
exports.getRegistryVersion = _chunkGU2ZRLRBjs.getRegistryVersion; exports.serveExecutor = _chunkJ4YA3MOHjs.serveExecutor;
|
package/dist/executors.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
2
|
import {
|
|
3
3
|
getRegistryVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TDDLXL7V.mjs";
|
|
5
5
|
import {
|
|
6
6
|
serveExecutor
|
|
7
7
|
} from "./chunk-QTSVWPHK.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-VWPYSF7C.mjs";
|
|
9
9
|
import "./chunk-PHJ2C6SX.mjs";
|
|
10
10
|
import "./chunk-PXNJS7UH.mjs";
|
|
11
11
|
import "./chunk-CC6EC6X5.mjs";
|
package/dist/index.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkTSONJFKUjs = require('./chunk-TSONJFKU.js');
|
|
6
6
|
require('./chunk-XO66D74Z.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkGU2ZRLRBjs = require('./chunk-GU2ZRLRB.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkJ4YA3MOHjs = require('./chunk-J4YA3MOH.js');
|
|
13
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-EK7DMIKJ.js');
|
|
14
14
|
require('./chunk-DHBG5ASJ.js');
|
|
15
15
|
|
|
16
16
|
|
|
@@ -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 = _chunkTSONJFKUjs.createNodesV2; exports.description = _chunkTSONJFKUjs.description; exports.ensureInitialized = _chunkXKOZIQT3js.ensureInitialized; exports.getRegistryVersion = _chunkGU2ZRLRBjs.getRegistryVersion; exports.helmChartGeneratorFn = _chunkFM56KBYYjs.helmChartGeneratorFn; exports.helmDependencyGeneratorFn = _chunkL5AIC4GNjs.helmDependencyGeneratorFn; exports.name = _chunkTSONJFKUjs.name; exports.resolveUserExistingPrettierConfig = _chunk7QVOU2PTjs.resolveUserExistingPrettierConfig; exports.serveExecutor = _chunkJ4YA3MOHjs.serveExecutor;
|
package/dist/index.mjs
CHANGED
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
createNodesV2,
|
|
3
3
|
description,
|
|
4
4
|
name
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4AELCTHA.mjs";
|
|
6
6
|
import "./chunk-YSCEY447.mjs";
|
|
7
7
|
import {
|
|
8
8
|
getRegistryVersion
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TDDLXL7V.mjs";
|
|
10
10
|
import {
|
|
11
11
|
serveExecutor
|
|
12
12
|
} from "./chunk-QTSVWPHK.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-VWPYSF7C.mjs";
|
|
14
14
|
import "./chunk-3J7KBHMJ.mjs";
|
|
15
15
|
import {
|
|
16
16
|
helmChartGeneratorFn
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../../chunk-
|
|
4
|
+
var _chunkGU2ZRLRBjs = require('../../../chunk-GU2ZRLRB.js');
|
|
5
|
+
require('../../../chunk-EK7DMIKJ.js');
|
|
6
6
|
require('../../../chunk-YMZMROXK.js');
|
|
7
7
|
require('../../../chunk-OAJB4SET.js');
|
|
8
8
|
require('../../../chunk-RECJ3G6F.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.default =
|
|
12
|
+
exports.default = _chunkGU2ZRLRBjs.publishExecutor; exports.getRegistryVersion = _chunkGU2ZRLRBjs.getRegistryVersion;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRegistryVersion,
|
|
3
3
|
publishExecutor
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
4
|
+
} from "../../../chunk-TDDLXL7V.mjs";
|
|
5
|
+
import "../../../chunk-VWPYSF7C.mjs";
|
|
6
6
|
import "../../../chunk-PHJ2C6SX.mjs";
|
|
7
7
|
import "../../../chunk-PXNJS7UH.mjs";
|
|
8
8
|
import "../../../chunk-YKVJBCVA.mjs";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var _chunkTSONJFKUjs = require('../../../chunk-TSONJFKU.js');
|
|
6
|
+
require('../../../chunk-EK7DMIKJ.js');
|
|
7
7
|
require('../../../chunk-OAJB4SET.js');
|
|
8
8
|
require('../../../chunk-RECJ3G6F.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.createNodesV2 =
|
|
13
|
+
exports.createNodesV2 = _chunkTSONJFKUjs.createNodesV2; exports.description = _chunkTSONJFKUjs.description; exports.name = _chunkTSONJFKUjs.name;
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
createNodesV2,
|
|
3
3
|
description,
|
|
4
4
|
name
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-4AELCTHA.mjs";
|
|
6
|
+
import "../../../chunk-VWPYSF7C.mjs";
|
|
7
7
|
import "../../../chunk-PXNJS7UH.mjs";
|
|
8
8
|
import "../../../chunk-YKVJBCVA.mjs";
|
|
9
9
|
export {
|
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.181",
|
|
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.137.
|
|
144
|
-
"@storm-software/config-tools": "^1.190.
|
|
145
|
-
"@storm-software/workspace-tools": "^1.295.
|
|
143
|
+
"@storm-software/config": "^1.137.39",
|
|
144
|
+
"@storm-software/config-tools": "^1.190.6",
|
|
145
|
+
"@storm-software/workspace-tools": "^1.295.66",
|
|
146
146
|
"defu": "6.1.4",
|
|
147
147
|
"yaml": "^2.9.0"
|
|
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": "0156312b2f7b27223734e49a41834c30314ae10a"
|
|
164
164
|
}
|