@storm-software/pulumi-tools 0.7.6 → 0.7.8

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 (71) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-6DP5HHF5.js → chunk-44G4LNCW.js} +2 -2
  4. package/dist/{chunk-N3H4DK4E.js → chunk-4OPAJ74D.js} +2 -2
  5. package/dist/{chunk-IAZVTGHA.js → chunk-5MN7SCNP.js} +2 -2
  6. package/dist/{chunk-O6PGI6V3.mjs → chunk-BGKTEE7Z.mjs} +3 -3
  7. package/dist/{chunk-XXWYXYXW.js → chunk-BLJ4SE54.js} +3 -3
  8. package/dist/{chunk-32GFYKQ3.js → chunk-ENKGOU75.js} +2 -2
  9. package/dist/{chunk-YXVSSAJ7.js → chunk-F6G2W6JZ.js} +5 -5
  10. package/dist/{chunk-B5MURCIC.mjs → chunk-GAHTVTEL.mjs} +1 -1
  11. package/dist/{chunk-ARPHB535.mjs → chunk-KWJNQHAJ.mjs} +1 -1
  12. package/dist/{chunk-CXWKMDJU.mjs → chunk-M6JZ5ZOS.mjs} +1 -1
  13. package/dist/{chunk-PZVSIXQ3.mjs → chunk-ND22IR7B.mjs} +2 -2
  14. package/dist/{chunk-P6YUXTRU.mjs → chunk-PA7ODB26.mjs} +1 -1
  15. package/dist/{chunk-FN7UDXGG.js → chunk-PZNCOUPX.js} +110 -79
  16. package/dist/{chunk-GTCRGRK2.mjs → chunk-QPASYUSE.mjs} +1 -1
  17. package/dist/{chunk-XUV4U54K.mjs → chunk-R7DU2APC.mjs} +1 -1
  18. package/dist/{chunk-JTC66DXK.mjs → chunk-S6KL4KCR.mjs} +78 -47
  19. package/dist/{chunk-QY3JQOCP.mjs → chunk-SXWQWAUO.mjs} +1 -1
  20. package/dist/{chunk-I7VABIBI.js → chunk-XCQQFJA3.js} +2 -2
  21. package/dist/executors.d.mts +1 -1
  22. package/dist/executors.d.ts +1 -1
  23. package/dist/executors.js +7 -7
  24. package/dist/executors.mjs +8 -8
  25. package/dist/{generators-tDFGjZKk.d.mts → generators-9HIDBCUE.d.mts} +1 -1
  26. package/dist/{generators-CDh2w5jS.d.ts → generators-BqtVID0f.d.ts} +1 -1
  27. package/dist/generators.d.mts +2 -2
  28. package/dist/generators.d.ts +2 -2
  29. package/dist/generators.js +3 -3
  30. package/dist/generators.mjs +4 -4
  31. package/dist/index.d.mts +2 -2
  32. package/dist/index.d.ts +2 -2
  33. package/dist/index.js +9 -9
  34. package/dist/index.mjs +10 -10
  35. package/dist/src/base/base-executor.d.mts +1 -1
  36. package/dist/src/base/base-executor.d.ts +1 -1
  37. package/dist/src/base/base-executor.js +3 -3
  38. package/dist/src/base/base-executor.mjs +3 -3
  39. package/dist/src/base/index.d.mts +1 -1
  40. package/dist/src/base/index.d.ts +1 -1
  41. package/dist/src/base/index.js +3 -3
  42. package/dist/src/base/index.mjs +4 -4
  43. package/dist/src/base/providers.mjs +2 -2
  44. package/dist/src/executors/config/executor.d.mts +1 -1
  45. package/dist/src/executors/config/executor.d.ts +1 -1
  46. package/dist/src/executors/config/executor.js +4 -4
  47. package/dist/src/executors/config/executor.mjs +4 -4
  48. package/dist/src/executors/import/executor.d.mts +1 -1
  49. package/dist/src/executors/import/executor.d.ts +1 -1
  50. package/dist/src/executors/import/executor.js +4 -4
  51. package/dist/src/executors/import/executor.mjs +4 -4
  52. package/dist/src/executors/preview/executor.d.mts +1 -1
  53. package/dist/src/executors/preview/executor.d.ts +1 -1
  54. package/dist/src/executors/preview/executor.js +4 -4
  55. package/dist/src/executors/preview/executor.mjs +4 -4
  56. package/dist/src/executors/refresh/executor.d.mts +1 -1
  57. package/dist/src/executors/refresh/executor.d.ts +1 -1
  58. package/dist/src/executors/refresh/executor.js +4 -4
  59. package/dist/src/executors/refresh/executor.mjs +4 -4
  60. package/dist/src/executors/up/executor.d.mts +1 -1
  61. package/dist/src/executors/up/executor.d.ts +1 -1
  62. package/dist/src/executors/up/executor.js +4 -4
  63. package/dist/src/executors/up/executor.mjs +4 -4
  64. package/dist/src/generators/init/generator.d.mts +2 -2
  65. package/dist/src/generators/init/generator.d.ts +2 -2
  66. package/dist/src/generators/init/generator.js +3 -3
  67. package/dist/src/generators/init/generator.mjs +4 -4
  68. package/dist/tsup.config.mjs +1 -1
  69. package/dist/{types-CMF_wowV.d.mts → types-HiZpltUX.d.mts} +3 -0
  70. package/dist/{types-CMF_wowV.d.ts → types-HiZpltUX.d.ts} +3 -0
  71. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 0.7.8 (2025-02-01)
2
+
3
+ ### Miscellaneous
4
+
5
+ - **monorepo:** Regenerate README markdown files ([3874ee4d](https://github.com/storm-software/storm-ops/commit/3874ee4d))
6
+
7
+ ## 0.7.7 (2025-01-29)
8
+
9
+ ### Miscellaneous
10
+
11
+ - **monorepo:** Regenerate README markdown files ([a1b6717d](https://github.com/storm-software/storm-ops/commit/a1b6717d))
12
+
1
13
  ## 0.7.6 (2025-01-29)
2
14
 
3
15
  ### Bug Fixes
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
- [![Version](https://img.shields.io/badge/version-0.7.5-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)
24
+ [![Version](https://img.shields.io/badge/version-0.7.7-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
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkXXWYXYXWjs = require('./chunk-XXWYXYXW.js');
3
+ var _chunkBLJ4SE54js = require('./chunk-BLJ4SE54.js');
4
4
 
5
5
  // src/executors/preview/executor.ts
6
- var executor_default = _chunkXXWYXYXWjs.withPulumiExecutor.call(void 0, "preview", (options) => [
6
+ var executor_default = _chunkBLJ4SE54js.withPulumiExecutor.call(void 0, "preview", (options) => [
7
7
  options.stack && `--stack=${options.stack}`,
8
8
  options.expectNoChanges && "--expect-no-changes"
9
9
  ]);
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkXXWYXYXWjs = require('./chunk-XXWYXYXW.js');
3
+ var _chunkBLJ4SE54js = require('./chunk-BLJ4SE54.js');
4
4
 
5
5
  // src/executors/up/executor.ts
6
- var executor_default = _chunkXXWYXYXWjs.withPulumiExecutor.call(void 0, "up", (options) => [
6
+ var executor_default = _chunkBLJ4SE54js.withPulumiExecutor.call(void 0, "up", (options) => [
7
7
  "--suppress-progress",
8
8
  options.stack && `--stack=${options.stack}`,
9
9
  options.skipPreview && "--skip-preview",
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkXXWYXYXWjs = require('./chunk-XXWYXYXW.js');
3
+ var _chunkBLJ4SE54js = require('./chunk-BLJ4SE54.js');
4
4
 
5
5
  // src/executors/config/executor.ts
6
- var executor_default = _chunkXXWYXYXWjs.withPulumiExecutor.call(void 0, "config", (options) => [
6
+ var executor_default = _chunkBLJ4SE54js.withPulumiExecutor.call(void 0, "config", (options) => [
7
7
  options.action,
8
8
  options.showSecrets && `--show-secrets`,
9
9
  options.secret && `--secret`,
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  getCloudTemplateName
3
- } from "./chunk-GTCRGRK2.mjs";
3
+ } from "./chunk-QPASYUSE.mjs";
4
4
  import {
5
5
  initGenerator,
6
6
  run,
7
7
  withRunGenerator
8
- } from "./chunk-JTC66DXK.mjs";
8
+ } from "./chunk-S6KL4KCR.mjs";
9
9
  import {
10
10
  __name
11
- } from "./chunk-XUV4U54K.mjs";
11
+ } from "./chunk-R7DU2APC.mjs";
12
12
 
13
13
  // src/generators/init/generator.ts
14
14
  import { addDependenciesToPackageJson, addProjectConfiguration, formatFiles, readJsonFile, runTasksInSerial } from "@nx/devkit";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkFN7UDXGGjs = require('./chunk-FN7UDXGG.js');
4
+ var _chunkPZNCOUPXjs = require('./chunk-PZNCOUPX.js');
5
5
 
6
6
 
7
7
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -10,7 +10,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
10
10
  var _path = require('path');
11
11
  var _shelljs = require('shelljs');
12
12
  var withPulumiExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (command, argsMapper, executorOptions = {}) => async (_options, context) => {
13
- return _chunkFN7UDXGGjs.withRunExecutor.call(void 0, `Pulumi \`${command}\` Command Executor`, async (options, context2, config) => {
13
+ return _chunkPZNCOUPXjs.withRunExecutor.call(void 0, `Pulumi \`${command}\` Command Executor`, async (options, context2, config) => {
14
14
  if (!_shelljs.which.call(void 0, "pulumi")) {
15
15
  throw new Error("Pulumi is not installed. Please install it before running this executor.");
16
16
  }
@@ -18,7 +18,7 @@ var withPulumiExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (c
18
18
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
19
19
  }
20
20
  const { sourceRoot } = context2.projectsConfigurations.projects[context2.projectName];
21
- _chunkFN7UDXGGjs.run.call(void 0, config, [
21
+ _chunkPZNCOUPXjs.run.call(void 0, config, [
22
22
  "pulumi",
23
23
  command,
24
24
  ...argsMapper(options)
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkXXWYXYXWjs = require('./chunk-XXWYXYXW.js');
3
+ var _chunkBLJ4SE54js = require('./chunk-BLJ4SE54.js');
4
4
 
5
5
  // src/executors/refresh/executor.ts
6
- var executor_default = _chunkXXWYXYXWjs.withPulumiExecutor.call(void 0, "refresh", (options) => [
6
+ var executor_default = _chunkBLJ4SE54js.withPulumiExecutor.call(void 0, "refresh", (options) => [
7
7
  "--suppress-progress",
8
8
  options.stack && `--stack=${options.stack}`,
9
9
  options.skipPreview && "--skip-preview",
@@ -5,7 +5,7 @@ var _chunkDBLK3NPEjs = require('./chunk-DBLK3NPE.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkFN7UDXGGjs = require('./chunk-FN7UDXGG.js');
8
+ var _chunkPZNCOUPXjs = require('./chunk-PZNCOUPX.js');
9
9
 
10
10
 
11
11
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ var _devkit = require('@nx/devkit');
15
15
  var _fs = require('fs');
16
16
  var _path = require('path');
17
17
  async function initGeneratorFn(tree, options, config) {
18
- const task = _chunkFN7UDXGGjs.initGenerator.call(void 0, tree, options);
18
+ const task = _chunkPZNCOUPXjs.initGenerator.call(void 0, tree, options);
19
19
  _devkit.addProjectConfiguration.call(void 0, tree, options.name || "deployment", {
20
20
  root: options.directory || "./deployment",
21
21
  projectType: "application",
@@ -49,11 +49,11 @@ async function initGeneratorFn(tree, options, config) {
49
49
  return task;
50
50
  }
51
51
  _chunk3GQAWCBQjs.__name.call(void 0, initGeneratorFn, "initGeneratorFn");
52
- var generator_default = _chunkFN7UDXGGjs.withRunGenerator.call(void 0, "Initialize Storm Pulumi workspace", initGeneratorFn);
52
+ var generator_default = _chunkPZNCOUPXjs.withRunGenerator.call(void 0, "Initialize Storm Pulumi workspace", initGeneratorFn);
53
53
  function generateNewPulumiProject(tree, options, config) {
54
54
  return () => {
55
55
  const template = _chunkDBLK3NPEjs.getCloudTemplateName.call(void 0, options.provider);
56
- _chunkFN7UDXGGjs.run.call(void 0, config, [
56
+ _chunkPZNCOUPXjs.run.call(void 0, config, [
57
57
  `pulumi new ${template}`,
58
58
  `--name=${options.name || "deployment"}`,
59
59
  `--dir=${options.directory || "./deployment"}`,
@@ -73,7 +73,7 @@ function loginToPulumi(tree, options, config) {
73
73
  if (options.login.startsWith("file://")) {
74
74
  options.login = `file://${tree.root}/${options.directory || "./deployment"}/${options.login.replace("file://", "")}`;
75
75
  }
76
- _chunkFN7UDXGGjs.run.call(void 0, config, [
76
+ _chunkPZNCOUPXjs.run.call(void 0, config, [
77
77
  "pulumi login",
78
78
  options.login
79
79
  ].filter(Boolean).join(" "), _path.join.call(void 0, config.workspaceRoot, options.directory || "./deployment"), "inherit", {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-PZVSIXQ3.mjs";
3
+ } from "./chunk-ND22IR7B.mjs";
4
4
 
5
5
  // src/executors/config/executor.ts
6
6
  var executor_default = withPulumiExecutor("config", (options) => [
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-PZVSIXQ3.mjs";
3
+ } from "./chunk-ND22IR7B.mjs";
4
4
 
5
5
  // src/executors/refresh/executor.ts
6
6
  var executor_default = withPulumiExecutor("refresh", (options) => [
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-PZVSIXQ3.mjs";
3
+ } from "./chunk-ND22IR7B.mjs";
4
4
 
5
5
  // src/executors/up/executor.ts
6
6
  var executor_default = withPulumiExecutor("up", (options) => [
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  run,
3
3
  withRunExecutor
4
- } from "./chunk-JTC66DXK.mjs";
4
+ } from "./chunk-S6KL4KCR.mjs";
5
5
  import {
6
6
  __name
7
- } from "./chunk-XUV4U54K.mjs";
7
+ } from "./chunk-R7DU2APC.mjs";
8
8
 
9
9
  // src/base/base-executor.ts
10
10
  import { join } from "node:path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-PZVSIXQ3.mjs";
3
+ } from "./chunk-ND22IR7B.mjs";
4
4
 
5
5
  // src/executors/preview/executor.ts
6
6
  var executor_default = withPulumiExecutor("preview", (options) => [