@storm-software/pulumi-tools 0.7.81 → 0.7.83
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 +16 -0
- package/README.md +1 -1
- package/dist/{chunk-TCPQS3FC.mjs → chunk-2PVTUX4W.mjs} +1 -1
- package/dist/{chunk-J5NVVVHZ.js → chunk-2QARL2O5.js} +2 -2
- package/dist/{chunk-ESHAP37L.mjs → chunk-2TYNPYBU.mjs} +1 -1
- package/dist/{chunk-YTI55E4Z.mjs → chunk-36ZCRXV6.mjs} +1 -1
- package/dist/{chunk-2QAZEBOG.js → chunk-DFUGKUEV.js} +3 -3
- package/dist/{chunk-JWQAUSXZ.mjs → chunk-DIIDXD4R.mjs} +1 -1
- package/dist/{chunk-C6HV3VOH.mjs → chunk-E5AP6CDG.mjs} +1 -1
- package/dist/{chunk-2MM34QNY.mjs → chunk-IWIZJWH3.mjs} +32 -82
- package/dist/{chunk-5ZBO7GC6.js → chunk-N7ZQU3A6.js} +2 -2
- package/dist/{chunk-TRMMILFW.js → chunk-O2YJQKYB.js} +2 -2
- package/dist/{chunk-S3CLNYH2.js → chunk-R3EJZLX2.js} +57 -107
- package/dist/{chunk-XOH426DW.js → chunk-RWNDPKJK.js} +2 -2
- package/dist/{chunk-LVBND7MN.mjs → chunk-SSY3QNGM.mjs} +1 -1
- package/dist/{chunk-IBJKPAXV.mjs → chunk-T6O7JL6L.mjs} +1 -1
- package/dist/{chunk-MHBRG7UB.js → chunk-TXKOR3ID.js} +2 -2
- package/dist/{chunk-QW6YGFF7.js → chunk-ZUJ3PY3K.js} +5 -5
- 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 +34 -11
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Pulumi Tools
|
|
4
4
|
|
|
5
|
+
## [0.7.83](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.7.83) (2025-04-30)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([4b707da15](https://github.com/storm-software/storm-ops/commit/4b707da15))
|
|
11
|
+
|
|
12
|
+
## [0.7.82](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.7.82) (2025-04-30)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **esbuild:** Remove swc plugin for ESBuild
|
|
17
|
+
([ad298c288](https://github.com/storm-software/storm-ops/commit/ad298c288))
|
|
18
|
+
- **monorepo:** Regenerate README markdown files
|
|
19
|
+
([933d45f0b](https://github.com/storm-software/storm-ops/commit/933d45f0b))
|
|
20
|
+
|
|
5
21
|
## [0.7.81](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.7.81) (2025-04-30)
|
|
6
22
|
|
|
7
23
|
### 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 _chunkDFUGKUEVjs = require('./chunk-DFUGKUEV.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/up/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkDFUGKUEVjs.withPulumiExecutor.call(void 0, "up", (options) => [
|
|
7
7
|
"--suppress-progress",
|
|
8
8
|
options.stack && `--stack=${options.stack}`,
|
|
9
9
|
options.skipPreview && "--skip-preview",
|
|
@@ -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 _chunkR3EJZLX2js = require('./chunk-R3EJZLX2.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 _chunkR3EJZLX2js.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
|
+
_chunkR3EJZLX2js.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),
|
|
@@ -314,65 +314,65 @@ function normalizeWindowsPath(input = "") {
|
|
|
314
314
|
var _UNC_REGEX = /^[/\\]{2}/;
|
|
315
315
|
var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
|
|
316
316
|
var _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
|
|
317
|
-
var correctPaths = function(
|
|
318
|
-
if (!
|
|
317
|
+
var correctPaths = function(path4) {
|
|
318
|
+
if (!path4 || path4.length === 0) {
|
|
319
319
|
return ".";
|
|
320
320
|
}
|
|
321
|
-
|
|
322
|
-
const isUNCPath =
|
|
323
|
-
const isPathAbsolute = isAbsolute(
|
|
324
|
-
const trailingSeparator =
|
|
325
|
-
|
|
326
|
-
if (
|
|
321
|
+
path4 = normalizeWindowsPath(path4);
|
|
322
|
+
const isUNCPath = path4.match(_UNC_REGEX);
|
|
323
|
+
const isPathAbsolute = isAbsolute(path4);
|
|
324
|
+
const trailingSeparator = path4[path4.length - 1] === "/";
|
|
325
|
+
path4 = normalizeString(path4, !isPathAbsolute);
|
|
326
|
+
if (path4.length === 0) {
|
|
327
327
|
if (isPathAbsolute) {
|
|
328
328
|
return "/";
|
|
329
329
|
}
|
|
330
330
|
return trailingSeparator ? "./" : ".";
|
|
331
331
|
}
|
|
332
332
|
if (trailingSeparator) {
|
|
333
|
-
|
|
333
|
+
path4 += "/";
|
|
334
334
|
}
|
|
335
|
-
if (_DRIVE_LETTER_RE.test(
|
|
336
|
-
|
|
335
|
+
if (_DRIVE_LETTER_RE.test(path4)) {
|
|
336
|
+
path4 += "/";
|
|
337
337
|
}
|
|
338
338
|
if (isUNCPath) {
|
|
339
339
|
if (!isPathAbsolute) {
|
|
340
|
-
return `//./${
|
|
340
|
+
return `//./${path4}`;
|
|
341
341
|
}
|
|
342
|
-
return `//${
|
|
342
|
+
return `//${path4}`;
|
|
343
343
|
}
|
|
344
|
-
return isPathAbsolute && !isAbsolute(
|
|
344
|
+
return isPathAbsolute && !isAbsolute(path4) ? `/${path4}` : path4;
|
|
345
345
|
};
|
|
346
346
|
var joinPaths = function(...segments) {
|
|
347
|
-
let
|
|
347
|
+
let path4 = "";
|
|
348
348
|
for (const seg of segments) {
|
|
349
349
|
if (!seg) {
|
|
350
350
|
continue;
|
|
351
351
|
}
|
|
352
|
-
if (
|
|
353
|
-
const pathTrailing =
|
|
352
|
+
if (path4.length > 0) {
|
|
353
|
+
const pathTrailing = path4[path4.length - 1] === "/";
|
|
354
354
|
const segLeading = seg[0] === "/";
|
|
355
355
|
const both = pathTrailing && segLeading;
|
|
356
356
|
if (both) {
|
|
357
|
-
|
|
357
|
+
path4 += seg.slice(1);
|
|
358
358
|
} else {
|
|
359
|
-
|
|
359
|
+
path4 += pathTrailing || segLeading ? seg : `/${seg}`;
|
|
360
360
|
}
|
|
361
361
|
} else {
|
|
362
|
-
|
|
362
|
+
path4 += seg;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
return correctPaths(
|
|
365
|
+
return correctPaths(path4);
|
|
366
366
|
};
|
|
367
|
-
function normalizeString(
|
|
367
|
+
function normalizeString(path4, allowAboveRoot) {
|
|
368
368
|
let res = "";
|
|
369
369
|
let lastSegmentLength = 0;
|
|
370
370
|
let lastSlash = -1;
|
|
371
371
|
let dots = 0;
|
|
372
372
|
let char = null;
|
|
373
|
-
for (let index = 0; index <=
|
|
374
|
-
if (index <
|
|
375
|
-
char =
|
|
373
|
+
for (let index = 0; index <= path4.length; ++index) {
|
|
374
|
+
if (index < path4.length) {
|
|
375
|
+
char = path4[index];
|
|
376
376
|
} else if (char === "/") {
|
|
377
377
|
break;
|
|
378
378
|
} else {
|
|
@@ -408,9 +408,9 @@ function normalizeString(path5, allowAboveRoot) {
|
|
|
408
408
|
}
|
|
409
409
|
} else {
|
|
410
410
|
if (res.length > 0) {
|
|
411
|
-
res += `/${
|
|
411
|
+
res += `/${path4.slice(lastSlash + 1, index)}`;
|
|
412
412
|
} else {
|
|
413
|
-
res =
|
|
413
|
+
res = path4.slice(lastSlash + 1, index);
|
|
414
414
|
}
|
|
415
415
|
lastSegmentLength = index - lastSlash - 1;
|
|
416
416
|
}
|
|
@@ -2393,53 +2393,6 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
2393
2393
|
}
|
|
2394
2394
|
};
|
|
2395
2395
|
|
|
2396
|
-
// ../esbuild/src/plugins/resolve-paths.ts
|
|
2397
|
-
import path2 from "node:path";
|
|
2398
|
-
function resolvePathsConfig(options, cwd, projectRoot) {
|
|
2399
|
-
if (options?.compilerOptions?.paths) {
|
|
2400
|
-
const paths = Object.entries(options.compilerOptions.paths);
|
|
2401
|
-
const resolvedPaths = paths.map(([key, paths2]) => {
|
|
2402
|
-
return [key, paths2.map((v) => path2.resolve(cwd, v))];
|
|
2403
|
-
});
|
|
2404
|
-
return Object.fromEntries(resolvedPaths);
|
|
2405
|
-
}
|
|
2406
|
-
if (options.extends) {
|
|
2407
|
-
const extendsPath = path2.resolve(
|
|
2408
|
-
projectRoot ? joinPaths(cwd, projectRoot, options.extends) : joinPaths(cwd, options.extends)
|
|
2409
|
-
);
|
|
2410
|
-
const extendsDir = path2.dirname(extendsPath);
|
|
2411
|
-
const extendsConfig = __require(extendsPath);
|
|
2412
|
-
return resolvePathsConfig(extendsConfig, extendsDir);
|
|
2413
|
-
}
|
|
2414
|
-
return [];
|
|
2415
|
-
}
|
|
2416
|
-
var resolvePathsPlugin = (context) => ({
|
|
2417
|
-
name: "storm:resolve-paths",
|
|
2418
|
-
setup(build3) {
|
|
2419
|
-
const parentTsConfig = build3.initialOptions.tsconfig ? __require(joinPaths(
|
|
2420
|
-
context.workspaceConfig.workspaceRoot,
|
|
2421
|
-
build3.initialOptions.tsconfig.replace(
|
|
2422
|
-
context.workspaceConfig.workspaceRoot,
|
|
2423
|
-
""
|
|
2424
|
-
)
|
|
2425
|
-
)) : __require(joinPaths(context.workspaceConfig.workspaceRoot, "tsconfig.json"));
|
|
2426
|
-
const resolvedTsPaths = resolvePathsConfig(
|
|
2427
|
-
parentTsConfig,
|
|
2428
|
-
context.workspaceConfig.workspaceRoot,
|
|
2429
|
-
context.options.projectRoot
|
|
2430
|
-
);
|
|
2431
|
-
const packagesRegex = new RegExp(
|
|
2432
|
-
`^(${Object.keys(resolvedTsPaths).join("|")})$`
|
|
2433
|
-
);
|
|
2434
|
-
build3.onResolve({ filter: packagesRegex }, (args) => {
|
|
2435
|
-
if (build3.initialOptions.external?.includes(args.path)) {
|
|
2436
|
-
return { path: args.path, external: true };
|
|
2437
|
-
}
|
|
2438
|
-
return { path: `${resolvedTsPaths[args.path][0]}/index.ts` };
|
|
2439
|
-
});
|
|
2440
|
-
}
|
|
2441
|
-
});
|
|
2442
|
-
|
|
2443
2396
|
// ../esbuild/src/context.ts
|
|
2444
2397
|
async function resolveContext(userOptions) {
|
|
2445
2398
|
const projectRoot = userOptions.projectRoot;
|
|
@@ -2519,10 +2472,7 @@ async function resolveContext(userOptions) {
|
|
|
2519
2472
|
),
|
|
2520
2473
|
minify: resolvedOptions.minify || resolvedOptions.mode === "production"
|
|
2521
2474
|
};
|
|
2522
|
-
context.options.esbuildPlugins = [
|
|
2523
|
-
resolvePathsPlugin(context),
|
|
2524
|
-
...context.options.esbuildPlugins ?? []
|
|
2525
|
-
];
|
|
2475
|
+
context.options.esbuildPlugins = [...context.options.esbuildPlugins ?? []];
|
|
2526
2476
|
return context;
|
|
2527
2477
|
}
|
|
2528
2478
|
|
|
@@ -2658,7 +2608,7 @@ async function generatePackageJson(context) {
|
|
|
2658
2608
|
|
|
2659
2609
|
// ../esbuild/src/plugins/deps-check.ts
|
|
2660
2610
|
import { builtinModules as builtinModules2 } from "node:module";
|
|
2661
|
-
import
|
|
2611
|
+
import path2 from "node:path";
|
|
2662
2612
|
var unusedIgnore = [
|
|
2663
2613
|
// these are our dev dependencies
|
|
2664
2614
|
/@types\/.*?/,
|
|
@@ -2687,7 +2637,7 @@ var missingIgnore = [".prisma", "@prisma/client", "ts-toolbelt"];
|
|
|
2687
2637
|
var depsCheckPlugin = (bundle) => ({
|
|
2688
2638
|
name: "storm:deps-check",
|
|
2689
2639
|
setup(build3) {
|
|
2690
|
-
const pkgJsonPath =
|
|
2640
|
+
const pkgJsonPath = path2.join(process.cwd(), "package.json");
|
|
2691
2641
|
const pkgContents = __require(pkgJsonPath);
|
|
2692
2642
|
const regDependencies = Object.keys(pkgContents["dependencies"] ?? {});
|
|
2693
2643
|
const devDependencies = Object.keys(pkgContents["devDependencies"] ?? {});
|
|
@@ -3701,7 +3651,7 @@ import {
|
|
|
3701
3651
|
joinPathFragments as joinPathFragments4,
|
|
3702
3652
|
updateJson as updateJson2
|
|
3703
3653
|
} from "@nx/devkit";
|
|
3704
|
-
import * as
|
|
3654
|
+
import * as path3 from "node:path";
|
|
3705
3655
|
async function presetGeneratorFn(tree, options) {
|
|
3706
3656
|
const projectRoot = ".";
|
|
3707
3657
|
options.description ??= `\u26A1The ${options.namespace ? options.namespace : options.name} monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.`;
|
|
@@ -3849,7 +3799,7 @@ async function presetGeneratorFn(tree, options) {
|
|
|
3849
3799
|
};
|
|
3850
3800
|
return json;
|
|
3851
3801
|
});
|
|
3852
|
-
generateFiles4(tree,
|
|
3802
|
+
generateFiles4(tree, path3.join(__dirname, "files"), projectRoot, {
|
|
3853
3803
|
...options,
|
|
3854
3804
|
pnpmVersion,
|
|
3855
3805
|
nodeVersion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkDFUGKUEVjs = require('./chunk-DFUGKUEV.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/preview/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkDFUGKUEVjs.withPulumiExecutor.call(void 0,
|
|
7
7
|
"preview",
|
|
8
8
|
(options) => [
|
|
9
9
|
options.stack && `--stack=${options.stack}`,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkDFUGKUEVjs = require('./chunk-DFUGKUEV.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/config/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkDFUGKUEVjs.withPulumiExecutor.call(void 0, "config", (options) => [
|
|
7
7
|
options.action,
|
|
8
8
|
options.showSecrets && `--show-secrets`,
|
|
9
9
|
options.secret && `--secret`,
|