@storm-software/pulumi-tools 0.13.24 → 0.13.26

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 (43) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-SU344ZGP.js → chunk-3AE6FSOE.js} +2 -2
  4. package/dist/{chunk-HSMFETWH.js → chunk-463EDVMW.js} +2 -2
  5. package/dist/{chunk-DI3B75DR.js → chunk-4GKETXZ5.js} +2 -2
  6. package/dist/{chunk-ZRJWH2TZ.mjs → chunk-5WNXR4I6.mjs} +1 -1
  7. package/dist/{chunk-6VJT5LV5.mjs → chunk-7DGQDV4A.mjs} +1 -1
  8. package/dist/{chunk-F4B6Y7KO.js → chunk-BATH5DDB.js} +2 -2
  9. package/dist/{chunk-RGWQJX7U.js → chunk-DBVGVWOF.js} +3 -3
  10. package/dist/{chunk-W4L5ONZW.mjs → chunk-FIDXHEA6.mjs} +47 -4
  11. package/dist/{chunk-B2W7AFH4.mjs → chunk-FOXRNQRZ.mjs} +1 -1
  12. package/dist/{chunk-SJEDKQQN.mjs → chunk-FY5JHCFO.mjs} +1 -1
  13. package/dist/{chunk-2BDZV476.js → chunk-IIDIOZI3.js} +62 -19
  14. package/dist/{chunk-J7WC5F2C.mjs → chunk-L6R34NKD.mjs} +1 -1
  15. package/dist/{chunk-HCFCOAGN.js → chunk-LM4244PW.js} +2 -2
  16. package/dist/{chunk-3JZ3LSEB.js → chunk-MBF5KV6N.js} +6 -6
  17. package/dist/{chunk-HACFACOC.mjs → chunk-MML43QWB.mjs} +1 -1
  18. package/dist/{chunk-3SZCKGRO.mjs → chunk-MPA26U22.mjs} +1 -1
  19. package/dist/chunk-WPM6BYQF.mjs +133 -0
  20. package/dist/chunk-X2Z6KK46.js +133 -0
  21. package/dist/executors.js +7 -7
  22. package/dist/executors.mjs +7 -7
  23. package/dist/generators.js +3 -3
  24. package/dist/generators.mjs +2 -2
  25. package/dist/index.js +9 -9
  26. package/dist/index.mjs +8 -8
  27. package/dist/src/base/base-executor.js +3 -3
  28. package/dist/src/base/base-executor.mjs +2 -2
  29. package/dist/src/base/index.js +3 -3
  30. package/dist/src/base/index.mjs +2 -2
  31. package/dist/src/executors/config/executor.js +4 -4
  32. package/dist/src/executors/config/executor.mjs +3 -3
  33. package/dist/src/executors/import/executor.js +4 -4
  34. package/dist/src/executors/import/executor.mjs +3 -3
  35. package/dist/src/executors/preview/executor.js +4 -4
  36. package/dist/src/executors/preview/executor.mjs +3 -3
  37. package/dist/src/executors/refresh/executor.js +4 -4
  38. package/dist/src/executors/refresh/executor.mjs +3 -3
  39. package/dist/src/executors/up/executor.js +4 -4
  40. package/dist/src/executors/up/executor.mjs +3 -3
  41. package/dist/src/generators/init/generator.js +3 -3
  42. package/dist/src/generators/init/generator.mjs +2 -2
  43. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  # Changelog for Storm Ops - Pulumi Tools
4
4
 
5
+ ## [0.13.25](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.13.25) (2025-06-18)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate README markdown files
10
+ ([0975b603d](https://github.com/storm-software/storm-ops/commit/0975b603d))
11
+
12
+ ## [0.13.24](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.13.24) (2025-06-18)
13
+
14
+ ### Miscellaneous
15
+
16
+ - **monorepo:** Regenerate README markdown files
17
+ ([aa59eabdd](https://github.com/storm-software/storm-ops/commit/aa59eabdd))
18
+
5
19
  ## [0.13.23](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.13.23) (2025-06-18)
6
20
 
7
21
  ### 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.13.23-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.13.25-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 -->
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkRGWQJX7Ujs = require('./chunk-RGWQJX7U.js');
3
+ var _chunkDBVGVWOFjs = require('./chunk-DBVGVWOF.js');
4
4
 
5
5
  // src/executors/preview/executor.ts
6
- var executor_default = _chunkRGWQJX7Ujs.withPulumiExecutor.call(void 0,
6
+ var executor_default = _chunkDBVGVWOFjs.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 _chunkRGWQJX7Ujs = require('./chunk-RGWQJX7U.js');
3
+ var _chunkDBVGVWOFjs = require('./chunk-DBVGVWOF.js');
4
4
 
5
5
  // src/executors/config/executor.ts
6
- var executor_default = _chunkRGWQJX7Ujs.withPulumiExecutor.call(void 0, "config", (options) => [
6
+ var executor_default = _chunkDBVGVWOFjs.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 _chunkRGWQJX7Ujs = require('./chunk-RGWQJX7U.js');
3
+ var _chunkDBVGVWOFjs = require('./chunk-DBVGVWOF.js');
4
4
 
5
5
  // src/executors/up/executor.ts
6
- var executor_default = _chunkRGWQJX7Ujs.withPulumiExecutor.call(void 0, "up", (options) => [
6
+ var executor_default = _chunkDBVGVWOFjs.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-6VJT5LV5.mjs";
3
+ } from "./chunk-7DGQDV4A.mjs";
4
4
 
5
5
  // src/executors/config/executor.ts
6
6
  var executor_default = withPulumiExecutor("config", (options) => [
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  run,
3
3
  withRunExecutor
4
- } from "./chunk-W4L5ONZW.mjs";
4
+ } from "./chunk-FIDXHEA6.mjs";
5
5
 
6
6
  // src/base/base-executor.ts
7
7
  import { join } from "node:path";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkRGWQJX7Ujs = require('./chunk-RGWQJX7U.js');
3
+ var _chunkDBVGVWOFjs = require('./chunk-DBVGVWOF.js');
4
4
 
5
5
  // src/executors/import/executor.ts
6
- var executor_default = _chunkRGWQJX7Ujs.withPulumiExecutor.call(void 0, "import", (options) => [
6
+ var executor_default = _chunkDBVGVWOFjs.withPulumiExecutor.call(void 0, "import", (options) => [
7
7
  options.target,
8
8
  options.name,
9
9
  options.id,
@@ -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 _chunk2BDZV476js = require('./chunk-2BDZV476.js');
4
+ var _chunkIIDIOZI3js = require('./chunk-IIDIOZI3.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 _chunk2BDZV476js.withRunExecutor.call(void 0,
10
+ return _chunkIIDIOZI3js.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
- _chunk2BDZV476js.run.call(void 0,
24
+ _chunkIIDIOZI3js.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),
@@ -214,6 +214,15 @@ var errorConfigSchema = z.object({
214
214
  "A URL to a page that looks up the workspace's error messages given a specific error code"
215
215
  )
216
216
  }).describe("The workspace's error config used during the error process");
217
+ var organizationConfigSchema = z.object({
218
+ name: z.string().trim().describe("The name of the organization"),
219
+ description: z.string().trim().optional().describe("A description of the organization"),
220
+ logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
221
+ icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
222
+ url: z.string().trim().url().optional().describe(
223
+ "A URL to a page that provides more information about the organization"
224
+ )
225
+ }).describe("The workspace's organization details");
217
226
  var stormWorkspaceConfigSchema = z.object({
218
227
  $schema: z.string().trim().default(
219
228
  "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
@@ -225,7 +234,9 @@ var stormWorkspaceConfigSchema = z.object({
225
234
  "The name of the service/package/scope using this configuration"
226
235
  ),
227
236
  namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
228
- organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
237
+ organization: organizationConfigSchema.or(z.string().trim().describe("The organization of the workspace")).optional().describe(
238
+ "The organization of the workspace. This can be a string or an object containing the organization's details"
239
+ ),
229
240
  repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
230
241
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
231
242
  homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
@@ -1064,7 +1075,13 @@ var getConfigEnv = () => {
1064
1075
  medium: process.env[`${prefix}ACCOUNT_MEDIUM`] || void 0,
1065
1076
  github: process.env[`${prefix}ACCOUNT_GITHUB`] || void 0
1066
1077
  },
1067
- organization: process.env[`${prefix}ORGANIZATION`] || void 0,
1078
+ organization: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`] ? process.env[`${prefix}ORG_DESCRIPTION`] || process.env[`${prefix}ORGANIZATION_DESCRIPTION`] || process.env[`${prefix}ORG_URL`] || process.env[`${prefix}ORGANIZATION_URL`] || process.env[`${prefix}ORG_LOGO`] || process.env[`${prefix}ORGANIZATION_LOGO`] ? {
1079
+ name: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`],
1080
+ description: process.env[`${prefix}ORG_DESCRIPTION`] || process.env[`${prefix}ORGANIZATION_DESCRIPTION`] || void 0,
1081
+ url: process.env[`${prefix}ORG_URL`] || process.env[`${prefix}ORGANIZATION_URL`] || void 0,
1082
+ logo: process.env[`${prefix}ORG_LOGO`] || process.env[`${prefix}ORGANIZATION_LOGO`] || void 0,
1083
+ icon: process.env[`${prefix}ORG_ICON`] || process.env[`${prefix}ORGANIZATION_ICON`] || void 0
1084
+ } : process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`] : void 0,
1068
1085
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`] || void 0,
1069
1086
  license: process.env[`${prefix}LICENSE`] || void 0,
1070
1087
  homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
@@ -1271,7 +1288,33 @@ var setConfigEnv = (config) => {
1271
1288
  }
1272
1289
  }
1273
1290
  if (config.organization) {
1274
- process.env[`${prefix}ORGANIZATION`] = config.organization;
1291
+ if (typeof config.organization === "string") {
1292
+ process.env[`${prefix}ORG`] = config.organization;
1293
+ process.env[`${prefix}ORG_NAME`] = config.organization;
1294
+ process.env[`${prefix}ORGANIZATION`] = config.organization;
1295
+ process.env[`${prefix}ORGANIZATION_NAME`] = config.organization;
1296
+ } else {
1297
+ process.env[`${prefix}ORG`] = config.organization.name;
1298
+ process.env[`${prefix}ORG_NAME`] = config.organization.name;
1299
+ process.env[`${prefix}ORGANIZATION`] = config.organization.name;
1300
+ process.env[`${prefix}ORGANIZATION_NAME`] = config.organization.name;
1301
+ if (config.organization.url) {
1302
+ process.env[`${prefix}ORG_URL`] = config.organization.url;
1303
+ process.env[`${prefix}ORGANIZATION_URL`] = config.organization.url;
1304
+ }
1305
+ if (config.organization.description) {
1306
+ process.env[`${prefix}ORG_DESCRIPTION`] = config.organization.description;
1307
+ process.env[`${prefix}ORGANIZATION_DESCRIPTION`] = config.organization.description;
1308
+ }
1309
+ if (config.organization.logo) {
1310
+ process.env[`${prefix}ORG_LOGO`] = config.organization.logo;
1311
+ process.env[`${prefix}ORGANIZATION_LOGO`] = config.organization.logo;
1312
+ }
1313
+ if (config.organization.icon) {
1314
+ process.env[`${prefix}ORG_ICON`] = config.organization.icon;
1315
+ process.env[`${prefix}ORGANIZATION_ICON`] = config.organization.icon;
1316
+ }
1317
+ }
1275
1318
  }
1276
1319
  if (config.packageManager) {
1277
1320
  process.env[`${prefix}PACKAGE_MANAGER`] = config.packageManager;
@@ -3239,7 +3282,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3239
3282
  addProjectConfiguration(tree, normalized.name, projectConfig);
3240
3283
  let repository = {
3241
3284
  type: "github",
3242
- url: config?.repository || `https://github.com/${config?.organization || "storm-software"}/${config?.namespace || config?.name || "repository"}.git`
3285
+ url: config?.repository || `https://github.com/${(typeof config?.organization === "string" ? config?.organization : config?.organization?.name) || "storm-software"}/${config?.namespace || config?.name || "repository"}.git`
3243
3286
  };
3244
3287
  let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
3245
3288
  if (tree.exists("package.json")) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-6VJT5LV5.mjs";
3
+ } from "./chunk-7DGQDV4A.mjs";
4
4
 
5
5
  // src/executors/preview/executor.ts
6
6
  var executor_default = withPulumiExecutor(
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-6VJT5LV5.mjs";
3
+ } from "./chunk-7DGQDV4A.mjs";
4
4
 
5
5
  // src/executors/up/executor.ts
6
6
  var executor_default = withPulumiExecutor("up", (options) => [
@@ -213,6 +213,15 @@ var errorConfigSchema = _zod2.default.object({
213
213
  "A URL to a page that looks up the workspace's error messages given a specific error code"
214
214
  )
215
215
  }).describe("The workspace's error config used during the error process");
216
+ var organizationConfigSchema = _zod2.default.object({
217
+ name: _zod2.default.string().trim().describe("The name of the organization"),
218
+ description: _zod2.default.string().trim().optional().describe("A description of the organization"),
219
+ logo: _zod2.default.string().trim().url().optional().describe("A URL to the organization's logo image"),
220
+ icon: _zod2.default.string().trim().url().optional().describe("A URL to the organization's icon image"),
221
+ url: _zod2.default.string().trim().url().optional().describe(
222
+ "A URL to a page that provides more information about the organization"
223
+ )
224
+ }).describe("The workspace's organization details");
216
225
  var stormWorkspaceConfigSchema = _zod2.default.object({
217
226
  $schema: _zod2.default.string().trim().default(
218
227
  "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
@@ -224,7 +233,9 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
224
233
  "The name of the service/package/scope using this configuration"
225
234
  ),
226
235
  namespace: _zod2.default.string().trim().toLowerCase().optional().describe("The namespace of the package"),
227
- organization: _zod2.default.string().trim().default("storm-software").describe("The organization of the workspace"),
236
+ organization: organizationConfigSchema.or(_zod2.default.string().trim().describe("The organization of the workspace")).optional().describe(
237
+ "The organization of the workspace. This can be a string or an object containing the organization's details"
238
+ ),
228
239
  repository: _zod2.default.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
229
240
  license: _zod2.default.string().trim().default("Apache-2.0").describe("The license type of the package"),
230
241
  homepage: _zod2.default.string().trim().url().optional().describe("The homepage of the workspace"),
@@ -1063,7 +1074,13 @@ var getConfigEnv = () => {
1063
1074
  medium: process.env[`${prefix}ACCOUNT_MEDIUM`] || void 0,
1064
1075
  github: process.env[`${prefix}ACCOUNT_GITHUB`] || void 0
1065
1076
  },
1066
- organization: process.env[`${prefix}ORGANIZATION`] || void 0,
1077
+ organization: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`] ? process.env[`${prefix}ORG_DESCRIPTION`] || process.env[`${prefix}ORGANIZATION_DESCRIPTION`] || process.env[`${prefix}ORG_URL`] || process.env[`${prefix}ORGANIZATION_URL`] || process.env[`${prefix}ORG_LOGO`] || process.env[`${prefix}ORGANIZATION_LOGO`] ? {
1078
+ name: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`],
1079
+ description: process.env[`${prefix}ORG_DESCRIPTION`] || process.env[`${prefix}ORGANIZATION_DESCRIPTION`] || void 0,
1080
+ url: process.env[`${prefix}ORG_URL`] || process.env[`${prefix}ORGANIZATION_URL`] || void 0,
1081
+ logo: process.env[`${prefix}ORG_LOGO`] || process.env[`${prefix}ORGANIZATION_LOGO`] || void 0,
1082
+ icon: process.env[`${prefix}ORG_ICON`] || process.env[`${prefix}ORGANIZATION_ICON`] || void 0
1083
+ } : process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`] : void 0,
1067
1084
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`] || void 0,
1068
1085
  license: process.env[`${prefix}LICENSE`] || void 0,
1069
1086
  homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
@@ -1270,7 +1287,33 @@ var setConfigEnv = (config) => {
1270
1287
  }
1271
1288
  }
1272
1289
  if (config.organization) {
1273
- process.env[`${prefix}ORGANIZATION`] = config.organization;
1290
+ if (typeof config.organization === "string") {
1291
+ process.env[`${prefix}ORG`] = config.organization;
1292
+ process.env[`${prefix}ORG_NAME`] = config.organization;
1293
+ process.env[`${prefix}ORGANIZATION`] = config.organization;
1294
+ process.env[`${prefix}ORGANIZATION_NAME`] = config.organization;
1295
+ } else {
1296
+ process.env[`${prefix}ORG`] = config.organization.name;
1297
+ process.env[`${prefix}ORG_NAME`] = config.organization.name;
1298
+ process.env[`${prefix}ORGANIZATION`] = config.organization.name;
1299
+ process.env[`${prefix}ORGANIZATION_NAME`] = config.organization.name;
1300
+ if (config.organization.url) {
1301
+ process.env[`${prefix}ORG_URL`] = config.organization.url;
1302
+ process.env[`${prefix}ORGANIZATION_URL`] = config.organization.url;
1303
+ }
1304
+ if (config.organization.description) {
1305
+ process.env[`${prefix}ORG_DESCRIPTION`] = config.organization.description;
1306
+ process.env[`${prefix}ORGANIZATION_DESCRIPTION`] = config.organization.description;
1307
+ }
1308
+ if (config.organization.logo) {
1309
+ process.env[`${prefix}ORG_LOGO`] = config.organization.logo;
1310
+ process.env[`${prefix}ORGANIZATION_LOGO`] = config.organization.logo;
1311
+ }
1312
+ if (config.organization.icon) {
1313
+ process.env[`${prefix}ORG_ICON`] = config.organization.icon;
1314
+ process.env[`${prefix}ORGANIZATION_ICON`] = config.organization.icon;
1315
+ }
1316
+ }
1274
1317
  }
1275
1318
  if (config.packageManager) {
1276
1319
  process.env[`${prefix}PACKAGE_MANAGER`] = config.packageManager;
@@ -3238,15 +3281,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3238
3281
  _devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
3239
3282
  let repository = {
3240
3283
  type: "github",
3241
- url: _optionalChain([config, 'optionalAccess', _168 => _168.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _169 => _169.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _170 => _170.namespace]) || _optionalChain([config, 'optionalAccess', _171 => _171.name]) || "repository"}.git`
3284
+ url: _optionalChain([config, 'optionalAccess', _168 => _168.repository]) || `https://github.com/${(typeof _optionalChain([config, 'optionalAccess', _169 => _169.organization]) === "string" ? _optionalChain([config, 'optionalAccess', _170 => _170.organization]) : _optionalChain([config, 'optionalAccess', _171 => _171.organization, 'optionalAccess', _172 => _172.name])) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _173 => _173.namespace]) || _optionalChain([config, 'optionalAccess', _174 => _174.name]) || "repository"}.git`
3242
3285
  };
3243
3286
  let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
3244
3287
  if (tree.exists("package.json")) {
3245
3288
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
3246
- if (_optionalChain([packageJson, 'optionalAccess', _172 => _172.repository])) {
3289
+ if (_optionalChain([packageJson, 'optionalAccess', _175 => _175.repository])) {
3247
3290
  repository = packageJson.repository;
3248
3291
  }
3249
- if (_optionalChain([packageJson, 'optionalAccess', _173 => _173.description])) {
3292
+ if (_optionalChain([packageJson, 'optionalAccess', _176 => _176.description])) {
3250
3293
  description = packageJson.description;
3251
3294
  }
3252
3295
  }
@@ -3301,9 +3344,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3301
3344
  _devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
3302
3345
  ...json,
3303
3346
  pnpm: {
3304
- ..._optionalChain([json, 'optionalAccess', _174 => _174.pnpm]),
3347
+ ..._optionalChain([json, 'optionalAccess', _177 => _177.pnpm]),
3305
3348
  overrides: {
3306
- ..._optionalChain([json, 'optionalAccess', _175 => _175.pnpm, 'optionalAccess', _176 => _176.overrides]),
3349
+ ..._optionalChain([json, 'optionalAccess', _178 => _178.pnpm, 'optionalAccess', _179 => _179.overrides]),
3307
3350
  [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
3308
3351
  }
3309
3352
  }
@@ -3321,10 +3364,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3321
3364
  ]);
3322
3365
  if (tree.exists("package.json")) {
3323
3366
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
3324
- if (_optionalChain([packageJson, 'optionalAccess', _177 => _177.repository])) {
3367
+ if (_optionalChain([packageJson, 'optionalAccess', _180 => _180.repository])) {
3325
3368
  repository = packageJson.repository;
3326
3369
  }
3327
- if (_optionalChain([packageJson, 'optionalAccess', _178 => _178.description])) {
3370
+ if (_optionalChain([packageJson, 'optionalAccess', _181 => _181.description])) {
3328
3371
  description = packageJson.description;
3329
3372
  }
3330
3373
  }
@@ -3361,22 +3404,22 @@ function getOutputPath(options) {
3361
3404
  function createProjectTsConfigJson(tree, options) {
3362
3405
  const tsconfig = {
3363
3406
  extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
3364
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _179 => _179.tsconfigOptions]), () => ( {})),
3407
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _182 => _182.tsconfigOptions]), () => ( {})),
3365
3408
  compilerOptions: {
3366
3409
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
3367
3410
  outDir: joinPaths(_devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
3368
3411
  noEmit: true,
3369
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _180 => _180.tsconfigOptions, 'optionalAccess', _181 => _181.compilerOptions]), () => ( {}))
3412
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _183 => _183.tsconfigOptions, 'optionalAccess', _184 => _184.compilerOptions]), () => ( {}))
3370
3413
  },
3371
- files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _182 => _182.tsconfigOptions, 'optionalAccess', _183 => _183.files]), () => ( []))],
3414
+ files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _185 => _185.tsconfigOptions, 'optionalAccess', _186 => _186.files]), () => ( []))],
3372
3415
  include: [
3373
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _184 => _184.tsconfigOptions, 'optionalAccess', _185 => _185.include]), () => ( [])),
3416
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _187 => _187.tsconfigOptions, 'optionalAccess', _188 => _188.include]), () => ( [])),
3374
3417
  "src/**/*.ts",
3375
3418
  "src/**/*.js",
3376
3419
  "bin/**/*"
3377
3420
  ],
3378
3421
  exclude: [
3379
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _186 => _186.tsconfigOptions, 'optionalAccess', _187 => _187.exclude]), () => ( [])),
3422
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _189 => _189.tsconfigOptions, 'optionalAccess', _190 => _190.exclude]), () => ( [])),
3380
3423
  "jest.config.ts",
3381
3424
  "src/**/*.spec.ts",
3382
3425
  "src/**/*.test.ts"
@@ -3386,8 +3429,8 @@ function createProjectTsConfigJson(tree, options) {
3386
3429
  }
3387
3430
  async function normalizeOptions(tree, options, config) {
3388
3431
  let importPath = options.importPath;
3389
- if (!importPath && _optionalChain([config, 'optionalAccess', _188 => _188.namespace])) {
3390
- importPath = `@${_optionalChain([config, 'optionalAccess', _189 => _189.namespace])}/${options.name}`;
3432
+ if (!importPath && _optionalChain([config, 'optionalAccess', _191 => _191.namespace])) {
3433
+ importPath = `@${_optionalChain([config, 'optionalAccess', _192 => _192.namespace])}/${options.name}`;
3391
3434
  }
3392
3435
  if (options.publishable) {
3393
3436
  if (!importPath) {
@@ -3543,8 +3586,8 @@ async function configSchemaGeneratorFn(tree, options, config) {
3543
3586
  });
3544
3587
  writeTrace(jsonSchema, config);
3545
3588
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
3546
- _nullishCoalesce(_optionalChain([config, 'optionalAccess', _190 => _190.workspaceRoot]), () => ( findWorkspaceRoot())),
3547
- _optionalChain([options, 'access', _191 => _191.outputFile, 'optionalAccess', _192 => _192.startsWith, 'call', _193 => _193("./")]) ? "" : "./"
3589
+ _nullishCoalesce(_optionalChain([config, 'optionalAccess', _193 => _193.workspaceRoot]), () => ( findWorkspaceRoot())),
3590
+ _optionalChain([options, 'access', _194 => _194.outputFile, 'optionalAccess', _195 => _195.startsWith, 'call', _196 => _196("./")]) ? "" : "./"
3548
3591
  );
3549
3592
  writeTrace(
3550
3593
  `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-6VJT5LV5.mjs";
3
+ } from "./chunk-7DGQDV4A.mjs";
4
4
 
5
5
  // src/executors/import/executor.ts
6
6
  var executor_default = withPulumiExecutor("import", (options) => [
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkRGWQJX7Ujs = require('./chunk-RGWQJX7U.js');
3
+ var _chunkDBVGVWOFjs = require('./chunk-DBVGVWOF.js');
4
4
 
5
5
  // src/executors/refresh/executor.ts
6
- var executor_default = _chunkRGWQJX7Ujs.withPulumiExecutor.call(void 0,
6
+ var executor_default = _chunkDBVGVWOFjs.withPulumiExecutor.call(void 0,
7
7
  "refresh",
8
8
  (options) => [
9
9
  "--suppress-progress",
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkHUKXHFCAjs = require('./chunk-HUKXHFCA.js');
4
3
 
5
4
 
5
+ var _chunkIIDIOZI3js = require('./chunk-IIDIOZI3.js');
6
6
 
7
7
 
8
- var _chunk2BDZV476js = require('./chunk-2BDZV476.js');
8
+ var _chunkHUKXHFCAjs = require('./chunk-HUKXHFCA.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 = _chunk2BDZV476js.initGenerator.call(void 0, tree, options);
21
+ const task = _chunkIIDIOZI3js.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 = _chunk2BDZV476js.withRunGenerator.call(void 0,
57
+ var generator_default = _chunkIIDIOZI3js.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 = _chunkHUKXHFCAjs.getCloudTemplateName.call(void 0, options.provider);
64
- _chunk2BDZV476js.run.call(void 0,
64
+ _chunkIIDIOZI3js.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
- _chunk2BDZV476js.run.call(void 0,
88
+ _chunkIIDIOZI3js.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"),
@@ -5,7 +5,7 @@ import {
5
5
  initGenerator,
6
6
  run,
7
7
  withRunGenerator
8
- } from "./chunk-W4L5ONZW.mjs";
8
+ } from "./chunk-FIDXHEA6.mjs";
9
9
 
10
10
  // src/generators/init/generator.ts
11
11
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-6VJT5LV5.mjs";
3
+ } from "./chunk-7DGQDV4A.mjs";
4
4
 
5
5
  // src/executors/refresh/executor.ts
6
6
  var executor_default = withPulumiExecutor(
@@ -0,0 +1,133 @@
1
+ import {
2
+ initGenerator,
3
+ run,
4
+ withRunGenerator
5
+ } from "./chunk-FIDXHEA6.mjs";
6
+ import {
7
+ getCloudTemplateName
8
+ } from "./chunk-KPFHCT4A.mjs";
9
+
10
+ // src/generators/init/generator.ts
11
+ import {
12
+ addDependenciesToPackageJson,
13
+ addProjectConfiguration,
14
+ formatFiles,
15
+ readJsonFile,
16
+ runTasksInSerial
17
+ } from "@nx/devkit";
18
+ import { readFileSync, unlinkSync } from "node:fs";
19
+ import { join } from "node:path";
20
+ async function initGeneratorFn(tree, options, config) {
21
+ const task = initGenerator(tree, options);
22
+ addProjectConfiguration(tree, options.name || "deployment", {
23
+ root: options.directory || "./deployment",
24
+ projectType: "application",
25
+ sourceRoot: options.directory || "./deployment",
26
+ targets: {
27
+ up: {
28
+ executor: "@nx-extend/pulumi:up",
29
+ options: {}
30
+ },
31
+ preview: {
32
+ executor: "@nx-extend/pulumi:preview",
33
+ options: {}
34
+ },
35
+ refresh: {
36
+ executor: "@nx-extend/pulumi:refresh",
37
+ options: {}
38
+ },
39
+ import: {
40
+ executor: "@nx-extend/pulumi:import",
41
+ options: {}
42
+ }
43
+ },
44
+ tags: ["infra:pulumi"]
45
+ });
46
+ await runTasksInSerial(
47
+ generateNewPulumiProject(tree, options, config),
48
+ loginToPulumi(tree, options, config),
49
+ addPulumiDeps(tree, options),
50
+ cleanupProject(tree, options)
51
+ )();
52
+ if (!options.skipFormat) {
53
+ await formatFiles(tree);
54
+ }
55
+ return task;
56
+ }
57
+ var generator_default = withRunGenerator(
58
+ "Initialize Storm Pulumi workspace",
59
+ initGeneratorFn
60
+ );
61
+ function generateNewPulumiProject(tree, options, config) {
62
+ return () => {
63
+ const template = getCloudTemplateName(options.provider);
64
+ run(
65
+ config,
66
+ [
67
+ `pulumi new ${template}`,
68
+ `--name=${options.name || "deployment"}`,
69
+ `--dir=${options.directory || "./deployment"}`,
70
+ options.secretsProvider && `--secrets-provider=${options.secretsProvider}`,
71
+ "--generate-only",
72
+ "--yes",
73
+ "--force"
74
+ ].filter(Boolean).join(" "),
75
+ join(config.workspaceRoot, options.directory || "./deployment"),
76
+ "inherit"
77
+ );
78
+ };
79
+ }
80
+ function loginToPulumi(tree, options, config) {
81
+ return () => {
82
+ if (!options.login) {
83
+ return;
84
+ }
85
+ if (options.login.startsWith("file://")) {
86
+ options.login = `file://${tree.root}/${options.directory || "./deployment"}/${options.login.replace("file://", "")}`;
87
+ }
88
+ run(
89
+ config,
90
+ ["pulumi login", options.login].filter(Boolean).join(" "),
91
+ join(config.workspaceRoot, options.directory || "./deployment"),
92
+ "inherit",
93
+ {
94
+ ...process.env,
95
+ PULUMI_EXPERIMENTAL: "true"
96
+ }
97
+ );
98
+ };
99
+ }
100
+ function addPulumiDeps(tree, options) {
101
+ return () => {
102
+ const packageJson = readJsonFile(`${options.directory}/package.json`);
103
+ if (packageJson) {
104
+ addDependenciesToPackageJson(tree, {}, packageJson.dependencies || {})();
105
+ }
106
+ };
107
+ }
108
+ function cleanupProject(tree, options) {
109
+ return () => {
110
+ const indexTsLocation = join(
111
+ tree.root,
112
+ `${options.directory || "./deployment"}/index.ts`
113
+ );
114
+ tree.write(
115
+ `${options.directory}/pulumi.ts`,
116
+ readFileSync(indexTsLocation).toString()
117
+ );
118
+ unlinkSync(
119
+ join(tree.root, `${options.directory || "./deployment"}/.gitignore`)
120
+ );
121
+ unlinkSync(
122
+ join(tree.root, `${options.directory || "./deployment"}/package.json`)
123
+ );
124
+ unlinkSync(
125
+ join(tree.root, `${options.directory || "./deployment"}/tsconfig.json`)
126
+ );
127
+ };
128
+ }
129
+
130
+ export {
131
+ initGeneratorFn,
132
+ generator_default
133
+ };
@@ -0,0 +1,133 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkHUKXHFCAjs = require('./chunk-HUKXHFCA.js');
4
+
5
+
6
+
7
+
8
+ var _chunkIIDIOZI3js = require('./chunk-IIDIOZI3.js');
9
+
10
+ // src/generators/init/generator.ts
11
+
12
+
13
+
14
+
15
+
16
+
17
+ var _devkit = require('@nx/devkit');
18
+ var _fs = require('fs');
19
+ var _path = require('path');
20
+ async function initGeneratorFn(tree, options, config) {
21
+ const task = _chunkIIDIOZI3js.initGenerator.call(void 0, tree, options);
22
+ _devkit.addProjectConfiguration.call(void 0, tree, options.name || "deployment", {
23
+ root: options.directory || "./deployment",
24
+ projectType: "application",
25
+ sourceRoot: options.directory || "./deployment",
26
+ targets: {
27
+ up: {
28
+ executor: "@nx-extend/pulumi:up",
29
+ options: {}
30
+ },
31
+ preview: {
32
+ executor: "@nx-extend/pulumi:preview",
33
+ options: {}
34
+ },
35
+ refresh: {
36
+ executor: "@nx-extend/pulumi:refresh",
37
+ options: {}
38
+ },
39
+ import: {
40
+ executor: "@nx-extend/pulumi:import",
41
+ options: {}
42
+ }
43
+ },
44
+ tags: ["infra:pulumi"]
45
+ });
46
+ await _devkit.runTasksInSerial.call(void 0,
47
+ generateNewPulumiProject(tree, options, config),
48
+ loginToPulumi(tree, options, config),
49
+ addPulumiDeps(tree, options),
50
+ cleanupProject(tree, options)
51
+ )();
52
+ if (!options.skipFormat) {
53
+ await _devkit.formatFiles.call(void 0, tree);
54
+ }
55
+ return task;
56
+ }
57
+ var generator_default = _chunkIIDIOZI3js.withRunGenerator.call(void 0,
58
+ "Initialize Storm Pulumi workspace",
59
+ initGeneratorFn
60
+ );
61
+ function generateNewPulumiProject(tree, options, config) {
62
+ return () => {
63
+ const template = _chunkHUKXHFCAjs.getCloudTemplateName.call(void 0, options.provider);
64
+ _chunkIIDIOZI3js.run.call(void 0,
65
+ config,
66
+ [
67
+ `pulumi new ${template}`,
68
+ `--name=${options.name || "deployment"}`,
69
+ `--dir=${options.directory || "./deployment"}`,
70
+ options.secretsProvider && `--secrets-provider=${options.secretsProvider}`,
71
+ "--generate-only",
72
+ "--yes",
73
+ "--force"
74
+ ].filter(Boolean).join(" "),
75
+ _path.join.call(void 0, config.workspaceRoot, options.directory || "./deployment"),
76
+ "inherit"
77
+ );
78
+ };
79
+ }
80
+ function loginToPulumi(tree, options, config) {
81
+ return () => {
82
+ if (!options.login) {
83
+ return;
84
+ }
85
+ if (options.login.startsWith("file://")) {
86
+ options.login = `file://${tree.root}/${options.directory || "./deployment"}/${options.login.replace("file://", "")}`;
87
+ }
88
+ _chunkIIDIOZI3js.run.call(void 0,
89
+ config,
90
+ ["pulumi login", options.login].filter(Boolean).join(" "),
91
+ _path.join.call(void 0, config.workspaceRoot, options.directory || "./deployment"),
92
+ "inherit",
93
+ {
94
+ ...process.env,
95
+ PULUMI_EXPERIMENTAL: "true"
96
+ }
97
+ );
98
+ };
99
+ }
100
+ function addPulumiDeps(tree, options) {
101
+ return () => {
102
+ const packageJson = _devkit.readJsonFile.call(void 0, `${options.directory}/package.json`);
103
+ if (packageJson) {
104
+ _devkit.addDependenciesToPackageJson.call(void 0, tree, {}, packageJson.dependencies || {})();
105
+ }
106
+ };
107
+ }
108
+ function cleanupProject(tree, options) {
109
+ return () => {
110
+ const indexTsLocation = _path.join.call(void 0,
111
+ tree.root,
112
+ `${options.directory || "./deployment"}/index.ts`
113
+ );
114
+ tree.write(
115
+ `${options.directory}/pulumi.ts`,
116
+ _fs.readFileSync.call(void 0, indexTsLocation).toString()
117
+ );
118
+ _fs.unlinkSync.call(void 0,
119
+ _path.join.call(void 0, tree.root, `${options.directory || "./deployment"}/.gitignore`)
120
+ );
121
+ _fs.unlinkSync.call(void 0,
122
+ _path.join.call(void 0, tree.root, `${options.directory || "./deployment"}/package.json`)
123
+ );
124
+ _fs.unlinkSync.call(void 0,
125
+ _path.join.call(void 0, tree.root, `${options.directory || "./deployment"}/tsconfig.json`)
126
+ );
127
+ };
128
+ }
129
+
130
+
131
+
132
+
133
+ exports.initGeneratorFn = initGeneratorFn; exports.generator_default = generator_default;
package/dist/executors.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";require('./chunk-XO62WWX4.js');
2
- require('./chunk-F4B6Y7KO.js');
3
- require('./chunk-SU344ZGP.js');
4
- require('./chunk-HCFCOAGN.js');
5
- require('./chunk-DI3B75DR.js');
6
- require('./chunk-HSMFETWH.js');
7
- require('./chunk-RGWQJX7U.js');
8
- require('./chunk-2BDZV476.js');
2
+ require('./chunk-BATH5DDB.js');
3
+ require('./chunk-3AE6FSOE.js');
4
+ require('./chunk-LM4244PW.js');
5
+ require('./chunk-4GKETXZ5.js');
6
+ require('./chunk-463EDVMW.js');
7
+ require('./chunk-DBVGVWOF.js');
8
+ require('./chunk-IIDIOZI3.js');
9
9
  require('./chunk-3RG5ZIWI.js');
@@ -1,9 +1,9 @@
1
1
  import "./chunk-UV4HQO3Y.mjs";
2
- import "./chunk-J7WC5F2C.mjs";
3
- import "./chunk-B2W7AFH4.mjs";
4
- import "./chunk-3SZCKGRO.mjs";
5
- import "./chunk-SJEDKQQN.mjs";
6
- import "./chunk-ZRJWH2TZ.mjs";
7
- import "./chunk-6VJT5LV5.mjs";
8
- import "./chunk-W4L5ONZW.mjs";
2
+ import "./chunk-L6R34NKD.mjs";
3
+ import "./chunk-FOXRNQRZ.mjs";
4
+ import "./chunk-MPA26U22.mjs";
5
+ import "./chunk-FY5JHCFO.mjs";
6
+ import "./chunk-5WNXR4I6.mjs";
7
+ import "./chunk-7DGQDV4A.mjs";
8
+ import "./chunk-FIDXHEA6.mjs";
9
9
  import "./chunk-ACCVWIOF.mjs";
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
2
2
 
3
3
 
4
- var _chunk3JZ3LSEBjs = require('./chunk-3JZ3LSEB.js');
4
+ var _chunkX2Z6KK46js = require('./chunk-X2Z6KK46.js');
5
5
  require('./chunk-HUKXHFCA.js');
6
- require('./chunk-2BDZV476.js');
6
+ require('./chunk-IIDIOZI3.js');
7
7
  require('./chunk-3RG5ZIWI.js');
8
8
 
9
9
 
10
- exports.initGeneratorFn = _chunk3JZ3LSEBjs.initGeneratorFn;
10
+ exports.initGeneratorFn = _chunkX2Z6KK46js.initGeneratorFn;
@@ -1,9 +1,9 @@
1
1
  import "./chunk-23KFTIT2.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-HACFACOC.mjs";
4
+ } from "./chunk-MML43QWB.mjs";
5
5
  import "./chunk-KPFHCT4A.mjs";
6
- import "./chunk-W4L5ONZW.mjs";
6
+ import "./chunk-FIDXHEA6.mjs";
7
7
  import "./chunk-ACCVWIOF.mjs";
8
8
  export {
9
9
  initGeneratorFn
package/dist/index.js CHANGED
@@ -1,26 +1,26 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-XO62WWX4.js');
2
- require('./chunk-F4B6Y7KO.js');
3
- require('./chunk-SU344ZGP.js');
4
- require('./chunk-HCFCOAGN.js');
5
- require('./chunk-DI3B75DR.js');
2
+ require('./chunk-BATH5DDB.js');
3
+ require('./chunk-3AE6FSOE.js');
4
+ require('./chunk-LM4244PW.js');
5
+ require('./chunk-4GKETXZ5.js');
6
6
  require('./chunk-N2YKXZ5R.js');
7
7
 
8
8
 
9
- var _chunk3JZ3LSEBjs = require('./chunk-3JZ3LSEB.js');
9
+ var _chunkX2Z6KK46js = require('./chunk-X2Z6KK46.js');
10
10
  require('./chunk-GUQOEBFW.js');
11
11
 
12
12
 
13
13
 
14
14
  var _chunkHUKXHFCAjs = require('./chunk-HUKXHFCA.js');
15
- require('./chunk-HSMFETWH.js');
15
+ require('./chunk-463EDVMW.js');
16
16
 
17
17
 
18
- var _chunkRGWQJX7Ujs = require('./chunk-RGWQJX7U.js');
19
- require('./chunk-2BDZV476.js');
18
+ var _chunkDBVGVWOFjs = require('./chunk-DBVGVWOF.js');
19
+ require('./chunk-IIDIOZI3.js');
20
20
  require('./chunk-3RG5ZIWI.js');
21
21
 
22
22
 
23
23
 
24
24
 
25
25
 
26
- exports.Provider = _chunkHUKXHFCAjs.Provider; exports.getCloudTemplateName = _chunkHUKXHFCAjs.getCloudTemplateName; exports.initGeneratorFn = _chunk3JZ3LSEBjs.initGeneratorFn; exports.withPulumiExecutor = _chunkRGWQJX7Ujs.withPulumiExecutor;
26
+ exports.Provider = _chunkHUKXHFCAjs.Provider; exports.getCloudTemplateName = _chunkHUKXHFCAjs.getCloudTemplateName; exports.initGeneratorFn = _chunkX2Z6KK46js.initGeneratorFn; exports.withPulumiExecutor = _chunkDBVGVWOFjs.withPulumiExecutor;
package/dist/index.mjs CHANGED
@@ -1,22 +1,22 @@
1
1
  import "./chunk-UV4HQO3Y.mjs";
2
- import "./chunk-J7WC5F2C.mjs";
3
- import "./chunk-B2W7AFH4.mjs";
4
- import "./chunk-3SZCKGRO.mjs";
5
- import "./chunk-SJEDKQQN.mjs";
2
+ import "./chunk-L6R34NKD.mjs";
3
+ import "./chunk-FOXRNQRZ.mjs";
4
+ import "./chunk-MPA26U22.mjs";
5
+ import "./chunk-FY5JHCFO.mjs";
6
6
  import "./chunk-23KFTIT2.mjs";
7
7
  import {
8
8
  initGeneratorFn
9
- } from "./chunk-HACFACOC.mjs";
9
+ } from "./chunk-MML43QWB.mjs";
10
10
  import "./chunk-CA7S5MOH.mjs";
11
11
  import {
12
12
  Provider,
13
13
  getCloudTemplateName
14
14
  } from "./chunk-KPFHCT4A.mjs";
15
- import "./chunk-ZRJWH2TZ.mjs";
15
+ import "./chunk-5WNXR4I6.mjs";
16
16
  import {
17
17
  withPulumiExecutor
18
- } from "./chunk-6VJT5LV5.mjs";
19
- import "./chunk-W4L5ONZW.mjs";
18
+ } from "./chunk-7DGQDV4A.mjs";
19
+ import "./chunk-FIDXHEA6.mjs";
20
20
  import "./chunk-ACCVWIOF.mjs";
21
21
  export {
22
22
  Provider,
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkRGWQJX7Ujs = require('../../chunk-RGWQJX7U.js');
4
- require('../../chunk-2BDZV476.js');
3
+ var _chunkDBVGVWOFjs = require('../../chunk-DBVGVWOF.js');
4
+ require('../../chunk-IIDIOZI3.js');
5
5
  require('../../chunk-3RG5ZIWI.js');
6
6
 
7
7
 
8
- exports.withPulumiExecutor = _chunkRGWQJX7Ujs.withPulumiExecutor;
8
+ exports.withPulumiExecutor = _chunkDBVGVWOFjs.withPulumiExecutor;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "../../chunk-6VJT5LV5.mjs";
4
- import "../../chunk-W4L5ONZW.mjs";
3
+ } from "../../chunk-7DGQDV4A.mjs";
4
+ import "../../chunk-FIDXHEA6.mjs";
5
5
  import "../../chunk-ACCVWIOF.mjs";
6
6
  export {
7
7
  withPulumiExecutor
@@ -5,11 +5,11 @@
5
5
  var _chunkHUKXHFCAjs = require('../../chunk-HUKXHFCA.js');
6
6
 
7
7
 
8
- var _chunkRGWQJX7Ujs = require('../../chunk-RGWQJX7U.js');
9
- require('../../chunk-2BDZV476.js');
8
+ var _chunkDBVGVWOFjs = require('../../chunk-DBVGVWOF.js');
9
+ require('../../chunk-IIDIOZI3.js');
10
10
  require('../../chunk-3RG5ZIWI.js');
11
11
 
12
12
 
13
13
 
14
14
 
15
- exports.Provider = _chunkHUKXHFCAjs.Provider; exports.getCloudTemplateName = _chunkHUKXHFCAjs.getCloudTemplateName; exports.withPulumiExecutor = _chunkRGWQJX7Ujs.withPulumiExecutor;
15
+ exports.Provider = _chunkHUKXHFCAjs.Provider; exports.getCloudTemplateName = _chunkHUKXHFCAjs.getCloudTemplateName; exports.withPulumiExecutor = _chunkDBVGVWOFjs.withPulumiExecutor;
@@ -5,8 +5,8 @@ import {
5
5
  } from "../../chunk-KPFHCT4A.mjs";
6
6
  import {
7
7
  withPulumiExecutor
8
- } from "../../chunk-6VJT5LV5.mjs";
9
- import "../../chunk-W4L5ONZW.mjs";
8
+ } from "../../chunk-7DGQDV4A.mjs";
9
+ import "../../chunk-FIDXHEA6.mjs";
10
10
  import "../../chunk-ACCVWIOF.mjs";
11
11
  export {
12
12
  Provider,
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkHSMFETWHjs = require('../../../chunk-HSMFETWH.js');
4
- require('../../../chunk-RGWQJX7U.js');
5
- require('../../../chunk-2BDZV476.js');
3
+ var _chunk463EDVMWjs = require('../../../chunk-463EDVMW.js');
4
+ require('../../../chunk-DBVGVWOF.js');
5
+ require('../../../chunk-IIDIOZI3.js');
6
6
  require('../../../chunk-3RG5ZIWI.js');
7
7
 
8
8
 
9
- exports.default = _chunkHSMFETWHjs.executor_default;
9
+ exports.default = _chunk463EDVMWjs.executor_default;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  executor_default
3
- } from "../../../chunk-ZRJWH2TZ.mjs";
4
- import "../../../chunk-6VJT5LV5.mjs";
5
- import "../../../chunk-W4L5ONZW.mjs";
3
+ } from "../../../chunk-5WNXR4I6.mjs";
4
+ import "../../../chunk-7DGQDV4A.mjs";
5
+ import "../../../chunk-FIDXHEA6.mjs";
6
6
  import "../../../chunk-ACCVWIOF.mjs";
7
7
  export {
8
8
  executor_default as default
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkF4B6Y7KOjs = require('../../../chunk-F4B6Y7KO.js');
4
- require('../../../chunk-RGWQJX7U.js');
5
- require('../../../chunk-2BDZV476.js');
3
+ var _chunkBATH5DDBjs = require('../../../chunk-BATH5DDB.js');
4
+ require('../../../chunk-DBVGVWOF.js');
5
+ require('../../../chunk-IIDIOZI3.js');
6
6
  require('../../../chunk-3RG5ZIWI.js');
7
7
 
8
8
 
9
- exports.default = _chunkF4B6Y7KOjs.executor_default;
9
+ exports.default = _chunkBATH5DDBjs.executor_default;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  executor_default
3
- } from "../../../chunk-J7WC5F2C.mjs";
4
- import "../../../chunk-6VJT5LV5.mjs";
5
- import "../../../chunk-W4L5ONZW.mjs";
3
+ } from "../../../chunk-L6R34NKD.mjs";
4
+ import "../../../chunk-7DGQDV4A.mjs";
5
+ import "../../../chunk-FIDXHEA6.mjs";
6
6
  import "../../../chunk-ACCVWIOF.mjs";
7
7
  export {
8
8
  executor_default as default
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkSU344ZGPjs = require('../../../chunk-SU344ZGP.js');
4
- require('../../../chunk-RGWQJX7U.js');
5
- require('../../../chunk-2BDZV476.js');
3
+ var _chunk3AE6FSOEjs = require('../../../chunk-3AE6FSOE.js');
4
+ require('../../../chunk-DBVGVWOF.js');
5
+ require('../../../chunk-IIDIOZI3.js');
6
6
  require('../../../chunk-3RG5ZIWI.js');
7
7
 
8
8
 
9
- exports.default = _chunkSU344ZGPjs.executor_default;
9
+ exports.default = _chunk3AE6FSOEjs.executor_default;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  executor_default
3
- } from "../../../chunk-B2W7AFH4.mjs";
4
- import "../../../chunk-6VJT5LV5.mjs";
5
- import "../../../chunk-W4L5ONZW.mjs";
3
+ } from "../../../chunk-FOXRNQRZ.mjs";
4
+ import "../../../chunk-7DGQDV4A.mjs";
5
+ import "../../../chunk-FIDXHEA6.mjs";
6
6
  import "../../../chunk-ACCVWIOF.mjs";
7
7
  export {
8
8
  executor_default as default
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkHCFCOAGNjs = require('../../../chunk-HCFCOAGN.js');
4
- require('../../../chunk-RGWQJX7U.js');
5
- require('../../../chunk-2BDZV476.js');
3
+ var _chunkLM4244PWjs = require('../../../chunk-LM4244PW.js');
4
+ require('../../../chunk-DBVGVWOF.js');
5
+ require('../../../chunk-IIDIOZI3.js');
6
6
  require('../../../chunk-3RG5ZIWI.js');
7
7
 
8
8
 
9
- exports.default = _chunkHCFCOAGNjs.executor_default;
9
+ exports.default = _chunkLM4244PWjs.executor_default;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  executor_default
3
- } from "../../../chunk-3SZCKGRO.mjs";
4
- import "../../../chunk-6VJT5LV5.mjs";
5
- import "../../../chunk-W4L5ONZW.mjs";
3
+ } from "../../../chunk-MPA26U22.mjs";
4
+ import "../../../chunk-7DGQDV4A.mjs";
5
+ import "../../../chunk-FIDXHEA6.mjs";
6
6
  import "../../../chunk-ACCVWIOF.mjs";
7
7
  export {
8
8
  executor_default as default
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkDI3B75DRjs = require('../../../chunk-DI3B75DR.js');
4
- require('../../../chunk-RGWQJX7U.js');
5
- require('../../../chunk-2BDZV476.js');
3
+ var _chunk4GKETXZ5js = require('../../../chunk-4GKETXZ5.js');
4
+ require('../../../chunk-DBVGVWOF.js');
5
+ require('../../../chunk-IIDIOZI3.js');
6
6
  require('../../../chunk-3RG5ZIWI.js');
7
7
 
8
8
 
9
- exports.default = _chunkDI3B75DRjs.executor_default;
9
+ exports.default = _chunk4GKETXZ5js.executor_default;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  executor_default
3
- } from "../../../chunk-SJEDKQQN.mjs";
4
- import "../../../chunk-6VJT5LV5.mjs";
5
- import "../../../chunk-W4L5ONZW.mjs";
3
+ } from "../../../chunk-FY5JHCFO.mjs";
4
+ import "../../../chunk-7DGQDV4A.mjs";
5
+ import "../../../chunk-FIDXHEA6.mjs";
6
6
  import "../../../chunk-ACCVWIOF.mjs";
7
7
  export {
8
8
  executor_default as default
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk3JZ3LSEBjs = require('../../../chunk-3JZ3LSEB.js');
4
+ var _chunkX2Z6KK46js = require('../../../chunk-X2Z6KK46.js');
5
5
  require('../../../chunk-HUKXHFCA.js');
6
- require('../../../chunk-2BDZV476.js');
6
+ require('../../../chunk-IIDIOZI3.js');
7
7
  require('../../../chunk-3RG5ZIWI.js');
8
8
 
9
9
 
10
10
 
11
- exports.default = _chunk3JZ3LSEBjs.generator_default; exports.initGeneratorFn = _chunk3JZ3LSEBjs.initGeneratorFn;
11
+ exports.default = _chunkX2Z6KK46js.generator_default; exports.initGeneratorFn = _chunkX2Z6KK46js.initGeneratorFn;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generator_default,
3
3
  initGeneratorFn
4
- } from "../../../chunk-HACFACOC.mjs";
4
+ } from "../../../chunk-MML43QWB.mjs";
5
5
  import "../../../chunk-KPFHCT4A.mjs";
6
- import "../../../chunk-W4L5ONZW.mjs";
6
+ import "../../../chunk-FIDXHEA6.mjs";
7
7
  import "../../../chunk-ACCVWIOF.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.13.24",
3
+ "version": "0.13.26",
4
4
  "type": "commonjs",
5
5
  "description": "Tools for managing Pulumi infrastructure within a Nx workspace.",
6
6
  "repository": {