@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.
- package/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/dist/{chunk-6DP5HHF5.js → chunk-44G4LNCW.js} +2 -2
- package/dist/{chunk-N3H4DK4E.js → chunk-4OPAJ74D.js} +2 -2
- package/dist/{chunk-IAZVTGHA.js → chunk-5MN7SCNP.js} +2 -2
- package/dist/{chunk-O6PGI6V3.mjs → chunk-BGKTEE7Z.mjs} +3 -3
- package/dist/{chunk-XXWYXYXW.js → chunk-BLJ4SE54.js} +3 -3
- package/dist/{chunk-32GFYKQ3.js → chunk-ENKGOU75.js} +2 -2
- package/dist/{chunk-YXVSSAJ7.js → chunk-F6G2W6JZ.js} +5 -5
- package/dist/{chunk-B5MURCIC.mjs → chunk-GAHTVTEL.mjs} +1 -1
- package/dist/{chunk-ARPHB535.mjs → chunk-KWJNQHAJ.mjs} +1 -1
- package/dist/{chunk-CXWKMDJU.mjs → chunk-M6JZ5ZOS.mjs} +1 -1
- package/dist/{chunk-PZVSIXQ3.mjs → chunk-ND22IR7B.mjs} +2 -2
- package/dist/{chunk-P6YUXTRU.mjs → chunk-PA7ODB26.mjs} +1 -1
- package/dist/{chunk-FN7UDXGG.js → chunk-PZNCOUPX.js} +110 -79
- package/dist/{chunk-GTCRGRK2.mjs → chunk-QPASYUSE.mjs} +1 -1
- package/dist/{chunk-XUV4U54K.mjs → chunk-R7DU2APC.mjs} +1 -1
- package/dist/{chunk-JTC66DXK.mjs → chunk-S6KL4KCR.mjs} +78 -47
- package/dist/{chunk-QY3JQOCP.mjs → chunk-SXWQWAUO.mjs} +1 -1
- package/dist/{chunk-I7VABIBI.js → chunk-XCQQFJA3.js} +2 -2
- package/dist/executors.d.mts +1 -1
- package/dist/executors.d.ts +1 -1
- package/dist/executors.js +7 -7
- package/dist/executors.mjs +8 -8
- package/dist/{generators-tDFGjZKk.d.mts → generators-9HIDBCUE.d.mts} +1 -1
- package/dist/{generators-CDh2w5jS.d.ts → generators-BqtVID0f.d.ts} +1 -1
- package/dist/generators.d.mts +2 -2
- package/dist/generators.d.ts +2 -2
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +4 -4
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +9 -9
- package/dist/index.mjs +10 -10
- package/dist/src/base/base-executor.d.mts +1 -1
- package/dist/src/base/base-executor.d.ts +1 -1
- package/dist/src/base/base-executor.js +3 -3
- package/dist/src/base/base-executor.mjs +3 -3
- package/dist/src/base/index.d.mts +1 -1
- package/dist/src/base/index.d.ts +1 -1
- package/dist/src/base/index.js +3 -3
- package/dist/src/base/index.mjs +4 -4
- package/dist/src/base/providers.mjs +2 -2
- package/dist/src/executors/config/executor.d.mts +1 -1
- package/dist/src/executors/config/executor.d.ts +1 -1
- package/dist/src/executors/config/executor.js +4 -4
- package/dist/src/executors/config/executor.mjs +4 -4
- package/dist/src/executors/import/executor.d.mts +1 -1
- package/dist/src/executors/import/executor.d.ts +1 -1
- package/dist/src/executors/import/executor.js +4 -4
- package/dist/src/executors/import/executor.mjs +4 -4
- package/dist/src/executors/preview/executor.d.mts +1 -1
- package/dist/src/executors/preview/executor.d.ts +1 -1
- package/dist/src/executors/preview/executor.js +4 -4
- package/dist/src/executors/preview/executor.mjs +4 -4
- package/dist/src/executors/refresh/executor.d.mts +1 -1
- package/dist/src/executors/refresh/executor.d.ts +1 -1
- package/dist/src/executors/refresh/executor.js +4 -4
- package/dist/src/executors/refresh/executor.mjs +4 -4
- package/dist/src/executors/up/executor.d.mts +1 -1
- package/dist/src/executors/up/executor.d.ts +1 -1
- package/dist/src/executors/up/executor.js +4 -4
- package/dist/src/executors/up/executor.mjs +4 -4
- package/dist/src/generators/init/generator.d.mts +2 -2
- package/dist/src/generators/init/generator.d.ts +2 -2
- package/dist/src/generators/init/generator.js +3 -3
- package/dist/src/generators/init/generator.mjs +4 -4
- package/dist/tsup.config.mjs +1 -1
- package/dist/{types-CMF_wowV.d.mts → types-HiZpltUX.d.mts} +3 -0
- package/dist/{types-CMF_wowV.d.ts → types-HiZpltUX.d.ts} +3 -0
- 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
|
-
[](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 -->
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkBLJ4SE54js = require('./chunk-BLJ4SE54.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/preview/executor.ts
|
|
6
|
-
var executor_default =
|
|
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
|
|
3
|
+
var _chunkBLJ4SE54js = require('./chunk-BLJ4SE54.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/up/executor.ts
|
|
6
|
-
var executor_default =
|
|
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
|
|
3
|
+
var _chunkBLJ4SE54js = require('./chunk-BLJ4SE54.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/config/executor.ts
|
|
6
|
-
var executor_default =
|
|
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-
|
|
3
|
+
} from "./chunk-QPASYUSE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
initGenerator,
|
|
6
6
|
run,
|
|
7
7
|
withRunGenerator
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-S6KL4KCR.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
|
-
} from "./chunk-
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
|
3
|
+
var _chunkBLJ4SE54js = require('./chunk-BLJ4SE54.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/refresh/executor.ts
|
|
6
|
-
var executor_default =
|
|
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
|
|
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 =
|
|
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 =
|
|
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
|
-
|
|
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
|
-
|
|
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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
run,
|
|
3
3
|
withRunExecutor
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-S6KL4KCR.mjs";
|
|
5
5
|
import {
|
|
6
6
|
__name
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-R7DU2APC.mjs";
|
|
8
8
|
|
|
9
9
|
// src/base/base-executor.ts
|
|
10
10
|
import { join } from "node:path";
|