@storm-software/pulumi-tools 0.22.82 → 0.22.84
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 +15 -0
- package/dist/{chunk-NTO7Q3J2.mjs → chunk-3DDE7EIK.mjs} +43 -7
- package/dist/{chunk-PZGFEH6I.mjs → chunk-4HXMDUCR.mjs} +1 -1
- package/dist/{chunk-XZKYO7DL.mjs → chunk-FGOXYPYY.mjs} +1 -1
- package/dist/{chunk-QVVTDFBA.mjs → chunk-IS46U4WT.mjs} +1 -1
- package/dist/{chunk-XFUPJE4H.js → chunk-JC2DM6DH.js} +3 -3
- package/dist/{chunk-CUMXSI2M.js → chunk-LLG5RXZJ.js} +5 -5
- package/dist/{chunk-ZIUFHALV.mjs → chunk-O7GYVOME.mjs} +1 -1
- package/dist/{chunk-V6WZQ2NQ.mjs → chunk-PYUPGTAW.mjs} +1 -1
- package/dist/{chunk-3JIHLSK5.js → chunk-R5C2S5BC.js} +116 -80
- package/dist/{chunk-XBXW7A2X.js → chunk-RQTRIGX6.js} +2 -2
- package/dist/{chunk-4CE7A26A.js → chunk-RZB4WZN4.js} +2 -2
- package/dist/{chunk-7K5XAPCJ.js → chunk-UQ5M4O62.js} +2 -2
- package/dist/{chunk-LDIYARDU.mjs → chunk-XYHXG6YA.mjs} +1 -1
- package/dist/{chunk-W6SC5ZXK.js → chunk-YBUJ6IO6.js} +2 -2
- package/dist/{chunk-KPWQTDUP.js → chunk-YR6E5OCQ.js} +2 -2
- package/dist/{chunk-GSHWQR6K.mjs → chunk-YSZZOI37.mjs} +1 -1
- package/dist/executors.js +7 -7
- package/dist/executors.mjs +7 -7
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +2 -2
- package/dist/index.js +9 -9
- package/dist/index.mjs +8 -8
- package/dist/src/base/base-executor.js +3 -3
- package/dist/src/base/base-executor.mjs +2 -2
- package/dist/src/base/index.js +3 -3
- package/dist/src/base/index.mjs +2 -2
- package/dist/src/executors/config/executor.js +4 -4
- package/dist/src/executors/config/executor.mjs +3 -3
- package/dist/src/executors/import/executor.js +4 -4
- package/dist/src/executors/import/executor.mjs +3 -3
- package/dist/src/executors/preview/executor.js +4 -4
- package/dist/src/executors/preview/executor.mjs +3 -3
- package/dist/src/executors/refresh/executor.js +4 -4
- package/dist/src/executors/refresh/executor.mjs +3 -3
- package/dist/src/executors/up/executor.js +4 -4
- package/dist/src/executors/up/executor.mjs +3 -3
- package/dist/src/generators/init/generator.js +3 -3
- package/dist/src/generators/init/generator.mjs +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Pulumi Tools
|
|
4
4
|
|
|
5
|
+
## [0.22.83](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.22.83) (01/22/2026)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **workspace-tools** to **v1.294.27**
|
|
10
|
+
- Updated **config-tools** to **v1.189.0**
|
|
11
|
+
- Updated **config** to **v1.135.1**
|
|
12
|
+
|
|
13
|
+
## [0.22.82](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.22.82) (01/14/2026)
|
|
14
|
+
|
|
15
|
+
### Updated Dependencies
|
|
16
|
+
|
|
17
|
+
- Updated **workspace-tools** to **v1.294.26**
|
|
18
|
+
- Updated **config-tools** to **v1.188.80**
|
|
19
|
+
|
|
5
20
|
## [0.22.81](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.22.81) (01/14/2026)
|
|
6
21
|
|
|
7
22
|
### Updated Dependencies
|
|
@@ -90,6 +90,35 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
90
90
|
gradient: ["#1fb2a6", "#db2777", "#818cf8"]
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
|
+
function getColors(config) {
|
|
94
|
+
if (!config?.colors || typeof config.colors !== "object" || !config.colors["dark"] && (!config.colors["base"] || typeof config.colors !== "object" || !config.colors["base"]?.["dark"])) {
|
|
95
|
+
return DEFAULT_COLOR_CONFIG;
|
|
96
|
+
}
|
|
97
|
+
if (config.colors["base"]) {
|
|
98
|
+
if (typeof config.colors["base"]["dark"] === "object") {
|
|
99
|
+
return config.colors["base"]["dark"];
|
|
100
|
+
} else if (config.colors["base"]["dark"] === "string") {
|
|
101
|
+
return config.colors["base"];
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
if (typeof config.colors["dark"] === "object") {
|
|
105
|
+
return config.colors["dark"];
|
|
106
|
+
}
|
|
107
|
+
return config.colors ?? DEFAULT_COLOR_CONFIG;
|
|
108
|
+
}
|
|
109
|
+
function getColor(key, config) {
|
|
110
|
+
const colors = getColors(config);
|
|
111
|
+
const result = (typeof colors["dark"] === "object" ? colors["dark"][key] : colors[key]) || DEFAULT_COLOR_CONFIG["dark"][key] || DEFAULT_COLOR_CONFIG[key];
|
|
112
|
+
if (result) {
|
|
113
|
+
return result;
|
|
114
|
+
}
|
|
115
|
+
if (key === "link" || key === "debug") {
|
|
116
|
+
return getColor("info", config);
|
|
117
|
+
} else if (key === "fatal") {
|
|
118
|
+
return getColor("danger", config);
|
|
119
|
+
}
|
|
120
|
+
return getColor("brand", config);
|
|
121
|
+
}
|
|
93
122
|
|
|
94
123
|
// ../config-tools/src/logger/chalk.ts
|
|
95
124
|
import chalk from "chalk";
|
|
@@ -356,6 +385,7 @@ var _isFunction = (value) => {
|
|
|
356
385
|
return false;
|
|
357
386
|
}
|
|
358
387
|
};
|
|
388
|
+
var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
|
|
359
389
|
|
|
360
390
|
// ../config-tools/src/utilities/correct-paths.ts
|
|
361
391
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
@@ -2166,7 +2196,10 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
2166
2196
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot2;
|
|
2167
2197
|
const projectName = context.projectName;
|
|
2168
2198
|
config.workspaceRoot = workspaceRoot2;
|
|
2169
|
-
writeInfo(
|
|
2199
|
+
writeInfo(
|
|
2200
|
+
`${brandIcon(config)} Running the ${name} executor for ${projectName} `,
|
|
2201
|
+
config
|
|
2202
|
+
);
|
|
2170
2203
|
if (!executorOptions.skipReadingConfig) {
|
|
2171
2204
|
writeTrace(
|
|
2172
2205
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
@@ -2279,9 +2312,12 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
2279
2312
|
let options = _options;
|
|
2280
2313
|
let config;
|
|
2281
2314
|
try {
|
|
2282
|
-
writeInfo(
|
|
2315
|
+
writeInfo(
|
|
2316
|
+
`${brandIcon(config)} Running the ${name} generator...
|
|
2283
2317
|
|
|
2284
|
-
`,
|
|
2318
|
+
`,
|
|
2319
|
+
config
|
|
2320
|
+
);
|
|
2285
2321
|
const workspaceRoot2 = findWorkspaceRoot();
|
|
2286
2322
|
if (!generatorOptions.skipReadingConfig) {
|
|
2287
2323
|
writeDebug(
|
|
@@ -2616,12 +2652,12 @@ var LARGE_BUFFER2 = 1024 * 1e6;
|
|
|
2616
2652
|
// ../build-tools/src/config.ts
|
|
2617
2653
|
var DEFAULT_JS_BANNER = `
|
|
2618
2654
|
// ---------------------------------------
|
|
2619
|
-
// \
|
|
2655
|
+
// \u{1F5F2} Built by Storm Software
|
|
2620
2656
|
// ---------------------------------------
|
|
2621
2657
|
`;
|
|
2622
2658
|
var DEFAULT_CSS_BANNER = `
|
|
2623
2659
|
/* ---------------------------------------
|
|
2624
|
-
\
|
|
2660
|
+
\u{1F5F2} Built by Storm Software
|
|
2625
2661
|
--------------------------------------- */
|
|
2626
2662
|
`;
|
|
2627
2663
|
var DEFAULT_ENVIRONMENT = "production";
|
|
@@ -3281,7 +3317,7 @@ async function cleanOutputPath(context) {
|
|
|
3281
3317
|
return context;
|
|
3282
3318
|
}
|
|
3283
3319
|
async function build2(options) {
|
|
3284
|
-
writeDebug(`
|
|
3320
|
+
writeDebug(` ${brandIcon()} Executing Storm ESBuild pipeline`);
|
|
3285
3321
|
const stopwatch = getStopwatch("ESBuild pipeline");
|
|
3286
3322
|
try {
|
|
3287
3323
|
const opts = Array.isArray(options) ? options : [options];
|
|
@@ -3857,7 +3893,7 @@ async function cleanOutputPath2(options) {
|
|
|
3857
3893
|
return options;
|
|
3858
3894
|
}
|
|
3859
3895
|
async function build3(options) {
|
|
3860
|
-
writeDebug(`
|
|
3896
|
+
writeDebug(` ${brandIcon()} Executing Storm TSDown pipeline`);
|
|
3861
3897
|
const stopwatch = getStopwatch("TSDown pipeline");
|
|
3862
3898
|
try {
|
|
3863
3899
|
const opts = Array.isArray(options) ? options : [options];
|
|
@@ -1,13 +1,13 @@
|
|
|
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 _chunkR5C2S5BCjs = require('./chunk-R5C2S5BC.js');
|
|
5
5
|
|
|
6
6
|
// src/base/base-executor.ts
|
|
7
7
|
var _path = require('path');
|
|
8
8
|
var _shelljs = require('shelljs');
|
|
9
9
|
var withPulumiExecutor = (command, argsMapper, executorOptions = {}) => async (_options, context) => {
|
|
10
|
-
return
|
|
10
|
+
return _chunkR5C2S5BCjs.withRunExecutor.call(void 0,
|
|
11
11
|
`Pulumi \`${command}\` Command Executor`,
|
|
12
12
|
async (options, context2, config) => {
|
|
13
13
|
if (!_shelljs.which.call(void 0, "pulumi")) {
|
|
@@ -21,7 +21,7 @@ var withPulumiExecutor = (command, argsMapper, executorOptions = {}) => async (_
|
|
|
21
21
|
);
|
|
22
22
|
}
|
|
23
23
|
const { sourceRoot } = context2.projectsConfigurations.projects[context2.projectName];
|
|
24
|
-
|
|
24
|
+
_chunkR5C2S5BCjs.run.call(void 0,
|
|
25
25
|
config,
|
|
26
26
|
["pulumi", command, ...argsMapper(options)].filter(Boolean).join(" "),
|
|
27
27
|
_path.join.call(void 0, config.workspaceRoot, options.root || sourceRoot),
|
|
@@ -5,7 +5,7 @@ var _chunkQDPXTR73js = require('./chunk-QDPXTR73.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkR5C2S5BCjs = require('./chunk-R5C2S5BC.js');
|
|
9
9
|
|
|
10
10
|
// src/generators/init/generator.ts
|
|
11
11
|
|
|
@@ -18,7 +18,7 @@ var _devkit = require('@nx/devkit');
|
|
|
18
18
|
var _fs = require('fs');
|
|
19
19
|
var _path = require('path');
|
|
20
20
|
async function initGeneratorFn(tree, options, config) {
|
|
21
|
-
const task =
|
|
21
|
+
const task = _chunkR5C2S5BCjs.initGenerator.call(void 0, tree, options);
|
|
22
22
|
_devkit.addProjectConfiguration.call(void 0, tree, options.name || "deployment", {
|
|
23
23
|
root: options.directory || "./deployment",
|
|
24
24
|
projectType: "application",
|
|
@@ -54,14 +54,14 @@ async function initGeneratorFn(tree, options, config) {
|
|
|
54
54
|
}
|
|
55
55
|
return task;
|
|
56
56
|
}
|
|
57
|
-
var generator_default =
|
|
57
|
+
var generator_default = _chunkR5C2S5BCjs.withRunGenerator.call(void 0,
|
|
58
58
|
"Initialize Storm Pulumi workspace",
|
|
59
59
|
initGeneratorFn
|
|
60
60
|
);
|
|
61
61
|
function generateNewPulumiProject(tree, options, config) {
|
|
62
62
|
return () => {
|
|
63
63
|
const template = _chunkQDPXTR73js.getCloudTemplateName.call(void 0, options.provider);
|
|
64
|
-
|
|
64
|
+
_chunkR5C2S5BCjs.run.call(void 0,
|
|
65
65
|
config,
|
|
66
66
|
[
|
|
67
67
|
`pulumi new ${template}`,
|
|
@@ -85,7 +85,7 @@ function loginToPulumi(tree, options, config) {
|
|
|
85
85
|
if (options.login.startsWith("file://")) {
|
|
86
86
|
options.login = `file://${tree.root}/${options.directory || "./deployment"}/${options.login.replace("file://", "")}`;
|
|
87
87
|
}
|
|
88
|
-
|
|
88
|
+
_chunkR5C2S5BCjs.run.call(void 0,
|
|
89
89
|
config,
|
|
90
90
|
["pulumi login", options.login].filter(Boolean).join(" "),
|
|
91
91
|
_path.join.call(void 0, config.workspaceRoot, options.directory || "./deployment"),
|