@storm-software/k8s-tools 0.38.0 → 0.38.3
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 +48 -0
- package/README.md +1 -1
- package/dist/{chunk-CJJGYQPF.mjs → chunk-H64KE7F6.mjs} +3 -3
- package/dist/{chunk-3JN7B27L.js → chunk-OMMLY6YV.js} +4 -4
- package/dist/generators.js +2 -2
- package/dist/generators.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/src/generators/helm-dependency/generator.js +2 -2
- package/dist/src/generators/helm-dependency/generator.mjs +1 -1
- package/package.json +15 -16
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,54 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - K8s Tools
|
|
4
4
|
|
|
5
|
+
## [0.38.2](https://github.com/storm-software/storm-ops/releases/tag/k8s-tools%400.38.2) (2025-09-15)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update workspace package links
|
|
10
|
+
([cc9535d62](https://github.com/storm-software/storm-ops/commit/cc9535d62))
|
|
11
|
+
- **pnpm-tools:** Update script file name and write workspace contents to
|
|
12
|
+
warning message
|
|
13
|
+
([ac72547b3](https://github.com/storm-software/storm-ops/commit/ac72547b3))
|
|
14
|
+
- **monorepo:** Regenerate README markdown files
|
|
15
|
+
([beeeb4edc](https://github.com/storm-software/storm-ops/commit/beeeb4edc))
|
|
16
|
+
|
|
17
|
+
### Updated Dependencies
|
|
18
|
+
|
|
19
|
+
- Updated workspace-tools to 1.287.2
|
|
20
|
+
- Updated config-tools to 1.183.3
|
|
21
|
+
- Updated config to 1.130.2
|
|
22
|
+
|
|
23
|
+
## [0.38.1](https://github.com/storm-software/storm-ops/releases/tag/k8s-tools%400.38.1) (2025-09-15)
|
|
24
|
+
|
|
25
|
+
### Miscellaneous
|
|
26
|
+
|
|
27
|
+
- **monorepo:** Update workspace package links
|
|
28
|
+
([dd47cb757](https://github.com/storm-software/storm-ops/commit/dd47cb757))
|
|
29
|
+
|
|
30
|
+
### Updated Dependencies
|
|
31
|
+
|
|
32
|
+
- Updated workspace-tools to 1.287.1
|
|
33
|
+
- Updated config-tools to 1.183.2
|
|
34
|
+
|
|
35
|
+
## [0.38.0](https://github.com/storm-software/storm-ops/releases/tag/k8s-tools%400.38.0) (2025-09-13)
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
- **pnpm-tools:** Added the `storm-pnpm` CLI binary
|
|
40
|
+
([1b34382c9](https://github.com/storm-software/storm-ops/commit/1b34382c9))
|
|
41
|
+
|
|
42
|
+
### Miscellaneous
|
|
43
|
+
|
|
44
|
+
- **monorepo:** Regenerate README markdown files
|
|
45
|
+
([f6d595334](https://github.com/storm-software/storm-ops/commit/f6d595334))
|
|
46
|
+
|
|
47
|
+
### Updated Dependencies
|
|
48
|
+
|
|
49
|
+
- Updated workspace-tools to 1.287.0
|
|
50
|
+
- Updated config-tools to 1.183.1
|
|
51
|
+
- Updated config to 1.130.1
|
|
52
|
+
|
|
5
53
|
## [0.37.0](https://github.com/storm-software/storm-ops/releases/tag/k8s-tools%400.37.0) (2025-09-13)
|
|
6
54
|
|
|
7
55
|
### Features
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
readProjectConfiguration,
|
|
12
12
|
updateProjectConfiguration
|
|
13
13
|
} from "@nx/devkit";
|
|
14
|
-
import
|
|
14
|
+
import { parse, stringify } from "yaml";
|
|
15
15
|
async function helmDependencyGeneratorFn(tree, options, config) {
|
|
16
16
|
writeDebug("\u{1F4DD} Preparing to add Helm Dependency", config);
|
|
17
17
|
const project = readProjectConfiguration(tree, options.project);
|
|
@@ -75,7 +75,7 @@ function updateChartYaml(tree, project, name, version, repository) {
|
|
|
75
75
|
if (!result) {
|
|
76
76
|
throw new Error("Failed to read Chart.yaml");
|
|
77
77
|
}
|
|
78
|
-
const chartContents =
|
|
78
|
+
const chartContents = parse(result);
|
|
79
79
|
if (!chartContents.dependencies) {
|
|
80
80
|
chartContents.dependencies = [];
|
|
81
81
|
}
|
|
@@ -91,7 +91,7 @@ function updateChartYaml(tree, project, name, version, repository) {
|
|
|
91
91
|
version,
|
|
92
92
|
repository
|
|
93
93
|
});
|
|
94
|
-
tree.write(chartPath,
|
|
94
|
+
tree.write(chartPath, stringify(chartContents));
|
|
95
95
|
}
|
|
96
96
|
} catch (error) {
|
|
97
97
|
console.error(error);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function
|
|
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
|
var _chunkZNP7NX5Sjs = require('./chunk-ZNP7NX5S.js');
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ var _chunkDPKKWKS3js = require('./chunk-DPKKWKS3.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _devkit = require('@nx/devkit');
|
|
14
|
-
var
|
|
14
|
+
var _yaml = require('yaml');
|
|
15
15
|
async function helmDependencyGeneratorFn(tree, options, config) {
|
|
16
16
|
_chunkDPKKWKS3js.writeDebug.call(void 0, "\u{1F4DD} Preparing to add Helm Dependency", config);
|
|
17
17
|
const project = _devkit.readProjectConfiguration.call(void 0, tree, options.project);
|
|
@@ -75,7 +75,7 @@ function updateChartYaml(tree, project, name, version, repository) {
|
|
|
75
75
|
if (!result) {
|
|
76
76
|
throw new Error("Failed to read Chart.yaml");
|
|
77
77
|
}
|
|
78
|
-
const chartContents =
|
|
78
|
+
const chartContents = _yaml.parse.call(void 0, result);
|
|
79
79
|
if (!chartContents.dependencies) {
|
|
80
80
|
chartContents.dependencies = [];
|
|
81
81
|
}
|
|
@@ -91,7 +91,7 @@ function updateChartYaml(tree, project, name, version, repository) {
|
|
|
91
91
|
version,
|
|
92
92
|
repository
|
|
93
93
|
});
|
|
94
|
-
tree.write(chartPath,
|
|
94
|
+
tree.write(chartPath, _yaml.stringify.call(void 0, chartContents));
|
|
95
95
|
}
|
|
96
96
|
} catch (error) {
|
|
97
97
|
console.error(error);
|
package/dist/generators.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkHJPGI244js = require('./chunk-HJPGI244.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkOMMLY6YVjs = require('./chunk-OMMLY6YV.js');
|
|
8
8
|
require('./chunk-ZNP7NX5S.js');
|
|
9
9
|
require('./chunk-CXS4V5RV.js');
|
|
10
10
|
require('./chunk-DPKKWKS3.js');
|
|
@@ -12,4 +12,4 @@ require('./chunk-RECJ3G6F.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.helmChartGeneratorFn = _chunkHJPGI244js.helmChartGeneratorFn; exports.helmDependencyGeneratorFn =
|
|
15
|
+
exports.helmChartGeneratorFn = _chunkHJPGI244js.helmChartGeneratorFn; exports.helmDependencyGeneratorFn = _chunkOMMLY6YVjs.helmDependencyGeneratorFn;
|
package/dist/generators.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ require('./chunk-DHBG5ASJ.js');
|
|
|
17
17
|
var _chunkHJPGI244js = require('./chunk-HJPGI244.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkOMMLY6YVjs = require('./chunk-OMMLY6YV.js');
|
|
21
21
|
require('./chunk-ZNP7NX5S.js');
|
|
22
22
|
require('./chunk-CXS4V5RV.js');
|
|
23
23
|
require('./chunk-DPKKWKS3.js');
|
|
@@ -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 = _chunkK6NB5DVEjs.createNodesV2; exports.description = _chunkK6NB5DVEjs.description; exports.ensureInitialized = _chunkXKOZIQT3js.ensureInitialized; exports.getRegistryVersion = _chunkFK7WOVSTjs.getRegistryVersion; exports.helmChartGeneratorFn = _chunkHJPGI244js.helmChartGeneratorFn; exports.helmDependencyGeneratorFn =
|
|
54
|
+
exports.AbstractHelmClient = _chunkJSFRUBG5js.AbstractHelmClient; exports.HelmClient = _chunk4AADQIGWjs.HelmClient; exports.addToPrettierIgnore = _chunk7QVOU2PTjs.addToPrettierIgnore; exports.createHelmClient = _chunk4AADQIGWjs.createHelmClient; exports.createNodesV2 = _chunkK6NB5DVEjs.createNodesV2; exports.description = _chunkK6NB5DVEjs.description; exports.ensureInitialized = _chunkXKOZIQT3js.ensureInitialized; exports.getRegistryVersion = _chunkFK7WOVSTjs.getRegistryVersion; exports.helmChartGeneratorFn = _chunkHJPGI244js.helmChartGeneratorFn; exports.helmDependencyGeneratorFn = _chunkOMMLY6YVjs.helmDependencyGeneratorFn; exports.name = _chunkK6NB5DVEjs.name; exports.resolveUserExistingPrettierConfig = _chunk7QVOU2PTjs.resolveUserExistingPrettierConfig; exports.serveExecutor = _chunkQEXSOYUOjs.serveExecutor;
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkOMMLY6YVjs = require('../../../chunk-OMMLY6YV.js');
|
|
5
5
|
require('../../../chunk-ZNP7NX5S.js');
|
|
6
6
|
require('../../../chunk-CXS4V5RV.js');
|
|
7
7
|
require('../../../chunk-DPKKWKS3.js');
|
|
@@ -9,4 +9,4 @@ require('../../../chunk-RECJ3G6F.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.default =
|
|
12
|
+
exports.default = _chunkOMMLY6YVjs.generator_default; exports.helmDependencyGeneratorFn = _chunkOMMLY6YVjs.helmDependencyGeneratorFn;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/k8s-tools",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.3",
|
|
4
4
|
"description": "Tools for managing Kubernetes (k8s) infrastructure within a Nx workspace.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -128,9 +128,9 @@
|
|
|
128
128
|
"sullivanpj"
|
|
129
129
|
],
|
|
130
130
|
"peerDependencies": {
|
|
131
|
-
"@nx/devkit": "
|
|
132
|
-
"prettier": "
|
|
133
|
-
"tsup": "
|
|
131
|
+
"@nx/devkit": "^21.4.1",
|
|
132
|
+
"prettier": "^3.5.1",
|
|
133
|
+
"tsup": "8.4.0"
|
|
134
134
|
},
|
|
135
135
|
"peerDependenciesMeta": {
|
|
136
136
|
"@nx-tools/container-metadata": { "optional": false },
|
|
@@ -140,25 +140,24 @@
|
|
|
140
140
|
"nx": { "optional": false }
|
|
141
141
|
},
|
|
142
142
|
"dependencies": {
|
|
143
|
-
"@storm-software/config": "
|
|
144
|
-
"@storm-software/config-tools": "
|
|
145
|
-
"@storm-software/workspace-tools": "
|
|
146
|
-
"
|
|
143
|
+
"@storm-software/config": "^1.130.3",
|
|
144
|
+
"@storm-software/config-tools": "^1.183.4",
|
|
145
|
+
"@storm-software/workspace-tools": "^1.287.3",
|
|
146
|
+
"yaml": "^2.8.1"
|
|
147
147
|
},
|
|
148
148
|
"devDependencies": {
|
|
149
149
|
"@nx-tools/container-metadata": "^6.8.2",
|
|
150
150
|
"@nx-tools/nx-container": "^6.8.2",
|
|
151
|
-
"@nx/devkit": "
|
|
152
|
-
"@nx/workspace": "
|
|
153
|
-
"@types/
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"tsup": "catalog:",
|
|
151
|
+
"@nx/devkit": "^21.4.1",
|
|
152
|
+
"@nx/workspace": "^21.4.1",
|
|
153
|
+
"@types/node": "^22.10.2",
|
|
154
|
+
"nx": "^21.4.1",
|
|
155
|
+
"tsup": "8.4.0",
|
|
157
156
|
"typescript": "^5.9.2",
|
|
158
|
-
"untyped": "
|
|
157
|
+
"untyped": "^1.5.2"
|
|
159
158
|
},
|
|
160
159
|
"publishConfig": { "access": "public" },
|
|
161
160
|
"executors": "./executors.json",
|
|
162
161
|
"generators": "./generators.json",
|
|
163
|
-
"gitHead": "
|
|
162
|
+
"gitHead": "130c0445a406e976d0302d764282acc0b39bb1e2"
|
|
164
163
|
}
|