@storm-software/k8s-tools 0.19.0 → 0.19.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +354 -1
  3. package/dist/{chunk-LSBSNYPQ.mjs → chunk-6ETDUQVL.mjs} +2 -2
  4. package/dist/{chunk-GOVHOOTS.js → chunk-6T5V554C.js} +3 -3
  5. package/dist/{chunk-OXY6AHKS.js → chunk-7LS6U2EN.js} +4 -4
  6. package/dist/{chunk-AFPEYAYK.js → chunk-B2P75NHN.js} +2 -2
  7. package/dist/{chunk-Q6DDBFXE.mjs → chunk-BMKXRKZ6.mjs} +3 -3
  8. package/dist/{chunk-O7U3AH6A.mjs → chunk-DLP46TOM.mjs} +2 -2
  9. package/dist/{chunk-TUDMFJIT.mjs → chunk-EPOBUJ5U.mjs} +2 -2
  10. package/dist/{chunk-7BCSLKT3.js → chunk-GWVDYIPM.js} +4 -4
  11. package/dist/{chunk-7AV2CVBT.mjs → chunk-J3C3UJ2V.mjs} +3 -3
  12. package/dist/{chunk-2QNNUD5M.js → chunk-J5KJKKSR.js} +19 -19
  13. package/dist/{chunk-DZ5UCMNL.mjs → chunk-JZ3PTTB5.mjs} +4 -4
  14. package/dist/{chunk-GDXB64KG.js → chunk-MCT4RPRY.js} +4 -4
  15. package/dist/{chunk-EISL3C34.js → chunk-NDFB6RMA.js} +23 -23
  16. package/dist/{chunk-ZO7MGNKJ.mjs → chunk-PMKEFUA5.mjs} +1 -1
  17. package/dist/{chunk-W7DPLC4K.mjs → chunk-PNFPJ5DL.mjs} +1 -1
  18. package/dist/{chunk-UWJTAL4W.js → chunk-UQ4QRI2O.js} +2 -2
  19. package/dist/{chunk-OBT35QXS.mjs → chunk-VVE2BUWY.mjs} +1 -1
  20. package/dist/{chunk-XMPMWMWQ.js → chunk-YQQLWIFZ.js} +7 -7
  21. package/dist/executors.js +6 -6
  22. package/dist/executors.mjs +5 -5
  23. package/dist/generators.js +6 -6
  24. package/dist/generators.mjs +5 -5
  25. package/dist/index.js +10 -10
  26. package/dist/index.mjs +9 -9
  27. package/dist/src/executors/container-publish/executor.js +5 -5
  28. package/dist/src/executors/container-publish/executor.mjs +4 -4
  29. package/dist/src/executors/helm-package/executor.js +5 -5
  30. package/dist/src/executors/helm-package/executor.mjs +4 -4
  31. package/dist/src/generators/helm-chart/generator.js +5 -5
  32. package/dist/src/generators/helm-chart/generator.mjs +4 -4
  33. package/dist/src/generators/helm-dependency/generator.js +5 -5
  34. package/dist/src/generators/helm-dependency/generator.mjs +4 -4
  35. package/dist/src/plugins/docker/index.js +3 -3
  36. package/dist/src/plugins/docker/index.mjs +2 -2
  37. package/package.json +160 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 0.19.3 (2025-01-20)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **untyped:** Resovle bundling issue with externals ([ff044ddf](https://github.com/storm-software/storm-ops/commit/ff044ddf))
6
+
7
+ ## 0.19.2 (2025-01-20)
8
+
9
+ ### Bug Fixes
10
+
11
+ - **unbuild:** Update package to bundle the `unbuild` package for distribution ([d304c28d](https://github.com/storm-software/storm-ops/commit/d304c28d))
12
+
13
+ ## 0.19.1 (2025-01-20)
14
+
15
+ ### Bug Fixes
16
+
17
+ - **workspace-tools:** Resolve cross-platform build issue in `copyfiles` script ([331a723f](https://github.com/storm-software/storm-ops/commit/331a723f))
18
+
1
19
  ## 0.19.0 (2025-01-20)
2
20
 
3
21
  ### Features
package/README.md CHANGED
@@ -1,7 +1,360 @@
1
- # k8s-tools
1
+ <!-- START header -->
2
+ <!-- prettier-ignore-start -->
3
+ <!-- markdownlint-disable -->
4
+
5
+
6
+ <div align="center"><img src="https://pub-761b436209f44a4d886487c917806c08.r2.dev/storm-banner.gif" width="100%" alt="Storm Software" /></div>
7
+ <br />
8
+
9
+ <div align="center">
10
+ <b>
11
+ <a href="https://stormsoftware.com" target="_blank">Website</a> •
12
+ <a href="https://github.com/storm-software/storm-ops" target="_blank">GitHub</a> •
13
+ <a href="https://discord.gg/MQ6YVzakM5">Discord</a> • <a href="https://stormstack.github.io/stormstack/" target="_blank">Docs</a> • <a href="https://stormsoftware.com/contact" target="_blank">Contact</a> •
14
+ <a href="https://github.com/storm-software/storm-ops/issues/new?assignees=&labels=bug&template=bug-report.yml&title=Bug Report%3A+">Report a Bug</a>
15
+ </b>
16
+ </div>
17
+
18
+ <br />
19
+ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages include CLI utility applications, tools, and various libraries used to create modern, scalable web applications.
20
+ <br />
21
+
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
+
24
+ [![Version](https://img.shields.io/badge/version-0.19.2-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
+
26
+ <!-- prettier-ignore-start -->
27
+ <!-- markdownlint-disable -->
28
+
29
+ > [!IMPORTANT]
30
+ > This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be availible through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.
31
+
32
+ <!-- markdownlint-restore -->
33
+ <!-- prettier-ignore-end -->
34
+
35
+ <div align="center">
36
+ <b>Be sure to ⭐ this repository on <a href="https://github.com/storm-software/storm-ops" target="_blank">GitHub</a> so you can keep up to date on any daily progress!</b>
37
+ </div>
38
+
39
+ <br />
40
+
41
+ <!-- START doctoc -->
42
+ <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
43
+ ## Table of Contents
44
+
45
+ - [Storm Kubernetes Tools](#storm-kubernetes-tools)
46
+ - [Installing](#installing)
47
+ - [Executors](#executors)
48
+ - [helm-package](#helm-package)
49
+ - [Example](#example)
50
+ - [container-publish](#container-publish)
51
+ - [Example](#example-1)
52
+ - [Generators](#generators)
53
+ - [helm-chart](#helm-chart)
54
+ - [helm-dependency](#helm-dependency)
55
+ - [Building](#building)
56
+ - [Running unit tests](#running-unit-tests)
57
+ - [Storm Workspaces](#storm-workspaces)
58
+ - [Roadmap](#roadmap)
59
+ - [Support](#support)
60
+ - [License](#license)
61
+ - [Changelog](#changelog)
62
+ - [Contributing](#contributing)
63
+ - [Contributors](#contributors)
64
+
65
+ <!-- END doctoc -->
66
+
67
+ <br />
68
+
69
+ <!-- markdownlint-restore -->
70
+ <!-- prettier-ignore-end -->
71
+
72
+ <!-- END header -->
73
+
74
+ # Storm Kubernetes Tools
75
+
76
+ A package containing tools for managing a Storm workspace. It includes various
77
+ [Nx](https://nx.dev) generators and executors for common development tasks.
2
78
 
3
79
  This library was generated with [Nx](https://nx.dev).
4
80
 
81
+ ## Installing
82
+
83
+ Using [pnpm](http://pnpm.io):
84
+
85
+ ```bash
86
+ pnpm add -D @storm-software/k8s-tools
87
+ ```
88
+
89
+ <details>
90
+ <summary>Using npm</summary>
91
+
92
+ ```bash
93
+ npm install -D @storm-software/k8s-tools
94
+ ```
95
+
96
+ </details>
97
+
98
+ <details>
99
+ <summary>Using yarn</summary>
100
+
101
+ ```bash
102
+ yarn add -D @storm-software/k8s-tools
103
+ ```
104
+
105
+ </details>
106
+
107
+ ## Executors
108
+
109
+ The following executors are available in this package to invoke common tasks for
110
+ the workspace's projects:
111
+
112
+ <!-- START executors -->
113
+ <!-- prettier-ignore-start -->
114
+ <!-- markdownlint-disable -->
115
+
116
+
117
+ ## helm-package
118
+
119
+ Package Helm charts associated with a project
120
+
121
+ ### Example
122
+
123
+ This executor can be used by executing the following in a command line utility:
124
+
125
+ ```cmd
126
+ nx run my-project:helm-package
127
+ ```
128
+
129
+ **Please note:** _The helm-package executor should be included in the desired projects's `project.json` file._
130
+
131
+
132
+
133
+ ## container-publish
134
+
135
+ Deploy an OCI Image Format Specification to a container registry
136
+
137
+ ### Example
138
+
139
+ This executor can be used by executing the following in a command line utility:
140
+
141
+ ```cmd
142
+ nx run my-project:container-publish
143
+ ```
144
+
145
+ **Please note:** _The container-publish executor should be included in the desired projects's `project.json` file._
146
+
147
+
148
+
149
+ <!-- markdownlint-restore -->
150
+ <!-- prettier-ignore-end -->
151
+
152
+ <!-- END executors -->
153
+
154
+ ## Generators
155
+
156
+ The following generators are available with this package to assist in workspace
157
+ management:
158
+
159
+ <!-- START generators -->
160
+ <!-- prettier-ignore-start -->
161
+ <!-- markdownlint-disable -->
162
+
163
+
164
+ ## helm-chart
165
+
166
+ Generate a new Helm chart
167
+
168
+
169
+
170
+ ## helm-dependency
171
+
172
+ Generate a new dependency for an existing Helm chart
173
+
174
+
175
+
176
+ <!-- markdownlint-restore -->
177
+ <!-- prettier-ignore-end -->
178
+
179
+ <!-- END generators -->
180
+
5
181
  ## Building
6
182
 
7
183
  Run `nx build k8s-tools` to build the library.
184
+
185
+ ## Running unit tests
186
+
187
+ Run `nx test k8s-tools` to execute the unit tests via [Jest](https://jestjs.io).
188
+
189
+ <!-- START footer -->
190
+ <!-- prettier-ignore-start -->
191
+ <!-- markdownlint-disable -->
192
+
193
+
194
+ ## Storm Workspaces
195
+
196
+ Storm workspaces are built using
197
+ <a href="https://nx.dev/" target="_blank">Nx</a>, a set of extensible dev tools
198
+ for monorepos, which helps you develop like Google, Facebook, and Microsoft.
199
+ Building on top of Nx, the Open System provides a set of tools and patterns that
200
+ help you scale your monorepo to many teams while keeping the codebase
201
+ maintainable.
202
+
203
+ <div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
204
+ <br />
205
+
206
+ ## Roadmap
207
+
208
+ See the [open issues](https://github.com/storm-software/storm-ops/issues) for a
209
+ list of proposed features (and known issues).
210
+
211
+ - [Top Feature Requests](https://github.com/storm-software/storm-ops/issues?q=label%3Aenhancement+is%3Aopen+sort%3Areactions-%2B1-desc)
212
+ (Add your votes using the 👍 reaction)
213
+ - [Top Bugs](https://github.com/storm-software/storm-ops/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Areactions-%2B1-desc)
214
+ (Add your votes using the 👍 reaction)
215
+ - [Newest Bugs](https://github.com/storm-software/storm-ops/issues?q=is%3Aopen+is%3Aissue+label%3Abug)
216
+
217
+ <div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
218
+ <br />
219
+
220
+ ## Support
221
+
222
+ Reach out to the maintainer at one of the following places:
223
+
224
+ - [Contact](https://stormsoftware.com/contact)
225
+ - [GitHub discussions](https://github.com/storm-software/storm-ops/discussions)
226
+ - <support@stormsoftware.com>
227
+
228
+ <div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
229
+ <br />
230
+
231
+ ## License
232
+
233
+ This project is licensed under the **Apache License 2.0**. Feel free to edit and
234
+ distribute this template as you like.
235
+
236
+ See [LICENSE](LICENSE) for more information.
237
+
238
+ <div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
239
+ <br />
240
+
241
+ ## Changelog
242
+
243
+ This project adheres to
244
+ [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Every release, along
245
+ with the migration instructions, is documented in the [CHANGELOG](CHANGELOG.md)
246
+ file
247
+
248
+ <div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
249
+ <br />
250
+
251
+ ## Contributing
252
+
253
+ First off, thanks for taking the time to contribute! Contributions are what
254
+ makes the open-source community such an amazing place to learn, inspire, and
255
+ create. Any contributions you make will benefit everybody else and are **greatly
256
+ appreciated**.
257
+
258
+ Please try to create bug reports that are:
259
+
260
+ - _Reproducible._ Include steps to reproduce the problem.
261
+ - _Specific._ Include as much detail as possible: which version, what
262
+ environment, etc.
263
+ - _Unique._ Do not duplicate existing opened issues.
264
+ - _Scoped to a Single Bug._ One bug per report.
265
+
266
+ Please adhere to this project's [code of conduct](.github/CODE_OF_CONDUCT.md).
267
+
268
+ You can use
269
+ [markdownlint-cli](https://github.com/storm-software/storm-ops/markdownlint-cli)
270
+ to check for common markdown style inconsistency.
271
+
272
+ <div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
273
+ <br />
274
+
275
+ ## Contributors
276
+
277
+ Thanks goes to these wonderful people
278
+ ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
279
+
280
+ <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
281
+
282
+ <table>
283
+ <tbody>
284
+ <tr>
285
+ <td align="center" valign="top" width="14.28%"><a href="http://www.sullypat.com/"><img src="https://avatars.githubusercontent.com/u/99053093?v=4?s=100" width="100px;" alt="Patrick Sullivan"/><br /><sub><b>Patrick Sullivan</b></sub></a><br /><a href="#design-sullivanpj" title="Design">🎨</a> <a href="https://github.com/storm-software/storm-ops/commits?author=sullivanpj" title="Code">💻</a> <a href="#tool-sullivanpj" title="Tools">🔧</a> <a href="https://github.com/storm-software/storm-ops/commits?author=sullivanpj" title="Documentation">📖</a> <a href="https://github.com/storm-software/storm-ops/commits?author=sullivanpj" title="Tests">⚠️</a></td>
286
+ <td align="center" valign="top" width="14.28%"><a href="https://tylerbenning.com/"><img src="https://avatars.githubusercontent.com/u/7265547?v=4?s=100" width="100px;" alt="Tyler Benning"/><br /><sub><b>Tyler Benning</b></sub></a><br /><a href="#design-tbenning" title="Design">🎨</a></td>
287
+ <td align="center" valign="top" width="14.28%"><a href="http://stormsoftware.com"><img src="https://avatars.githubusercontent.com/u/149802440?v=4?s=100" width="100px;" alt="Stormie"/><br /><sub><b>Stormie</b></sub></a><br /><a href="#maintenance-stormie-bot" title="Maintenance">🚧</a></td>
288
+ </tr>
289
+ </tbody>
290
+ <tfoot>
291
+ <tr>
292
+ <td align="center" size="13px" colspan="7">
293
+ <img src="https://raw.githubusercontent.com/all-contributors/all-contributors-cli/1b8533af435da9854653492b1327a23a4dbd0a10/assets/logo-small.svg" alt="All Contributors">
294
+ <a href="https://all-contributors.js.org/docs/en/bot/usage">Add your contributions</a>
295
+ </img>
296
+ </td>
297
+ </tr>
298
+ </tfoot>
299
+ </table>
300
+
301
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
302
+
303
+ This project follows the
304
+ [all-contributors](https://github.com/all-contributors/all-contributors)
305
+ specification. Contributions of any kind welcome!
306
+
307
+ <div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
308
+ <br />
309
+
310
+ <hr />
311
+ <br />
312
+
313
+ <div align="center">
314
+ <img src="https://pub-761b436209f44a4d886487c917806c08.r2.dev/logo-banner.png" width="100%" alt="Storm Software" />
315
+ </div>
316
+ <br />
317
+
318
+ <div align="center">
319
+ <a href="https://stormsoftware.com" target="_blank">Website</a> • <a href="https://stormsoftware.com/contact" target="_blank">Contact</a> • <a href="https://linkedin.com/in/patrick-sullivan-865526b0" target="_blank">LinkedIn</a> • <a href="https://medium.com/@pat.joseph.sullivan" target="_blank">Medium</a> • <a href="https://github.com/storm-software" target="_blank">GitHub</a> • <a href="https://keybase.io/sullivanp" target="_blank">OpenPGP Key</a>
320
+ </div>
321
+
322
+ <div align="center">
323
+ <b>Fingerprint:</b> 1BD2 7192 7770 2549 F4C9 F238 E6AD C420 DA5C 4C2D
324
+ </div>
325
+ <br />
326
+
327
+ Storm Software is an open source software development organization and creator
328
+ of Acidic, StormStack and StormCloud.
329
+
330
+ Our mission is to make software development more accessible. Our ideal future is
331
+ one where anyone can create software without years of prior development
332
+ experience serving as a barrier to entry. We hope to achieve this via LLMs,
333
+ Generative AI, and intuitive, high-level data modeling/programming languages.
334
+
335
+ Join us on [Discord](https://discord.gg/MQ6YVzakM5) to chat with the team,
336
+ receive release notifications, ask questions, and get involved.
337
+
338
+ If this sounds interesting, and you would like to help us in creating the next
339
+ generation of development tools, please reach out on our
340
+ [website](https://stormsoftware.com/contact) or join our
341
+ [Slack](https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA)
342
+ channel!
343
+
344
+ <br />
345
+
346
+ <div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://pub-761b436209f44a4d886487c917806c08.r2.dev/icon-fill.png" alt="Storm Software" width="200px"/></a></div>
347
+ <br />
348
+ <div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://pub-761b436209f44a4d886487c917806c08.r2.dev/visit-us-text.svg" alt="Visit us at stormsoftware.com" height="90px"/></a></div>
349
+
350
+ <br />
351
+
352
+ <div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
353
+ <br />
354
+ <br />
355
+
356
+
357
+ <!-- markdownlint-restore -->
358
+ <!-- prettier-ignore-end -->
359
+
360
+ <!-- END footer -->
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  applyWorkspaceBaseTokens,
3
3
  applyWorkspaceTokens
4
- } from "./chunk-ZO7MGNKJ.mjs";
4
+ } from "./chunk-PMKEFUA5.mjs";
5
5
  import {
6
6
  findWorkspaceRoot,
7
7
  getStopwatch,
@@ -12,7 +12,7 @@ import {
12
12
  writeInfo,
13
13
  writeSuccess,
14
14
  writeTrace
15
- } from "./chunk-DZ5UCMNL.mjs";
15
+ } from "./chunk-JZ3PTTB5.mjs";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-XUV4U54K.mjs";
@@ -8,7 +8,7 @@ var _chunkIOT45LXVjs = require('./chunk-IOT45LXV.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkGDXB64KGjs = require('./chunk-GDXB64KG.js');
11
+ var _chunkMCT4RPRYjs = require('./chunk-MCT4RPRY.js');
12
12
 
13
13
 
14
14
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -35,8 +35,8 @@ var createNodes = [
35
35
  if (_optionalChain([projectJson, 'optionalAccess', _2 => _2.name])) {
36
36
  return {};
37
37
  }
38
- const workspaceRoot = _chunkGDXB64KGjs.findWorkspaceRoot.call(void 0, );
39
- const config = await _chunkGDXB64KGjs.loadStormConfig.call(void 0, workspaceRoot);
38
+ const workspaceRoot = _chunkMCT4RPRYjs.findWorkspaceRoot.call(void 0, );
39
+ const config = await _chunkMCT4RPRYjs.loadStormConfig.call(void 0, workspaceRoot);
40
40
  Object.keys(projectJson).forEach((key) => {
41
41
  if (!project[key]) {
42
42
  project[key] = projectJson[key];
@@ -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 _chunk2QNNUD5Mjs = require('./chunk-2QNNUD5M.js');
3
+ var _chunkJ5KJKKSRjs = require('./chunk-J5KJKKSR.js');
4
4
 
5
5
 
6
- var _chunkGDXB64KGjs = require('./chunk-GDXB64KG.js');
6
+ var _chunkMCT4RPRYjs = require('./chunk-MCT4RPRY.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 _path = require('path');
14
14
  async function helmChartGeneratorFn(tree, options, config) {
15
- _chunkGDXB64KGjs.writeDebug.call(void 0, "\u{1F4DD} Preparing to write Helm Chart", config);
15
+ _chunkMCT4RPRYjs.writeDebug.call(void 0, "\u{1F4DD} Preparing to write Helm Chart", 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} already has a helm target. Please remove it before running this command.`);
@@ -49,7 +49,7 @@ async function helmChartGeneratorFn(tree, options, config) {
49
49
  };
50
50
  }
51
51
  _chunk3GQAWCBQjs.__name.call(void 0, helmChartGeneratorFn, "helmChartGeneratorFn");
52
- var generator_default = _chunk2QNNUD5Mjs.withRunGenerator.call(void 0, "Helm Chart", helmChartGeneratorFn);
52
+ var generator_default = _chunkJ5KJKKSRjs.withRunGenerator.call(void 0, "Helm Chart", helmChartGeneratorFn);
53
53
 
54
54
 
55
55
 
@@ -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 _chunkGDXB64KGjs = require('./chunk-GDXB64KG.js');
3
+ var _chunkMCT4RPRYjs = require('./chunk-MCT4RPRY.js');
4
4
 
5
5
 
6
6
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -32,7 +32,7 @@ var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void
32
32
  }
33
33
  }
34
34
  if (result.includes("{workspaceRoot}")) {
35
- result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenizerOptions.workspaceRoot, () => ( _optionalChain([tokenizerOptions, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunkGDXB64KGjs.findWorkspaceRoot.call(void 0, ))));
35
+ result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenizerOptions.workspaceRoot, () => ( _optionalChain([tokenizerOptions, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunkMCT4RPRYjs.findWorkspaceRoot.call(void 0, ))));
36
36
  }
37
37
  return result;
38
38
  }, "applyWorkspaceBaseTokens");
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  applyWorkspaceExecutorTokens
3
- } from "./chunk-OBT35QXS.mjs";
3
+ } from "./chunk-VVE2BUWY.mjs";
4
4
  import {
5
5
  getPackageInfo
6
6
  } from "./chunk-RVFKH45R.mjs";
7
7
  import {
8
8
  applyWorkspaceTokens
9
- } from "./chunk-ZO7MGNKJ.mjs";
9
+ } from "./chunk-PMKEFUA5.mjs";
10
10
  import {
11
11
  findWorkspaceRoot,
12
12
  loadStormConfig
13
- } from "./chunk-DZ5UCMNL.mjs";
13
+ } from "./chunk-JZ3PTTB5.mjs";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-XUV4U54K.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-LSBSNYPQ.mjs";
3
+ } from "./chunk-6ETDUQVL.mjs";
4
4
  import {
5
5
  writeDebug
6
- } from "./chunk-DZ5UCMNL.mjs";
6
+ } from "./chunk-JZ3PTTB5.mjs";
7
7
  import {
8
8
  __dirname,
9
9
  __name
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-LSBSNYPQ.mjs";
3
+ } from "./chunk-6ETDUQVL.mjs";
4
4
  import {
5
5
  writeDebug
6
- } from "./chunk-DZ5UCMNL.mjs";
6
+ } from "./chunk-JZ3PTTB5.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-XUV4U54K.mjs";
@@ -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 _chunk2QNNUD5Mjs = require('./chunk-2QNNUD5M.js');
3
+ var _chunkJ5KJKKSRjs = require('./chunk-J5KJKKSR.js');
4
4
 
5
5
 
6
- var _chunkGDXB64KGjs = require('./chunk-GDXB64KG.js');
6
+ var _chunkMCT4RPRYjs = require('./chunk-MCT4RPRY.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
- _chunkGDXB64KGjs.writeDebug.call(void 0, "\u{1F4DD} Preparing to add Helm Dependency", config);
15
+ _chunkMCT4RPRYjs.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 = _chunk2QNNUD5Mjs.withRunGenerator.call(void 0, "Helm Dependency", helmDependencyGeneratorFn);
30
+ var generator_default = _chunkJ5KJKKSRjs.withRunGenerator.call(void 0, "Helm Dependency", helmDependencyGeneratorFn);
31
31
  function addDependencyToConfig(project, name, url) {
32
32
  return {
33
33
  ...project,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  applyWorkspaceExecutorTokens
3
- } from "./chunk-OBT35QXS.mjs";
3
+ } from "./chunk-VVE2BUWY.mjs";
4
4
  import {
5
5
  applyWorkspaceTokens
6
- } from "./chunk-ZO7MGNKJ.mjs";
6
+ } from "./chunk-PMKEFUA5.mjs";
7
7
  import {
8
8
  findWorkspaceRoot,
9
9
  formatLogMessage,
@@ -16,7 +16,7 @@ import {
16
16
  writeSuccess,
17
17
  writeTrace,
18
18
  writeWarning
19
- } from "./chunk-DZ5UCMNL.mjs";
19
+ } from "./chunk-JZ3PTTB5.mjs";
20
20
  import {
21
21
  createHelmClient
22
22
  } from "./chunk-6V45YKVB.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 _chunkAFPEYAYKjs = require('./chunk-AFPEYAYK.js');
4
+ var _chunkB2P75NHNjs = require('./chunk-B2P75NHN.js');
5
5
 
6
6
 
7
7
 
@@ -12,7 +12,7 @@ var _chunkAFPEYAYKjs = require('./chunk-AFPEYAYK.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkGDXB64KGjs = require('./chunk-GDXB64KG.js');
15
+ var _chunkMCT4RPRYjs = require('./chunk-MCT4RPRY.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 = _chunkGDXB64KGjs.getStopwatch.call(void 0, name);
24
+ const stopwatch = _chunkMCT4RPRYjs.getStopwatch.call(void 0, name);
25
25
  let options = _options;
26
26
  let config;
27
27
  try {
28
- _chunkGDXB64KGjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
28
+ _chunkMCT4RPRYjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
29
29
 
30
30
  `, config);
31
- const workspaceRoot = _chunkGDXB64KGjs.findWorkspaceRoot.call(void 0, );
31
+ const workspaceRoot = _chunkMCT4RPRYjs.findWorkspaceRoot.call(void 0, );
32
32
  if (!generatorOptions.skipReadingConfig) {
33
- _chunkGDXB64KGjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
33
+ _chunkMCT4RPRYjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
34
34
  - workspaceRoot: ${workspaceRoot}`, config);
35
- config = await _chunkGDXB64KGjs.loadStormConfig.call(void 0, workspaceRoot);
35
+ config = await _chunkMCT4RPRYjs.loadStormConfig.call(void 0, workspaceRoot);
36
36
  }
37
37
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
38
- _chunkGDXB64KGjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
38
+ _chunkMCT4RPRYjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
39
39
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
40
- _chunkGDXB64KGjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
40
+ _chunkMCT4RPRYjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
41
41
  }
42
- _chunkGDXB64KGjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
42
+ _chunkMCT4RPRYjs.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 _chunkAFPEYAYKjs.applyWorkspaceTokens.call(void 0, options, {
44
+ const tokenized = await _chunkB2P75NHNjs.applyWorkspaceTokens.call(void 0, options, {
45
45
  workspaceRoot: tree.root,
46
46
  config
47
- }, _chunkAFPEYAYKjs.applyWorkspaceBaseTokens);
47
+ }, _chunkB2P75NHNjs.applyWorkspaceBaseTokens);
48
48
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
49
- _chunkGDXB64KGjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
49
+ _chunkMCT4RPRYjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
50
50
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
51
- _chunkGDXB64KGjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
51
+ _chunkMCT4RPRYjs.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
- _chunkGDXB64KGjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
64
+ _chunkMCT4RPRYjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
65
65
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
66
- _chunkGDXB64KGjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
66
+ _chunkMCT4RPRYjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
67
67
  }
68
68
  return () => {
69
- _chunkGDXB64KGjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
69
+ _chunkMCT4RPRYjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
70
70
  `, config);
71
71
  };
72
72
  } catch (error) {
73
73
  return () => {
74
- _chunkGDXB64KGjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
75
- _chunkGDXB64KGjs.writeError.call(void 0, `An exception was thrown in the generator's process
74
+ _chunkMCT4RPRYjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
75
+ _chunkMCT4RPRYjs.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
  };