@storm-software/pulumi-tools 0.13.6 → 0.13.7

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 CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  # Changelog for Storm Ops - Pulumi Tools
4
4
 
5
+ ## [0.13.6](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.13.6) (2025-05-09)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate README markdown files
10
+ - **monorepo:** Upgrade Nx packages to v21.0.3
11
+ - **monorepo:** Regenerate README markdown files
12
+
5
13
  ## [0.13.5](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.13.5) (2025-05-08)
6
14
 
7
15
  ### Miscellaneous
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.13.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.13.6-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 -->
package/dist/executors.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";require('./chunk-XO62WWX4.js');
2
- require('./chunk-TN5TXK6U.js');
3
2
  require('./chunk-Z4G4HEYH.js');
4
3
  require('./chunk-JZAEYOBB.js');
5
4
  require('./chunk-LZN2NZ7M.js');
6
5
  require('./chunk-X3FJVRKM.js');
6
+ require('./chunk-TN5TXK6U.js');
7
7
  require('./chunk-T2MT263A.js');
8
8
  require('./chunk-7A4FO6Q5.js');
9
9
  require('./chunk-3RG5ZIWI.js');
@@ -1,9 +1,9 @@
1
1
  import "./chunk-UV4HQO3Y.mjs";
2
- import "./chunk-3DJ44M2X.mjs";
3
2
  import "./chunk-TIV4DYZT.mjs";
4
3
  import "./chunk-FZPGAOD3.mjs";
5
4
  import "./chunk-HFLZB64V.mjs";
6
5
  import "./chunk-YTX7SXUV.mjs";
6
+ import "./chunk-3DJ44M2X.mjs";
7
7
  import "./chunk-UJEJIE53.mjs";
8
8
  import "./chunk-PQIHSZEB.mjs";
9
9
  import "./chunk-75RE5W2I.mjs";
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
2
2
 
3
3
 
4
- var _chunkU5MDCWHXjs = require('./chunk-U5MDCWHX.js');
5
- require('./chunk-7A4FO6Q5.js');
4
+ var _chunk37RYOORYjs = require('./chunk-37RYOORY.js');
6
5
  require('./chunk-HUKXHFCA.js');
6
+ require('./chunk-7A4FO6Q5.js');
7
7
  require('./chunk-3RG5ZIWI.js');
8
8
 
9
9
 
10
- exports.initGeneratorFn = _chunkU5MDCWHXjs.initGeneratorFn;
10
+ exports.initGeneratorFn = _chunk37RYOORYjs.initGeneratorFn;
@@ -1,9 +1,9 @@
1
1
  import "./chunk-23KFTIT2.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-2BFARTEO.mjs";
5
- import "./chunk-PQIHSZEB.mjs";
4
+ } from "./chunk-NPN2DABW.mjs";
6
5
  import "./chunk-KPFHCT4A.mjs";
6
+ import "./chunk-PQIHSZEB.mjs";
7
7
  import "./chunk-75RE5W2I.mjs";
8
8
  export {
9
9
  initGeneratorFn
package/dist/index.js CHANGED
@@ -1,26 +1,26 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-XO62WWX4.js');
2
- require('./chunk-TN5TXK6U.js');
3
2
  require('./chunk-Z4G4HEYH.js');
4
3
  require('./chunk-JZAEYOBB.js');
5
4
  require('./chunk-LZN2NZ7M.js');
6
5
  require('./chunk-X3FJVRKM.js');
7
6
  require('./chunk-N2YKXZ5R.js');
8
- require('./chunk-GUQOEBFW.js');
9
7
 
10
8
 
11
- var _chunkT2MT263Ajs = require('./chunk-T2MT263A.js');
9
+ var _chunk37RYOORYjs = require('./chunk-37RYOORY.js');
10
+ require('./chunk-GUQOEBFW.js');
12
11
 
13
12
 
14
- var _chunkU5MDCWHXjs = require('./chunk-U5MDCWHX.js');
15
- require('./chunk-7A4FO6Q5.js');
16
13
 
14
+ var _chunkHUKXHFCAjs = require('./chunk-HUKXHFCA.js');
15
+ require('./chunk-TN5TXK6U.js');
17
16
 
18
17
 
19
- var _chunkHUKXHFCAjs = require('./chunk-HUKXHFCA.js');
18
+ var _chunkT2MT263Ajs = require('./chunk-T2MT263A.js');
19
+ require('./chunk-7A4FO6Q5.js');
20
20
  require('./chunk-3RG5ZIWI.js');
21
21
 
22
22
 
23
23
 
24
24
 
25
25
 
26
- exports.Provider = _chunkHUKXHFCAjs.Provider; exports.getCloudTemplateName = _chunkHUKXHFCAjs.getCloudTemplateName; exports.initGeneratorFn = _chunkU5MDCWHXjs.initGeneratorFn; exports.withPulumiExecutor = _chunkT2MT263Ajs.withPulumiExecutor;
26
+ exports.Provider = _chunkHUKXHFCAjs.Provider; exports.getCloudTemplateName = _chunkHUKXHFCAjs.getCloudTemplateName; exports.initGeneratorFn = _chunk37RYOORYjs.initGeneratorFn; exports.withPulumiExecutor = _chunkT2MT263Ajs.withPulumiExecutor;
package/dist/index.mjs CHANGED
@@ -1,22 +1,22 @@
1
1
  import "./chunk-UV4HQO3Y.mjs";
2
- import "./chunk-3DJ44M2X.mjs";
3
2
  import "./chunk-TIV4DYZT.mjs";
4
3
  import "./chunk-FZPGAOD3.mjs";
5
4
  import "./chunk-HFLZB64V.mjs";
6
5
  import "./chunk-YTX7SXUV.mjs";
7
6
  import "./chunk-23KFTIT2.mjs";
8
- import "./chunk-CA7S5MOH.mjs";
9
- import {
10
- withPulumiExecutor
11
- } from "./chunk-UJEJIE53.mjs";
12
7
  import {
13
8
  initGeneratorFn
14
- } from "./chunk-2BFARTEO.mjs";
15
- import "./chunk-PQIHSZEB.mjs";
9
+ } from "./chunk-NPN2DABW.mjs";
10
+ import "./chunk-CA7S5MOH.mjs";
16
11
  import {
17
12
  Provider,
18
13
  getCloudTemplateName
19
14
  } from "./chunk-KPFHCT4A.mjs";
15
+ import "./chunk-3DJ44M2X.mjs";
16
+ import {
17
+ withPulumiExecutor
18
+ } from "./chunk-UJEJIE53.mjs";
19
+ import "./chunk-PQIHSZEB.mjs";
20
20
  import "./chunk-75RE5W2I.mjs";
21
21
  export {
22
22
  Provider,
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-GUQOEBFW.js');
2
2
 
3
3
 
4
- var _chunkT2MT263Ajs = require('../../chunk-T2MT263A.js');
5
- require('../../chunk-7A4FO6Q5.js');
6
4
 
5
+ var _chunkHUKXHFCAjs = require('../../chunk-HUKXHFCA.js');
7
6
 
8
7
 
9
- var _chunkHUKXHFCAjs = require('../../chunk-HUKXHFCA.js');
8
+ var _chunkT2MT263Ajs = require('../../chunk-T2MT263A.js');
9
+ require('../../chunk-7A4FO6Q5.js');
10
10
  require('../../chunk-3RG5ZIWI.js');
11
11
 
12
12
 
@@ -1,12 +1,12 @@
1
1
  import "../../chunk-CA7S5MOH.mjs";
2
- import {
3
- withPulumiExecutor
4
- } from "../../chunk-UJEJIE53.mjs";
5
- import "../../chunk-PQIHSZEB.mjs";
6
2
  import {
7
3
  Provider,
8
4
  getCloudTemplateName
9
5
  } from "../../chunk-KPFHCT4A.mjs";
6
+ import {
7
+ withPulumiExecutor
8
+ } from "../../chunk-UJEJIE53.mjs";
9
+ import "../../chunk-PQIHSZEB.mjs";
10
10
  import "../../chunk-75RE5W2I.mjs";
11
11
  export {
12
12
  Provider,
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkU5MDCWHXjs = require('../../../chunk-U5MDCWHX.js');
5
- require('../../../chunk-7A4FO6Q5.js');
4
+ var _chunk37RYOORYjs = require('../../../chunk-37RYOORY.js');
6
5
  require('../../../chunk-HUKXHFCA.js');
6
+ require('../../../chunk-7A4FO6Q5.js');
7
7
  require('../../../chunk-3RG5ZIWI.js');
8
8
 
9
9
 
10
10
 
11
- exports.default = _chunkU5MDCWHXjs.generator_default; exports.initGeneratorFn = _chunkU5MDCWHXjs.initGeneratorFn;
11
+ exports.default = _chunk37RYOORYjs.generator_default; exports.initGeneratorFn = _chunk37RYOORYjs.initGeneratorFn;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generator_default,
3
3
  initGeneratorFn
4
- } from "../../../chunk-2BFARTEO.mjs";
5
- import "../../../chunk-PQIHSZEB.mjs";
4
+ } from "../../../chunk-NPN2DABW.mjs";
6
5
  import "../../../chunk-KPFHCT4A.mjs";
6
+ import "../../../chunk-PQIHSZEB.mjs";
7
7
  import "../../../chunk-75RE5W2I.mjs";
8
8
  export {
9
9
  generator_default as default,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/pulumi-tools",
3
- "version": "0.13.6",
3
+ "version": "0.13.7",
4
4
  "type": "commonjs",
5
5
  "description": "Tools for managing Pulumi infrastructure within a Nx workspace.",
6
6
  "repository": {
@@ -1,133 +0,0 @@
1
- import {
2
- initGenerator,
3
- run,
4
- withRunGenerator
5
- } from "./chunk-PQIHSZEB.mjs";
6
- import {
7
- getCloudTemplateName
8
- } from "./chunk-KPFHCT4A.mjs";
9
-
10
- // src/generators/init/generator.ts
11
- import {
12
- addDependenciesToPackageJson,
13
- addProjectConfiguration,
14
- formatFiles,
15
- readJsonFile,
16
- runTasksInSerial
17
- } from "@nx/devkit";
18
- import { readFileSync, unlinkSync } from "node:fs";
19
- import { join } from "node:path";
20
- async function initGeneratorFn(tree, options, config) {
21
- const task = initGenerator(tree, options);
22
- addProjectConfiguration(tree, options.name || "deployment", {
23
- root: options.directory || "./deployment",
24
- projectType: "application",
25
- sourceRoot: options.directory || "./deployment",
26
- targets: {
27
- up: {
28
- executor: "@nx-extend/pulumi:up",
29
- options: {}
30
- },
31
- preview: {
32
- executor: "@nx-extend/pulumi:preview",
33
- options: {}
34
- },
35
- refresh: {
36
- executor: "@nx-extend/pulumi:refresh",
37
- options: {}
38
- },
39
- import: {
40
- executor: "@nx-extend/pulumi:import",
41
- options: {}
42
- }
43
- },
44
- tags: ["infra:pulumi"]
45
- });
46
- await runTasksInSerial(
47
- generateNewPulumiProject(tree, options, config),
48
- loginToPulumi(tree, options, config),
49
- addPulumiDeps(tree, options),
50
- cleanupProject(tree, options)
51
- )();
52
- if (!options.skipFormat) {
53
- await formatFiles(tree);
54
- }
55
- return task;
56
- }
57
- var generator_default = withRunGenerator(
58
- "Initialize Storm Pulumi workspace",
59
- initGeneratorFn
60
- );
61
- function generateNewPulumiProject(tree, options, config) {
62
- return () => {
63
- const template = getCloudTemplateName(options.provider);
64
- run(
65
- config,
66
- [
67
- `pulumi new ${template}`,
68
- `--name=${options.name || "deployment"}`,
69
- `--dir=${options.directory || "./deployment"}`,
70
- options.secretsProvider && `--secrets-provider=${options.secretsProvider}`,
71
- "--generate-only",
72
- "--yes",
73
- "--force"
74
- ].filter(Boolean).join(" "),
75
- join(config.workspaceRoot, options.directory || "./deployment"),
76
- "inherit"
77
- );
78
- };
79
- }
80
- function loginToPulumi(tree, options, config) {
81
- return () => {
82
- if (!options.login) {
83
- return;
84
- }
85
- if (options.login.startsWith("file://")) {
86
- options.login = `file://${tree.root}/${options.directory || "./deployment"}/${options.login.replace("file://", "")}`;
87
- }
88
- run(
89
- config,
90
- ["pulumi login", options.login].filter(Boolean).join(" "),
91
- join(config.workspaceRoot, options.directory || "./deployment"),
92
- "inherit",
93
- {
94
- ...process.env,
95
- PULUMI_EXPERIMENTAL: "true"
96
- }
97
- );
98
- };
99
- }
100
- function addPulumiDeps(tree, options) {
101
- return () => {
102
- const packageJson = readJsonFile(`${options.directory}/package.json`);
103
- if (packageJson) {
104
- addDependenciesToPackageJson(tree, {}, packageJson.dependencies || {})();
105
- }
106
- };
107
- }
108
- function cleanupProject(tree, options) {
109
- return () => {
110
- const indexTsLocation = join(
111
- tree.root,
112
- `${options.directory || "./deployment"}/index.ts`
113
- );
114
- tree.write(
115
- `${options.directory}/pulumi.ts`,
116
- readFileSync(indexTsLocation).toString()
117
- );
118
- unlinkSync(
119
- join(tree.root, `${options.directory || "./deployment"}/.gitignore`)
120
- );
121
- unlinkSync(
122
- join(tree.root, `${options.directory || "./deployment"}/package.json`)
123
- );
124
- unlinkSync(
125
- join(tree.root, `${options.directory || "./deployment"}/tsconfig.json`)
126
- );
127
- };
128
- }
129
-
130
- export {
131
- initGeneratorFn,
132
- generator_default
133
- };
@@ -1,133 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
- var _chunk7A4FO6Q5js = require('./chunk-7A4FO6Q5.js');
6
-
7
-
8
- var _chunkHUKXHFCAjs = require('./chunk-HUKXHFCA.js');
9
-
10
- // src/generators/init/generator.ts
11
-
12
-
13
-
14
-
15
-
16
-
17
- var _devkit = require('@nx/devkit');
18
- var _fs = require('fs');
19
- var _path = require('path');
20
- async function initGeneratorFn(tree, options, config) {
21
- const task = _chunk7A4FO6Q5js.initGenerator.call(void 0, tree, options);
22
- _devkit.addProjectConfiguration.call(void 0, tree, options.name || "deployment", {
23
- root: options.directory || "./deployment",
24
- projectType: "application",
25
- sourceRoot: options.directory || "./deployment",
26
- targets: {
27
- up: {
28
- executor: "@nx-extend/pulumi:up",
29
- options: {}
30
- },
31
- preview: {
32
- executor: "@nx-extend/pulumi:preview",
33
- options: {}
34
- },
35
- refresh: {
36
- executor: "@nx-extend/pulumi:refresh",
37
- options: {}
38
- },
39
- import: {
40
- executor: "@nx-extend/pulumi:import",
41
- options: {}
42
- }
43
- },
44
- tags: ["infra:pulumi"]
45
- });
46
- await _devkit.runTasksInSerial.call(void 0,
47
- generateNewPulumiProject(tree, options, config),
48
- loginToPulumi(tree, options, config),
49
- addPulumiDeps(tree, options),
50
- cleanupProject(tree, options)
51
- )();
52
- if (!options.skipFormat) {
53
- await _devkit.formatFiles.call(void 0, tree);
54
- }
55
- return task;
56
- }
57
- var generator_default = _chunk7A4FO6Q5js.withRunGenerator.call(void 0,
58
- "Initialize Storm Pulumi workspace",
59
- initGeneratorFn
60
- );
61
- function generateNewPulumiProject(tree, options, config) {
62
- return () => {
63
- const template = _chunkHUKXHFCAjs.getCloudTemplateName.call(void 0, options.provider);
64
- _chunk7A4FO6Q5js.run.call(void 0,
65
- config,
66
- [
67
- `pulumi new ${template}`,
68
- `--name=${options.name || "deployment"}`,
69
- `--dir=${options.directory || "./deployment"}`,
70
- options.secretsProvider && `--secrets-provider=${options.secretsProvider}`,
71
- "--generate-only",
72
- "--yes",
73
- "--force"
74
- ].filter(Boolean).join(" "),
75
- _path.join.call(void 0, config.workspaceRoot, options.directory || "./deployment"),
76
- "inherit"
77
- );
78
- };
79
- }
80
- function loginToPulumi(tree, options, config) {
81
- return () => {
82
- if (!options.login) {
83
- return;
84
- }
85
- if (options.login.startsWith("file://")) {
86
- options.login = `file://${tree.root}/${options.directory || "./deployment"}/${options.login.replace("file://", "")}`;
87
- }
88
- _chunk7A4FO6Q5js.run.call(void 0,
89
- config,
90
- ["pulumi login", options.login].filter(Boolean).join(" "),
91
- _path.join.call(void 0, config.workspaceRoot, options.directory || "./deployment"),
92
- "inherit",
93
- {
94
- ...process.env,
95
- PULUMI_EXPERIMENTAL: "true"
96
- }
97
- );
98
- };
99
- }
100
- function addPulumiDeps(tree, options) {
101
- return () => {
102
- const packageJson = _devkit.readJsonFile.call(void 0, `${options.directory}/package.json`);
103
- if (packageJson) {
104
- _devkit.addDependenciesToPackageJson.call(void 0, tree, {}, packageJson.dependencies || {})();
105
- }
106
- };
107
- }
108
- function cleanupProject(tree, options) {
109
- return () => {
110
- const indexTsLocation = _path.join.call(void 0,
111
- tree.root,
112
- `${options.directory || "./deployment"}/index.ts`
113
- );
114
- tree.write(
115
- `${options.directory}/pulumi.ts`,
116
- _fs.readFileSync.call(void 0, indexTsLocation).toString()
117
- );
118
- _fs.unlinkSync.call(void 0,
119
- _path.join.call(void 0, tree.root, `${options.directory || "./deployment"}/.gitignore`)
120
- );
121
- _fs.unlinkSync.call(void 0,
122
- _path.join.call(void 0, tree.root, `${options.directory || "./deployment"}/package.json`)
123
- );
124
- _fs.unlinkSync.call(void 0,
125
- _path.join.call(void 0, tree.root, `${options.directory || "./deployment"}/tsconfig.json`)
126
- );
127
- };
128
- }
129
-
130
-
131
-
132
-
133
- exports.initGeneratorFn = initGeneratorFn; exports.generator_default = generator_default;