@storm-software/pulumi-tools 0.7.37 → 0.7.39

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 (67) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-AO623TEM.mjs → chunk-2XCN4ZZY.mjs} +1 -1
  4. package/dist/{chunk-QTTNEQRW.js → chunk-3B4UHGT2.js} +2 -2
  5. package/dist/{chunk-KND2PNDI.mjs → chunk-4JHRPIAI.mjs} +1 -1
  6. package/dist/{chunk-ERVA2FA4.mjs → chunk-56MIYBFB.mjs} +1 -1
  7. package/dist/{chunk-4TOGDR35.js → chunk-AUCEBVHL.js} +2 -2
  8. package/dist/{chunk-DZOTALSG.js → chunk-CAUTCB4N.js} +2 -2
  9. package/dist/{chunk-VK7HVEDR.mjs → chunk-CV3MVGM5.mjs} +1 -1
  10. package/dist/{chunk-YYTIA2IT.mjs → chunk-EBQ4W45Z.mjs} +1 -1
  11. package/dist/{chunk-WI4XLWNN.mjs → chunk-FUB25V7L.mjs} +1 -1
  12. package/dist/{chunk-CM2A7BZ7.js → chunk-GNIGDMSD.js} +2 -2
  13. package/dist/{chunk-MT75NBOB.js → chunk-HGFZEBRF.js} +2 -2
  14. package/dist/{chunk-H6DYEHS7.js → chunk-ITMXW6BU.js} +3 -3
  15. package/dist/{chunk-IJN34LU6.js → chunk-OFWGUF5J.js} +5 -5
  16. package/dist/{chunk-VFYYKJF6.mjs → chunk-OHB7BWHV.mjs} +27 -14
  17. package/dist/{chunk-XMH54S4T.mjs → chunk-OSIIC47G.mjs} +1 -1
  18. package/dist/{chunk-FCJJB3O2.js → chunk-WP5ADETB.js} +62 -49
  19. package/dist/executors.d.mts +1 -1
  20. package/dist/executors.d.ts +1 -1
  21. package/dist/executors.js +7 -7
  22. package/dist/executors.mjs +7 -7
  23. package/dist/{generators-Bua4nMog.d.ts → generators-Cf-nGItq.d.mts} +2 -2
  24. package/dist/{generators-CrZPZKBW.d.mts → generators-DltbTTJ2.d.ts} +2 -2
  25. package/dist/generators.d.mts +2 -2
  26. package/dist/generators.d.ts +2 -2
  27. package/dist/generators.js +3 -3
  28. package/dist/generators.mjs +2 -2
  29. package/dist/index.d.mts +2 -2
  30. package/dist/index.d.ts +2 -2
  31. package/dist/index.js +9 -9
  32. package/dist/index.mjs +8 -8
  33. package/dist/src/base/base-executor.d.mts +2 -2
  34. package/dist/src/base/base-executor.d.ts +2 -2
  35. package/dist/src/base/base-executor.js +3 -3
  36. package/dist/src/base/base-executor.mjs +2 -2
  37. package/dist/src/base/index.d.mts +1 -1
  38. package/dist/src/base/index.d.ts +1 -1
  39. package/dist/src/base/index.js +3 -3
  40. package/dist/src/base/index.mjs +2 -2
  41. package/dist/src/executors/config/executor.d.mts +1 -1
  42. package/dist/src/executors/config/executor.d.ts +1 -1
  43. package/dist/src/executors/config/executor.js +4 -4
  44. package/dist/src/executors/config/executor.mjs +3 -3
  45. package/dist/src/executors/import/executor.d.mts +1 -1
  46. package/dist/src/executors/import/executor.d.ts +1 -1
  47. package/dist/src/executors/import/executor.js +4 -4
  48. package/dist/src/executors/import/executor.mjs +3 -3
  49. package/dist/src/executors/preview/executor.d.mts +1 -1
  50. package/dist/src/executors/preview/executor.d.ts +1 -1
  51. package/dist/src/executors/preview/executor.js +4 -4
  52. package/dist/src/executors/preview/executor.mjs +3 -3
  53. package/dist/src/executors/refresh/executor.d.mts +1 -1
  54. package/dist/src/executors/refresh/executor.d.ts +1 -1
  55. package/dist/src/executors/refresh/executor.js +4 -4
  56. package/dist/src/executors/refresh/executor.mjs +3 -3
  57. package/dist/src/executors/up/executor.d.mts +1 -1
  58. package/dist/src/executors/up/executor.d.ts +1 -1
  59. package/dist/src/executors/up/executor.js +4 -4
  60. package/dist/src/executors/up/executor.mjs +3 -3
  61. package/dist/src/generators/init/generator.d.mts +2 -2
  62. package/dist/src/generators/init/generator.d.ts +2 -2
  63. package/dist/src/generators/init/generator.js +3 -3
  64. package/dist/src/generators/init/generator.mjs +2 -2
  65. package/dist/{types-BXfk4hPO.d.mts → types-PmpUoA3H.d.mts} +21 -5
  66. package/dist/{types-BXfk4hPO.d.ts → types-PmpUoA3H.d.ts} +21 -5
  67. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  # Changelog for Storm Ops - Pulumi Tools
4
4
 
5
+ ## [0.7.39](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.7.39) (2025-04-02)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **pulumi-tools:** Update all references to `StormConfig` to point to
10
+ `StormWorkspaceConfig`
11
+ ([0b3779240](https://github.com/storm-software/storm-ops/commit/0b3779240))
12
+
13
+ ## [0.7.38](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.7.38) (2025-03-18)
14
+
15
+ ### Miscellaneous
16
+
17
+ - **monorepo:** Regenerate README markdown files
18
+ ([4a6eeab3f](https://github.com/storm-software/storm-ops/commit/4a6eeab3f))
19
+
5
20
  ## [0.7.37](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.7.37) (2025-03-18)
6
21
 
7
22
  ### 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.7.36-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.7.37-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 -->
@@ -5,7 +5,7 @@ import {
5
5
  initGenerator,
6
6
  run,
7
7
  withRunGenerator
8
- } from "./chunk-VFYYKJF6.mjs";
8
+ } from "./chunk-OHB7BWHV.mjs";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-2BPV2XV2.mjs";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkH6DYEHS7js = require('./chunk-H6DYEHS7.js');
3
+ var _chunkITMXW6BUjs = require('./chunk-ITMXW6BU.js');
4
4
 
5
5
  // src/executors/refresh/executor.ts
6
- var executor_default = _chunkH6DYEHS7js.withPulumiExecutor.call(void 0, "refresh", (options) => [
6
+ var executor_default = _chunkITMXW6BUjs.withPulumiExecutor.call(void 0, "refresh", (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-ERVA2FA4.mjs";
3
+ } from "./chunk-56MIYBFB.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-VFYYKJF6.mjs";
4
+ } from "./chunk-OHB7BWHV.mjs";
5
5
  import {
6
6
  __name
7
7
  } from "./chunk-2BPV2XV2.mjs";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkH6DYEHS7js = require('./chunk-H6DYEHS7.js');
3
+ var _chunkITMXW6BUjs = require('./chunk-ITMXW6BU.js');
4
4
 
5
5
  // src/executors/import/executor.ts
6
- var executor_default = _chunkH6DYEHS7js.withPulumiExecutor.call(void 0, "import", (options) => [
6
+ var executor_default = _chunkITMXW6BUjs.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 _chunkH6DYEHS7js = require('./chunk-H6DYEHS7.js');
3
+ var _chunkITMXW6BUjs = require('./chunk-ITMXW6BU.js');
4
4
 
5
5
  // src/executors/up/executor.ts
6
- var executor_default = _chunkH6DYEHS7js.withPulumiExecutor.call(void 0, "up", (options) => [
6
+ var executor_default = _chunkITMXW6BUjs.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-ERVA2FA4.mjs";
3
+ } from "./chunk-56MIYBFB.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-ERVA2FA4.mjs";
3
+ } from "./chunk-56MIYBFB.mjs";
4
4
 
5
5
  // src/executors/import/executor.ts
6
6
  var executor_default = withPulumiExecutor("import", (options) => [
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-ERVA2FA4.mjs";
3
+ } from "./chunk-56MIYBFB.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 _chunkH6DYEHS7js = require('./chunk-H6DYEHS7.js');
3
+ var _chunkITMXW6BUjs = require('./chunk-ITMXW6BU.js');
4
4
 
5
5
  // src/executors/config/executor.ts
6
- var executor_default = _chunkH6DYEHS7js.withPulumiExecutor.call(void 0, "config", (options) => [
6
+ var executor_default = _chunkITMXW6BUjs.withPulumiExecutor.call(void 0, "config", (options) => [
7
7
  options.action,
8
8
  options.showSecrets && `--show-secrets`,
9
9
  options.secret && `--secret`,
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkH6DYEHS7js = require('./chunk-H6DYEHS7.js');
3
+ var _chunkITMXW6BUjs = require('./chunk-ITMXW6BU.js');
4
4
 
5
5
  // src/executors/preview/executor.ts
6
- var executor_default = _chunkH6DYEHS7js.withPulumiExecutor.call(void 0, "preview", (options) => [
6
+ var executor_default = _chunkITMXW6BUjs.withPulumiExecutor.call(void 0, "preview", (options) => [
7
7
  options.stack && `--stack=${options.stack}`,
8
8
  options.expectNoChanges && "--expect-no-changes"
9
9
  ]);
@@ -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 _chunkFCJJB3O2js = require('./chunk-FCJJB3O2.js');
4
+ var _chunkWP5ADETBjs = require('./chunk-WP5ADETB.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 _chunkFCJJB3O2js.withRunExecutor.call(void 0, `Pulumi \`${command}\` Command Executor`, async (options, context2, config) => {
13
+ return _chunkWP5ADETBjs.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
- _chunkFCJJB3O2js.run.call(void 0, config, [
21
+ _chunkWP5ADETBjs.run.call(void 0, config, [
22
22
  "pulumi",
23
23
  command,
24
24
  ...argsMapper(options)
@@ -5,7 +5,7 @@ var _chunkDBLK3NPEjs = require('./chunk-DBLK3NPE.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkFCJJB3O2js = require('./chunk-FCJJB3O2.js');
8
+ var _chunkWP5ADETBjs = require('./chunk-WP5ADETB.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 = _chunkFCJJB3O2js.initGenerator.call(void 0, tree, options);
18
+ const task = _chunkWP5ADETBjs.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 = _chunkFCJJB3O2js.withRunGenerator.call(void 0, "Initialize Storm Pulumi workspace", initGeneratorFn);
52
+ var generator_default = _chunkWP5ADETBjs.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
- _chunkFCJJB3O2js.run.call(void 0, config, [
56
+ _chunkWP5ADETBjs.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
- _chunkFCJJB3O2js.run.call(void 0, config, [
76
+ _chunkWP5ADETBjs.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", {
@@ -182,7 +182,7 @@ var WorkspaceDirectoryConfigSchema = z.object({
182
182
  log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
183
183
  build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
184
184
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
185
- var StormConfigSchema = z.object({
185
+ var stormWorkspaceConfigSchema = z.object({
186
186
  $schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
187
187
  extends: ExtendsSchema.optional(),
188
188
  name: z.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
@@ -1325,7 +1325,7 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
1325
1325
  // ../config-tools/src/create-storm-config.ts
1326
1326
  var _extension_cache = /* @__PURE__ */ new WeakMap();
1327
1327
  var _static_cache = void 0;
1328
- var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema, workspaceRoot3, skipLogs = false) => {
1328
+ var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, schema, workspaceRoot3, skipLogs = false) => {
1329
1329
  let result;
1330
1330
  if (!_static_cache?.data || !_static_cache?.timestamp || _static_cache.timestamp < Date.now() - 8e3) {
1331
1331
  let _workspaceRoot = workspaceRoot3;
@@ -1340,7 +1340,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema, wor
1340
1340
  logLevel: "all"
1341
1341
  });
1342
1342
  }
1343
- result = await StormConfigSchema.parseAsync(defu2(configEnv, configFile, defaultConfig));
1343
+ result = await stormWorkspaceConfigSchema.parseAsync(defu2(configEnv, configFile, defaultConfig));
1344
1344
  result.workspaceRoot ??= _workspaceRoot;
1345
1345
  } else {
1346
1346
  result = _static_cache.data;
@@ -1356,7 +1356,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema, wor
1356
1356
  data: result
1357
1357
  };
1358
1358
  return result;
1359
- }, "createStormConfig");
1359
+ }, "createStormWorkspaceConfig");
1360
1360
  var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
1361
1361
  const extension_cache_key = {
1362
1362
  extensionName
@@ -1371,19 +1371,19 @@ var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
1371
1371
  _extension_cache.set(extension_cache_key, extension);
1372
1372
  return extension;
1373
1373
  }, "createConfigExtension");
1374
- var loadStormConfig = /* @__PURE__ */ __name(async (workspaceRoot3, skipLogs = false) => {
1375
- const config = await createStormConfig(void 0, void 0, workspaceRoot3, skipLogs);
1374
+ var loadStormWorkspaceConfig = /* @__PURE__ */ __name(async (workspaceRoot3, skipLogs = false) => {
1375
+ const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot3, skipLogs);
1376
1376
  setConfigEnv(config);
1377
1377
  if (!skipLogs && !config.skipConfigLogging) {
1378
1378
  writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
1379
1379
  ${formatLogMessage(config)}`, config);
1380
1380
  }
1381
1381
  return config;
1382
- }, "loadStormConfig");
1382
+ }, "loadStormWorkspaceConfig");
1383
1383
 
1384
1384
  // ../config-tools/src/get-config.ts
1385
1385
  var getConfig = /* @__PURE__ */ __name((workspaceRoot3, skipLogs = false) => {
1386
- return loadStormConfig(workspaceRoot3, skipLogs);
1386
+ return loadStormWorkspaceConfig(workspaceRoot3, skipLogs);
1387
1387
  }, "getConfig");
1388
1388
 
1389
1389
  // ../workspace-tools/src/base/base-executor.ts
@@ -1926,13 +1926,13 @@ var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot3, proje
1926
1926
  return ret;
1927
1927
  }, []);
1928
1928
  packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
1929
- if (!ret[localPackage.name] && !implicitDependencies?.includes(localPackage.name)) {
1930
- ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
1929
+ if (!ret[localPackage.name] && !implicitDependencies?.includes(localPackage.name) && packageJson.devDependencies?.[localPackage.name] === void 0) {
1930
+ ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
1931
1931
  }
1932
1932
  return ret;
1933
1933
  }, packageJson.dependencies ?? {});
1934
1934
  packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
1935
- if (!ret[localPackage.name] && implicitDependencies?.includes(localPackage.name)) {
1935
+ if (!ret[localPackage.name] && implicitDependencies?.includes(localPackage.name) && packageJson.dependencies?.[localPackage.name] === void 0) {
1936
1936
  ret[localPackage.name] = localPackage.version || "0.0.1";
1937
1937
  }
1938
1938
  return ret;
@@ -2025,7 +2025,11 @@ var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRo
2025
2025
  return ret;
2026
2026
  }, []));
2027
2027
  } else {
2028
- paths.push(entryPoint);
2028
+ const result = correctPaths(entryPoint.replaceAll(correctPaths(workspaceRoot3), "").replaceAll(correctPaths(projectRoot), ""));
2029
+ writeDebug(`Trying to add entry point ${result}"`, config);
2030
+ if (!paths.includes(result)) {
2031
+ paths.push(result);
2032
+ }
2029
2033
  }
2030
2034
  return paths;
2031
2035
  }));
@@ -2820,7 +2824,12 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
2820
2824
  };
2821
2825
  result.plugins = userOptions.plugins ?? getDefaultBuildPlugins(userOptions, result);
2822
2826
  if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
2823
- result.inject = defu4(result.inject, options.inject);
2827
+ result.inject = options.inject.reduce((ret, inj) => {
2828
+ if (inj && typeof inj === "string" && ret.includes(inj)) {
2829
+ ret.push(inj);
2830
+ }
2831
+ return ret;
2832
+ }, result.inject);
2824
2833
  }
2825
2834
  delete result.entry;
2826
2835
  delete result.outputPath;
@@ -2913,6 +2922,10 @@ async function executeEsBuild(context2) {
2913
2922
  ...context2.options
2914
2923
  };
2915
2924
  options.outdir = joinPaths(context2.options.outdir, context2.options.distDir);
2925
+ if (!options.inject || !Array.isArray(options.inject) || options.inject.length === 0 || // eslint-disable-next-line no-constant-binary-expression, @typescript-eslint/no-explicit-any
2926
+ options.inject === {}) {
2927
+ delete options.inject;
2928
+ }
2916
2929
  delete options.env;
2917
2930
  delete options.name;
2918
2931
  delete options.assets;
@@ -3674,7 +3687,7 @@ import { zodToJsonSchema } from "zod-to-json-schema";
3674
3687
  async function configSchemaGeneratorFn(tree, options, config) {
3675
3688
  writeInfo("\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
3676
3689
  writeTrace(`Determining the Storm Workspace Configuration JSON Schema...`, config);
3677
- const jsonSchema = zodToJsonSchema(StormConfigSchema, {
3690
+ const jsonSchema = zodToJsonSchema(stormWorkspaceConfigSchema, {
3678
3691
  name: "StormWorkspaceConfiguration"
3679
3692
  });
3680
3693
  writeTrace(jsonSchema, config);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-ERVA2FA4.mjs";
3
+ } from "./chunk-56MIYBFB.mjs";
4
4
 
5
5
  // src/executors/preview/executor.ts
6
6
  var executor_default = withPulumiExecutor("preview", (options) => [