@storm-software/pulumi-tools 0.22.168 → 0.22.170

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 (41) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-3SVGCN73.mjs → chunk-5DBIC6ZN.mjs} +1 -1
  4. package/dist/{chunk-P552N3PT.mjs → chunk-ALUQ7ICW.mjs} +1 -1
  5. package/dist/{chunk-PQ6XFEQB.mjs → chunk-ET27VAFF.mjs} +1 -1
  6. package/dist/{chunk-NYMN2J3X.js → chunk-G564AUFG.js} +2 -2
  7. package/dist/{chunk-GRRMX4KY.mjs → chunk-GA54FTOB.mjs} +1 -1
  8. package/dist/{chunk-LFHSBROA.mjs → chunk-GHIDXFV5.mjs} +1 -1
  9. package/dist/{chunk-NK34TZVX.js → chunk-GXIXVXJA.js} +2 -2
  10. package/dist/{chunk-ZMVB3CEV.js → chunk-ITNEP5GM.js} +3 -3
  11. package/dist/{chunk-JKDC6PI6.mjs → chunk-J3ZY3WO7.mjs} +1 -1
  12. package/dist/{chunk-4L5OGFUW.mjs → chunk-JEWGCKNZ.mjs} +1 -1
  13. package/dist/{chunk-3CNEZ55O.js → chunk-OEWFJIG2.js} +2 -2
  14. package/dist/{chunk-ZCV7AEBU.js → chunk-QKWYW3ZO.js} +2 -2
  15. package/dist/{chunk-YI4Y2ZHF.js → chunk-RIB6FLIU.js} +5 -5
  16. package/dist/{chunk-ACTSAVFC.js → chunk-TDMZH4A6.js} +2 -2
  17. package/dist/{chunk-RKX5GTWS.js → chunk-TSH47XW6.js} +17 -13
  18. package/dist/{chunk-645QEM6C.mjs → chunk-Y433VZBW.mjs} +17 -13
  19. package/dist/executors.js +7 -7
  20. package/dist/executors.mjs +7 -7
  21. package/dist/generators.js +3 -3
  22. package/dist/generators.mjs +2 -2
  23. package/dist/index.js +9 -9
  24. package/dist/index.mjs +8 -8
  25. package/dist/src/base/base-executor.js +3 -3
  26. package/dist/src/base/base-executor.mjs +2 -2
  27. package/dist/src/base/index.js +3 -3
  28. package/dist/src/base/index.mjs +2 -2
  29. package/dist/src/executors/config/executor.js +4 -4
  30. package/dist/src/executors/config/executor.mjs +3 -3
  31. package/dist/src/executors/import/executor.js +4 -4
  32. package/dist/src/executors/import/executor.mjs +3 -3
  33. package/dist/src/executors/preview/executor.js +4 -4
  34. package/dist/src/executors/preview/executor.mjs +3 -3
  35. package/dist/src/executors/refresh/executor.js +4 -4
  36. package/dist/src/executors/refresh/executor.mjs +3 -3
  37. package/dist/src/executors/up/executor.js +4 -4
  38. package/dist/src/executors/up/executor.mjs +3 -3
  39. package/dist/src/generators/init/generator.js +3 -3
  40. package/dist/src/generators/init/generator.mjs +2 -2
  41. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  # Changelog for Storm Ops - Pulumi Tools
4
4
 
5
+ ## [0.22.169](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.22.169) (04/14/2026)
6
+
7
+ ### Documentation
8
+
9
+ - **monorepo:** Update workspace's `README.md` files ([7d41882b7](https://github.com/storm-software/storm-ops/commit/7d41882b7))
10
+
11
+ ### Updated Dependencies
12
+
13
+ - Updated **workspace-tools** to **v1.295.54**
14
+
15
+ ## [0.22.168](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.22.168) (04/14/2026)
16
+
17
+ ### Miscellaneous
18
+
19
+ - **monorepo:** Update workspace packages' dependencies ([3a2b8a77e](https://github.com/storm-software/storm-ops/commit/3a2b8a77e))
20
+
21
+ ### Updated Dependencies
22
+
23
+ - Updated **workspace-tools** to **v1.295.53**
24
+ - Updated **config-tools** to **v1.189.77**
25
+ - Updated **config** to **v1.137.31**
26
+
5
27
  ## [0.22.167](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.22.167) (04/13/2026)
6
28
 
7
29
  ### Bug Fixes
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.22.166-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)
30
+ [![Version](https://img.shields.io/badge/version-0.22.169-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)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-P552N3PT.mjs";
3
+ } from "./chunk-ALUQ7ICW.mjs";
4
4
 
5
5
  // src/executors/refresh/executor.ts
6
6
  var executor_default = withPulumiExecutor("refresh", (options) => [
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  run,
3
3
  withRunExecutor
4
- } from "./chunk-645QEM6C.mjs";
4
+ } from "./chunk-Y433VZBW.mjs";
5
5
 
6
6
  // src/base/base-executor.ts
7
7
  import { join } from "node:path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-P552N3PT.mjs";
3
+ } from "./chunk-ALUQ7ICW.mjs";
4
4
 
5
5
  // src/executors/preview/executor.ts
6
6
  var executor_default = withPulumiExecutor("preview", (options) => [
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZMVB3CEVjs = require('./chunk-ZMVB3CEV.js');
3
+ var _chunkITNEP5GMjs = require('./chunk-ITNEP5GM.js');
4
4
 
5
5
  // src/executors/up/executor.ts
6
- var executor_default = _chunkZMVB3CEVjs.withPulumiExecutor.call(void 0, "up", (options) => [
6
+ var executor_default = _chunkITNEP5GMjs.withPulumiExecutor.call(void 0, "up", (options) => [
7
7
  "--suppress-progress",
8
8
  options.stack && `--stack=${options.stack}`,
9
9
  options.skipPreview && "--skip-preview",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-P552N3PT.mjs";
3
+ } from "./chunk-ALUQ7ICW.mjs";
4
4
 
5
5
  // src/executors/import/executor.ts
6
6
  var executor_default = withPulumiExecutor("import", (options) => [
@@ -5,7 +5,7 @@ import {
5
5
  initGenerator,
6
6
  run,
7
7
  withRunGenerator
8
- } from "./chunk-645QEM6C.mjs";
8
+ } from "./chunk-Y433VZBW.mjs";
9
9
 
10
10
  // src/generators/init/generator.ts
11
11
  import {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZMVB3CEVjs = require('./chunk-ZMVB3CEV.js');
3
+ var _chunkITNEP5GMjs = require('./chunk-ITNEP5GM.js');
4
4
 
5
5
  // src/executors/preview/executor.ts
6
- var executor_default = _chunkZMVB3CEVjs.withPulumiExecutor.call(void 0, "preview", (options) => [
6
+ var executor_default = _chunkITNEP5GMjs.withPulumiExecutor.call(void 0, "preview", (options) => [
7
7
  options.stack && `--stack=${options.stack}`,
8
8
  options.expectNoChanges && "--expect-no-changes"
9
9
  ]);
@@ -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 _chunkRKX5GTWSjs = require('./chunk-RKX5GTWS.js');
4
+ var _chunkTSH47XW6js = require('./chunk-TSH47XW6.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 _chunkRKX5GTWSjs.withRunExecutor.call(void 0,
10
+ return _chunkTSH47XW6js.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
- _chunkRKX5GTWSjs.run.call(void 0,
24
+ _chunkTSH47XW6js.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),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-P552N3PT.mjs";
3
+ } from "./chunk-ALUQ7ICW.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-P552N3PT.mjs";
3
+ } from "./chunk-ALUQ7ICW.mjs";
4
4
 
5
5
  // src/executors/up/executor.ts
6
6
  var executor_default = withPulumiExecutor("up", (options) => [
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZMVB3CEVjs = require('./chunk-ZMVB3CEV.js');
3
+ var _chunkITNEP5GMjs = require('./chunk-ITNEP5GM.js');
4
4
 
5
5
  // src/executors/import/executor.ts
6
- var executor_default = _chunkZMVB3CEVjs.withPulumiExecutor.call(void 0, "import", (options) => [
6
+ var executor_default = _chunkITNEP5GMjs.withPulumiExecutor.call(void 0, "import", (options) => [
7
7
  options.target,
8
8
  options.name,
9
9
  options.id,
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZMVB3CEVjs = require('./chunk-ZMVB3CEV.js');
3
+ var _chunkITNEP5GMjs = require('./chunk-ITNEP5GM.js');
4
4
 
5
5
  // src/executors/config/executor.ts
6
- var executor_default = _chunkZMVB3CEVjs.withPulumiExecutor.call(void 0, "config", (options) => [
6
+ var executor_default = _chunkITNEP5GMjs.withPulumiExecutor.call(void 0, "config", (options) => [
7
7
  options.action,
8
8
  options.showSecrets && `--show-secrets`,
9
9
  options.secret && `--secret`,
@@ -5,7 +5,7 @@ var _chunkQDPXTR73js = require('./chunk-QDPXTR73.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkRKX5GTWSjs = require('./chunk-RKX5GTWS.js');
8
+ var _chunkTSH47XW6js = require('./chunk-TSH47XW6.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 = _chunkRKX5GTWSjs.initGenerator.call(void 0, tree, options);
21
+ const task = _chunkTSH47XW6js.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 = _chunkRKX5GTWSjs.withRunGenerator.call(void 0,
57
+ var generator_default = _chunkTSH47XW6js.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
- _chunkRKX5GTWSjs.run.call(void 0,
64
+ _chunkTSH47XW6js.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
- _chunkRKX5GTWSjs.run.call(void 0,
88
+ _chunkTSH47XW6js.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"),
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZMVB3CEVjs = require('./chunk-ZMVB3CEV.js');
3
+ var _chunkITNEP5GMjs = require('./chunk-ITNEP5GM.js');
4
4
 
5
5
  // src/executors/refresh/executor.ts
6
- var executor_default = _chunkZMVB3CEVjs.withPulumiExecutor.call(void 0, "refresh", (options) => [
6
+ var executor_default = _chunkITNEP5GMjs.withPulumiExecutor.call(void 0, "refresh", (options) => [
7
7
  "--suppress-progress",
8
8
  options.stack && `--stack=${options.stack}`,
9
9
  options.skipPreview && "--skip-preview",
@@ -2477,7 +2477,9 @@ var buildCargoCommand = (baseCommand, options, context) => {
2477
2477
  args.push(`+${options.toolchain}`);
2478
2478
  }
2479
2479
  args.push(baseCommand);
2480
- for (const [key, value] of Object.entries(options)) {
2480
+ for (const [key, value] of Object.entries(options).filter(
2481
+ ([key2]) => key2 && key2 !== "_"
2482
+ )) {
2481
2483
  if (key === "toolchain" || key === "release" || INVALID_CARGO_ARGS.includes(key)) {
2482
2484
  continue;
2483
2485
  }
@@ -2487,7 +2489,7 @@ var buildCargoCommand = (baseCommand, options, context) => {
2487
2489
  }
2488
2490
  } else if (Array.isArray(value)) {
2489
2491
  for (const item of value) {
2490
- args.push(`--${key}`, item);
2492
+ args.push(`--${key}`, String(item));
2491
2493
  }
2492
2494
  } else {
2493
2495
  args.push(`--${key}`, String(value));
@@ -2536,7 +2538,7 @@ function cargoCommandSync(args = "", options) {
2536
2538
  };
2537
2539
  } catch (e) {
2538
2540
  return {
2539
- output: e,
2541
+ output: e.message,
2540
2542
  success: false
2541
2543
  };
2542
2544
  }
@@ -3442,7 +3444,7 @@ async function napiExecutor(options, context, config) {
3442
3444
  "The Napi Build process failed because the project could not be found in the project graph. Please run this command from a workspace root directory."
3443
3445
  );
3444
3446
  }
3445
- const projectRoot = _optionalChain([context, 'access', _166 => _166.projectGraph, 'optionalAccess', _167 => _167.nodes, 'access', _168 => _168[_nullishCoalesce(context.projectName, () => ( ""))], 'access', _169 => _169.data, 'access', _170 => _170.root]);
3447
+ const projectRoot = _optionalChain([context, 'access', _166 => _166.projectGraph, 'optionalAccess', _167 => _167.nodes, 'access', _168 => _168[_nullishCoalesce(context.projectName, () => ( ""))], 'optionalAccess', _169 => _169.data, 'access', _170 => _170.root]);
3446
3448
  const packageJson = joinPaths(_nullishCoalesce(projectRoot, () => ( ".")), "package.json");
3447
3449
  if (!_fileutils.fileExists.call(void 0, packageJson)) {
3448
3450
  throw new Error(`Could not find package.json at ${packageJson}`);
@@ -3456,27 +3458,29 @@ async function napiExecutor(options, context, config) {
3456
3458
  if (options.cwd) {
3457
3459
  normalizedOptions.cwd = correctPaths(options.cwd);
3458
3460
  } else {
3459
- normalizedOptions.cwd = correctPaths(projectRoot);
3460
- const absoluteProjectRoot = joinPaths(
3461
- config.workspaceRoot,
3462
- projectRoot || "."
3461
+ const absoluteProjectRoot = correctPaths(
3462
+ joinPaths(config.workspaceRoot, projectRoot || ".")
3463
3463
  );
3464
+ normalizedOptions.cwd = absoluteProjectRoot;
3464
3465
  if (normalizedOptions.outputDir) {
3465
3466
  normalizedOptions.outputDir = relative(
3466
- absoluteProjectRoot,
3467
+ normalizedOptions.cwd,
3467
3468
  correctPaths(
3468
3469
  isAbsolute(normalizedOptions.outputDir) ? normalizedOptions.outputDir : joinPaths(config.workspaceRoot, normalizedOptions.outputDir)
3469
3470
  )
3470
3471
  );
3471
3472
  }
3472
3473
  if (normalizedOptions.packageJsonPath) {
3473
- normalizedOptions.packageJsonPath = correctPaths(
3474
- isAbsolute(normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : joinPaths(config.workspaceRoot, normalizedOptions.packageJsonPath)
3474
+ normalizedOptions.packageJsonPath = relative(
3475
+ normalizedOptions.cwd,
3476
+ correctPaths(
3477
+ isAbsolute(normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : joinPaths(config.workspaceRoot, normalizedOptions.packageJsonPath)
3478
+ )
3475
3479
  );
3476
3480
  }
3477
3481
  if (normalizedOptions.configPath) {
3478
3482
  normalizedOptions.configPath = relative(
3479
- absoluteProjectRoot,
3483
+ normalizedOptions.cwd,
3480
3484
  correctPaths(
3481
3485
  isAbsolute(normalizedOptions.configPath) ? normalizedOptions.configPath : joinPaths(config.workspaceRoot, normalizedOptions.configPath)
3482
3486
  )
@@ -3484,7 +3488,7 @@ async function napiExecutor(options, context, config) {
3484
3488
  }
3485
3489
  if (normalizedOptions.manifestPath) {
3486
3490
  normalizedOptions.manifestPath = relative(
3487
- absoluteProjectRoot,
3491
+ normalizedOptions.cwd,
3488
3492
  correctPaths(
3489
3493
  isAbsolute(normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : joinPaths(config.workspaceRoot, normalizedOptions.manifestPath)
3490
3494
  )
@@ -2481,7 +2481,9 @@ var buildCargoCommand = (baseCommand, options, context) => {
2481
2481
  args.push(`+${options.toolchain}`);
2482
2482
  }
2483
2483
  args.push(baseCommand);
2484
- for (const [key, value] of Object.entries(options)) {
2484
+ for (const [key, value] of Object.entries(options).filter(
2485
+ ([key2]) => key2 && key2 !== "_"
2486
+ )) {
2485
2487
  if (key === "toolchain" || key === "release" || INVALID_CARGO_ARGS.includes(key)) {
2486
2488
  continue;
2487
2489
  }
@@ -2491,7 +2493,7 @@ var buildCargoCommand = (baseCommand, options, context) => {
2491
2493
  }
2492
2494
  } else if (Array.isArray(value)) {
2493
2495
  for (const item of value) {
2494
- args.push(`--${key}`, item);
2496
+ args.push(`--${key}`, String(item));
2495
2497
  }
2496
2498
  } else {
2497
2499
  args.push(`--${key}`, String(value));
@@ -2540,7 +2542,7 @@ function cargoCommandSync(args = "", options) {
2540
2542
  };
2541
2543
  } catch (e) {
2542
2544
  return {
2543
- output: e,
2545
+ output: e.message,
2544
2546
  success: false
2545
2547
  };
2546
2548
  }
@@ -3446,7 +3448,7 @@ async function napiExecutor(options, context, config) {
3446
3448
  "The Napi Build process failed because the project could not be found in the project graph. Please run this command from a workspace root directory."
3447
3449
  );
3448
3450
  }
3449
- const projectRoot = context.projectGraph?.nodes[context.projectName ?? ""].data.root;
3451
+ const projectRoot = context.projectGraph?.nodes[context.projectName ?? ""]?.data.root;
3450
3452
  const packageJson = joinPaths(projectRoot ?? ".", "package.json");
3451
3453
  if (!fileExists(packageJson)) {
3452
3454
  throw new Error(`Could not find package.json at ${packageJson}`);
@@ -3460,27 +3462,29 @@ async function napiExecutor(options, context, config) {
3460
3462
  if (options.cwd) {
3461
3463
  normalizedOptions.cwd = correctPaths(options.cwd);
3462
3464
  } else {
3463
- normalizedOptions.cwd = correctPaths(projectRoot);
3464
- const absoluteProjectRoot = joinPaths(
3465
- config.workspaceRoot,
3466
- projectRoot || "."
3465
+ const absoluteProjectRoot = correctPaths(
3466
+ joinPaths(config.workspaceRoot, projectRoot || ".")
3467
3467
  );
3468
+ normalizedOptions.cwd = absoluteProjectRoot;
3468
3469
  if (normalizedOptions.outputDir) {
3469
3470
  normalizedOptions.outputDir = relative(
3470
- absoluteProjectRoot,
3471
+ normalizedOptions.cwd,
3471
3472
  correctPaths(
3472
3473
  isAbsolute(normalizedOptions.outputDir) ? normalizedOptions.outputDir : joinPaths(config.workspaceRoot, normalizedOptions.outputDir)
3473
3474
  )
3474
3475
  );
3475
3476
  }
3476
3477
  if (normalizedOptions.packageJsonPath) {
3477
- normalizedOptions.packageJsonPath = correctPaths(
3478
- isAbsolute(normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : joinPaths(config.workspaceRoot, normalizedOptions.packageJsonPath)
3478
+ normalizedOptions.packageJsonPath = relative(
3479
+ normalizedOptions.cwd,
3480
+ correctPaths(
3481
+ isAbsolute(normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : joinPaths(config.workspaceRoot, normalizedOptions.packageJsonPath)
3482
+ )
3479
3483
  );
3480
3484
  }
3481
3485
  if (normalizedOptions.configPath) {
3482
3486
  normalizedOptions.configPath = relative(
3483
- absoluteProjectRoot,
3487
+ normalizedOptions.cwd,
3484
3488
  correctPaths(
3485
3489
  isAbsolute(normalizedOptions.configPath) ? normalizedOptions.configPath : joinPaths(config.workspaceRoot, normalizedOptions.configPath)
3486
3490
  )
@@ -3488,7 +3492,7 @@ async function napiExecutor(options, context, config) {
3488
3492
  }
3489
3493
  if (normalizedOptions.manifestPath) {
3490
3494
  normalizedOptions.manifestPath = relative(
3491
- absoluteProjectRoot,
3495
+ normalizedOptions.cwd,
3492
3496
  correctPaths(
3493
3497
  isAbsolute(normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : joinPaths(config.workspaceRoot, normalizedOptions.manifestPath)
3494
3498
  )
package/dist/executors.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";require('./chunk-XO62WWX4.js');
2
- require('./chunk-ZCV7AEBU.js');
3
- require('./chunk-NK34TZVX.js');
4
- require('./chunk-ACTSAVFC.js');
5
- require('./chunk-NYMN2J3X.js');
6
- require('./chunk-3CNEZ55O.js');
7
- require('./chunk-ZMVB3CEV.js');
8
- require('./chunk-RKX5GTWS.js');
2
+ require('./chunk-OEWFJIG2.js');
3
+ require('./chunk-GXIXVXJA.js');
4
+ require('./chunk-TDMZH4A6.js');
5
+ require('./chunk-G564AUFG.js');
6
+ require('./chunk-QKWYW3ZO.js');
7
+ require('./chunk-ITNEP5GM.js');
8
+ require('./chunk-TSH47XW6.js');
@@ -1,9 +1,9 @@
1
1
  import "./chunk-UV4HQO3Y.mjs";
2
- import "./chunk-JKDC6PI6.mjs";
3
- import "./chunk-PQ6XFEQB.mjs";
4
- import "./chunk-3SVGCN73.mjs";
5
- import "./chunk-4L5OGFUW.mjs";
6
- import "./chunk-GRRMX4KY.mjs";
7
- import "./chunk-P552N3PT.mjs";
8
- import "./chunk-645QEM6C.mjs";
2
+ import "./chunk-GA54FTOB.mjs";
3
+ import "./chunk-ET27VAFF.mjs";
4
+ import "./chunk-5DBIC6ZN.mjs";
5
+ import "./chunk-JEWGCKNZ.mjs";
6
+ import "./chunk-J3ZY3WO7.mjs";
7
+ import "./chunk-ALUQ7ICW.mjs";
8
+ import "./chunk-Y433VZBW.mjs";
9
9
  import "./chunk-JHXCDHL3.mjs";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
2
2
 
3
3
 
4
- var _chunkYI4Y2ZHFjs = require('./chunk-YI4Y2ZHF.js');
4
+ var _chunkRIB6FLIUjs = require('./chunk-RIB6FLIU.js');
5
5
  require('./chunk-QDPXTR73.js');
6
- require('./chunk-RKX5GTWS.js');
6
+ require('./chunk-TSH47XW6.js');
7
7
 
8
8
 
9
- exports.initGeneratorFn = _chunkYI4Y2ZHFjs.initGeneratorFn;
9
+ exports.initGeneratorFn = _chunkRIB6FLIUjs.initGeneratorFn;
@@ -1,9 +1,9 @@
1
1
  import "./chunk-23KFTIT2.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-LFHSBROA.mjs";
4
+ } from "./chunk-GHIDXFV5.mjs";
5
5
  import "./chunk-5TB4HFDP.mjs";
6
- import "./chunk-645QEM6C.mjs";
6
+ import "./chunk-Y433VZBW.mjs";
7
7
  import "./chunk-JHXCDHL3.mjs";
8
8
  export {
9
9
  initGeneratorFn
package/dist/index.js CHANGED
@@ -8,24 +8,24 @@
8
8
 
9
9
  var _chunk7I63VQP3js = require('./chunk-7I63VQP3.js');
10
10
  require('./chunk-XO62WWX4.js');
11
- require('./chunk-ZCV7AEBU.js');
12
- require('./chunk-NK34TZVX.js');
13
- require('./chunk-ACTSAVFC.js');
14
- require('./chunk-NYMN2J3X.js');
11
+ require('./chunk-OEWFJIG2.js');
12
+ require('./chunk-GXIXVXJA.js');
13
+ require('./chunk-TDMZH4A6.js');
14
+ require('./chunk-G564AUFG.js');
15
15
  require('./chunk-N2YKXZ5R.js');
16
16
 
17
17
 
18
- var _chunkYI4Y2ZHFjs = require('./chunk-YI4Y2ZHF.js');
18
+ var _chunkRIB6FLIUjs = require('./chunk-RIB6FLIU.js');
19
19
  require('./chunk-GUQOEBFW.js');
20
20
 
21
21
 
22
22
 
23
23
  var _chunkQDPXTR73js = require('./chunk-QDPXTR73.js');
24
- require('./chunk-3CNEZ55O.js');
24
+ require('./chunk-QKWYW3ZO.js');
25
25
 
26
26
 
27
- var _chunkZMVB3CEVjs = require('./chunk-ZMVB3CEV.js');
28
- require('./chunk-RKX5GTWS.js');
27
+ var _chunkITNEP5GMjs = require('./chunk-ITNEP5GM.js');
28
+ require('./chunk-TSH47XW6.js');
29
29
 
30
30
 
31
31
 
@@ -37,4 +37,4 @@ require('./chunk-RKX5GTWS.js');
37
37
 
38
38
 
39
39
 
40
- exports.Provider = _chunkQDPXTR73js.Provider; exports.ec2Instance = _chunk7I63VQP3js.ec2Instance; exports.getAWSTemplateName = _chunk7I63VQP3js.getAWSTemplateName; exports.getCloudTemplateName = _chunkQDPXTR73js.getCloudTemplateName; exports.getProviderOpts = _chunk7I63VQP3js.getProviderOpts; exports.initGeneratorFn = _chunkYI4Y2ZHFjs.initGeneratorFn; exports.securityGroup = _chunk7I63VQP3js.securityGroup; exports.subnet = _chunk7I63VQP3js.subnet; exports.vpc = _chunk7I63VQP3js.vpc; exports.withPulumiExecutor = _chunkZMVB3CEVjs.withPulumiExecutor;
40
+ exports.Provider = _chunkQDPXTR73js.Provider; exports.ec2Instance = _chunk7I63VQP3js.ec2Instance; exports.getAWSTemplateName = _chunk7I63VQP3js.getAWSTemplateName; exports.getCloudTemplateName = _chunkQDPXTR73js.getCloudTemplateName; exports.getProviderOpts = _chunk7I63VQP3js.getProviderOpts; exports.initGeneratorFn = _chunkRIB6FLIUjs.initGeneratorFn; exports.securityGroup = _chunk7I63VQP3js.securityGroup; exports.subnet = _chunk7I63VQP3js.subnet; exports.vpc = _chunk7I63VQP3js.vpc; exports.withPulumiExecutor = _chunkITNEP5GMjs.withPulumiExecutor;
package/dist/index.mjs CHANGED
@@ -8,24 +8,24 @@ import {
8
8
  vpc
9
9
  } from "./chunk-S6XCS2TA.mjs";
10
10
  import "./chunk-UV4HQO3Y.mjs";
11
- import "./chunk-JKDC6PI6.mjs";
12
- import "./chunk-PQ6XFEQB.mjs";
13
- import "./chunk-3SVGCN73.mjs";
14
- import "./chunk-4L5OGFUW.mjs";
11
+ import "./chunk-GA54FTOB.mjs";
12
+ import "./chunk-ET27VAFF.mjs";
13
+ import "./chunk-5DBIC6ZN.mjs";
14
+ import "./chunk-JEWGCKNZ.mjs";
15
15
  import "./chunk-23KFTIT2.mjs";
16
16
  import {
17
17
  initGeneratorFn
18
- } from "./chunk-LFHSBROA.mjs";
18
+ } from "./chunk-GHIDXFV5.mjs";
19
19
  import "./chunk-CA7S5MOH.mjs";
20
20
  import {
21
21
  Provider,
22
22
  getCloudTemplateName
23
23
  } from "./chunk-5TB4HFDP.mjs";
24
- import "./chunk-GRRMX4KY.mjs";
24
+ import "./chunk-J3ZY3WO7.mjs";
25
25
  import {
26
26
  withPulumiExecutor
27
- } from "./chunk-P552N3PT.mjs";
28
- import "./chunk-645QEM6C.mjs";
27
+ } from "./chunk-ALUQ7ICW.mjs";
28
+ import "./chunk-Y433VZBW.mjs";
29
29
  import "./chunk-JHXCDHL3.mjs";
30
30
  export {
31
31
  Provider,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZMVB3CEVjs = require('../../chunk-ZMVB3CEV.js');
4
- require('../../chunk-RKX5GTWS.js');
3
+ var _chunkITNEP5GMjs = require('../../chunk-ITNEP5GM.js');
4
+ require('../../chunk-TSH47XW6.js');
5
5
 
6
6
 
7
- exports.withPulumiExecutor = _chunkZMVB3CEVjs.withPulumiExecutor;
7
+ exports.withPulumiExecutor = _chunkITNEP5GMjs.withPulumiExecutor;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "../../chunk-P552N3PT.mjs";
4
- import "../../chunk-645QEM6C.mjs";
3
+ } from "../../chunk-ALUQ7ICW.mjs";
4
+ import "../../chunk-Y433VZBW.mjs";
5
5
  import "../../chunk-JHXCDHL3.mjs";
6
6
  export {
7
7
  withPulumiExecutor
@@ -5,10 +5,10 @@
5
5
  var _chunkQDPXTR73js = require('../../chunk-QDPXTR73.js');
6
6
 
7
7
 
8
- var _chunkZMVB3CEVjs = require('../../chunk-ZMVB3CEV.js');
9
- require('../../chunk-RKX5GTWS.js');
8
+ var _chunkITNEP5GMjs = require('../../chunk-ITNEP5GM.js');
9
+ require('../../chunk-TSH47XW6.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
- exports.Provider = _chunkQDPXTR73js.Provider; exports.getCloudTemplateName = _chunkQDPXTR73js.getCloudTemplateName; exports.withPulumiExecutor = _chunkZMVB3CEVjs.withPulumiExecutor;
14
+ exports.Provider = _chunkQDPXTR73js.Provider; exports.getCloudTemplateName = _chunkQDPXTR73js.getCloudTemplateName; exports.withPulumiExecutor = _chunkITNEP5GMjs.withPulumiExecutor;
@@ -5,8 +5,8 @@ import {
5
5
  } from "../../chunk-5TB4HFDP.mjs";
6
6
  import {
7
7
  withPulumiExecutor
8
- } from "../../chunk-P552N3PT.mjs";
9
- import "../../chunk-645QEM6C.mjs";
8
+ } from "../../chunk-ALUQ7ICW.mjs";
9
+ import "../../chunk-Y433VZBW.mjs";
10
10
  import "../../chunk-JHXCDHL3.mjs";
11
11
  export {
12
12
  Provider,
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZCV7AEBUjs = require('../../../chunk-ZCV7AEBU.js');
4
- require('../../../chunk-ZMVB3CEV.js');
5
- require('../../../chunk-RKX5GTWS.js');
3
+ var _chunkQKWYW3ZOjs = require('../../../chunk-QKWYW3ZO.js');
4
+ require('../../../chunk-ITNEP5GM.js');
5
+ require('../../../chunk-TSH47XW6.js');
6
6
 
7
7
 
8
- exports.default = _chunkZCV7AEBUjs.executor_default;
8
+ exports.default = _chunkQKWYW3ZOjs.executor_default;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  executor_default
3
- } from "../../../chunk-JKDC6PI6.mjs";
4
- import "../../../chunk-P552N3PT.mjs";
5
- import "../../../chunk-645QEM6C.mjs";
3
+ } from "../../../chunk-J3ZY3WO7.mjs";
4
+ import "../../../chunk-ALUQ7ICW.mjs";
5
+ import "../../../chunk-Y433VZBW.mjs";
6
6
  import "../../../chunk-JHXCDHL3.mjs";
7
7
  export {
8
8
  executor_default as default
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk3CNEZ55Ojs = require('../../../chunk-3CNEZ55O.js');
4
- require('../../../chunk-ZMVB3CEV.js');
5
- require('../../../chunk-RKX5GTWS.js');
3
+ var _chunkOEWFJIG2js = require('../../../chunk-OEWFJIG2.js');
4
+ require('../../../chunk-ITNEP5GM.js');
5
+ require('../../../chunk-TSH47XW6.js');
6
6
 
7
7
 
8
- exports.default = _chunk3CNEZ55Ojs.executor_default;
8
+ exports.default = _chunkOEWFJIG2js.executor_default;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  executor_default
3
- } from "../../../chunk-GRRMX4KY.mjs";
4
- import "../../../chunk-P552N3PT.mjs";
5
- import "../../../chunk-645QEM6C.mjs";
3
+ } from "../../../chunk-GA54FTOB.mjs";
4
+ import "../../../chunk-ALUQ7ICW.mjs";
5
+ import "../../../chunk-Y433VZBW.mjs";
6
6
  import "../../../chunk-JHXCDHL3.mjs";
7
7
  export {
8
8
  executor_default as default
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkNK34TZVXjs = require('../../../chunk-NK34TZVX.js');
4
- require('../../../chunk-ZMVB3CEV.js');
5
- require('../../../chunk-RKX5GTWS.js');
3
+ var _chunkGXIXVXJAjs = require('../../../chunk-GXIXVXJA.js');
4
+ require('../../../chunk-ITNEP5GM.js');
5
+ require('../../../chunk-TSH47XW6.js');
6
6
 
7
7
 
8
- exports.default = _chunkNK34TZVXjs.executor_default;
8
+ exports.default = _chunkGXIXVXJAjs.executor_default;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  executor_default
3
- } from "../../../chunk-PQ6XFEQB.mjs";
4
- import "../../../chunk-P552N3PT.mjs";
5
- import "../../../chunk-645QEM6C.mjs";
3
+ } from "../../../chunk-ET27VAFF.mjs";
4
+ import "../../../chunk-ALUQ7ICW.mjs";
5
+ import "../../../chunk-Y433VZBW.mjs";
6
6
  import "../../../chunk-JHXCDHL3.mjs";
7
7
  export {
8
8
  executor_default as default
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkACTSAVFCjs = require('../../../chunk-ACTSAVFC.js');
4
- require('../../../chunk-ZMVB3CEV.js');
5
- require('../../../chunk-RKX5GTWS.js');
3
+ var _chunkTDMZH4A6js = require('../../../chunk-TDMZH4A6.js');
4
+ require('../../../chunk-ITNEP5GM.js');
5
+ require('../../../chunk-TSH47XW6.js');
6
6
 
7
7
 
8
- exports.default = _chunkACTSAVFCjs.executor_default;
8
+ exports.default = _chunkTDMZH4A6js.executor_default;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  executor_default
3
- } from "../../../chunk-3SVGCN73.mjs";
4
- import "../../../chunk-P552N3PT.mjs";
5
- import "../../../chunk-645QEM6C.mjs";
3
+ } from "../../../chunk-5DBIC6ZN.mjs";
4
+ import "../../../chunk-ALUQ7ICW.mjs";
5
+ import "../../../chunk-Y433VZBW.mjs";
6
6
  import "../../../chunk-JHXCDHL3.mjs";
7
7
  export {
8
8
  executor_default as default
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkNYMN2J3Xjs = require('../../../chunk-NYMN2J3X.js');
4
- require('../../../chunk-ZMVB3CEV.js');
5
- require('../../../chunk-RKX5GTWS.js');
3
+ var _chunkG564AUFGjs = require('../../../chunk-G564AUFG.js');
4
+ require('../../../chunk-ITNEP5GM.js');
5
+ require('../../../chunk-TSH47XW6.js');
6
6
 
7
7
 
8
- exports.default = _chunkNYMN2J3Xjs.executor_default;
8
+ exports.default = _chunkG564AUFGjs.executor_default;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  executor_default
3
- } from "../../../chunk-4L5OGFUW.mjs";
4
- import "../../../chunk-P552N3PT.mjs";
5
- import "../../../chunk-645QEM6C.mjs";
3
+ } from "../../../chunk-JEWGCKNZ.mjs";
4
+ import "../../../chunk-ALUQ7ICW.mjs";
5
+ import "../../../chunk-Y433VZBW.mjs";
6
6
  import "../../../chunk-JHXCDHL3.mjs";
7
7
  export {
8
8
  executor_default as default
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkYI4Y2ZHFjs = require('../../../chunk-YI4Y2ZHF.js');
4
+ var _chunkRIB6FLIUjs = require('../../../chunk-RIB6FLIU.js');
5
5
  require('../../../chunk-QDPXTR73.js');
6
- require('../../../chunk-RKX5GTWS.js');
6
+ require('../../../chunk-TSH47XW6.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunkYI4Y2ZHFjs.generator_default; exports.initGeneratorFn = _chunkYI4Y2ZHFjs.initGeneratorFn;
10
+ exports.default = _chunkRIB6FLIUjs.generator_default; exports.initGeneratorFn = _chunkRIB6FLIUjs.initGeneratorFn;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generator_default,
3
3
  initGeneratorFn
4
- } from "../../../chunk-LFHSBROA.mjs";
4
+ } from "../../../chunk-GHIDXFV5.mjs";
5
5
  import "../../../chunk-5TB4HFDP.mjs";
6
- import "../../../chunk-645QEM6C.mjs";
6
+ import "../../../chunk-Y433VZBW.mjs";
7
7
  import "../../../chunk-JHXCDHL3.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.22.168",
3
+ "version": "0.22.170",
4
4
  "type": "commonjs",
5
5
  "description": "Tools for managing Pulumi infrastructure within a Nx workspace.",
6
6
  "repository": {
@@ -171,5 +171,5 @@
171
171
  "publishConfig": { "access": "public" },
172
172
  "executors": "./executors.json",
173
173
  "generators": "./generators.json",
174
- "gitHead": "d25e09ad5d06260f5a506bf367b21d579fee1616"
174
+ "gitHead": "e41ccf3321407c1ccb6c1a16c4aff7f6172d8b0c"
175
175
  }