@storm-software/pulumi-tools 0.7.39 → 0.7.41

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 +14 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-56MIYBFB.mjs → chunk-26S6TAKJ.mjs} +1 -1
  4. package/dist/{chunk-4JHRPIAI.mjs → chunk-2KDIKPBS.mjs} +1 -1
  5. package/dist/{chunk-OHB7BWHV.mjs → chunk-2UCO46LO.mjs} +104 -67
  6. package/dist/{chunk-WP5ADETB.js → chunk-3LQFRKIU.js} +131 -94
  7. package/dist/{chunk-EBQ4W45Z.mjs → chunk-3UGVTIGP.mjs} +1 -1
  8. package/dist/{chunk-CAUTCB4N.js → chunk-3XXJV3DH.js} +2 -2
  9. package/dist/{chunk-2XCN4ZZY.mjs → chunk-7AWVCCR4.mjs} +1 -1
  10. package/dist/{chunk-HGFZEBRF.js → chunk-APIJLG5M.js} +2 -2
  11. package/dist/{chunk-OFWGUF5J.js → chunk-FW7MVDHP.js} +5 -5
  12. package/dist/{chunk-AUCEBVHL.js → chunk-OPMXGFNT.js} +2 -2
  13. package/dist/{chunk-CV3MVGM5.mjs → chunk-Q5MCQX6H.mjs} +1 -1
  14. package/dist/{chunk-FUB25V7L.mjs → chunk-TMIIM3X7.mjs} +1 -1
  15. package/dist/{chunk-3B4UHGT2.js → chunk-X5ZCAH2C.js} +2 -2
  16. package/dist/{chunk-ITMXW6BU.js → chunk-XKYTUIZK.js} +3 -3
  17. package/dist/{chunk-OSIIC47G.mjs → chunk-Z2ODCGRK.mjs} +1 -1
  18. package/dist/{chunk-GNIGDMSD.js → chunk-ZU6W5KIM.js} +2 -2
  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-Cf-nGItq.d.mts → generators-C1_XT3qk.d.mts} +1 -1
  24. package/dist/{generators-DltbTTJ2.d.ts → generators-CIhk3saj.d.ts} +1 -1
  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 +1 -1
  34. package/dist/src/base/base-executor.d.ts +1 -1
  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-PmpUoA3H.d.mts → types-D7IMa2M3.d.mts} +20 -2
  66. package/dist/{types-PmpUoA3H.d.ts → types-D7IMa2M3.d.ts} +20 -2
  67. package/package.json +1 -1
@@ -181,6 +181,10 @@ var WorkspaceDirectoryConfigSchema = _zod2.default.object({
181
181
  log: _zod2.default.string().trim().optional().describe("The directory used to store the environment's temp files"),
182
182
  build: _zod2.default.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
183
183
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
184
+ var errorConfigSchema = _zod2.default.object({
185
+ codesFile: _zod2.default.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe("The path to the workspace's error codes JSON file"),
186
+ url: _zod2.default.string().trim().url().optional().describe("A URL to a page that looks up the workspace's error messages given a specific error code")
187
+ }).describe("The workspace's error config used during the error process");
184
188
  var stormWorkspaceConfigSchema = _zod2.default.object({
185
189
  $schema: _zod2.default.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"),
186
190
  extends: ExtendsSchema.optional(),
@@ -199,6 +203,7 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
199
203
  bot: WorkspaceBotConfigSchema,
200
204
  release: WorkspaceReleaseConfigSchema,
201
205
  account: WorkspaceAccountConfigSchema,
206
+ error: errorConfigSchema,
202
207
  mode: _zod2.default.enum([
203
208
  "development",
204
209
  "staging",
@@ -536,7 +541,10 @@ var getDefaultConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, asyn
536
541
  license,
537
542
  homepage,
538
543
  docs: `${homepage || STORM_DEFAULT_HOMEPAGE}/docs`,
539
- licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license`
544
+ licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license`,
545
+ error: {
546
+ url: `${homepage || STORM_DEFAULT_HOMEPAGE}/errors`
547
+ }
540
548
  };
541
549
  }, "getDefaultConfig");
542
550
 
@@ -901,6 +909,10 @@ var getConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, () => {
901
909
  header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
902
910
  footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
903
911
  },
912
+ error: {
913
+ codesFile: process.env[`${prefix}ERROR_CODES_FILE`] || void 0,
914
+ url: process.env[`${prefix}ERROR_URL`] || void 0
915
+ },
904
916
  account: {
905
917
  twitter: process.env[`${prefix}ACCOUNT_TWITTER`] || void 0,
906
918
  discord: process.env[`${prefix}ACCOUNT_DISCORD`] || void 0,
@@ -1074,6 +1086,10 @@ var setConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config)
1074
1086
  process.env[`${prefix}BOT_NAME`] = config.bot.name;
1075
1087
  process.env[`${prefix}BOT_EMAIL`] = config.bot.email;
1076
1088
  }
1089
+ if (config.error) {
1090
+ process.env[`${prefix}ERROR_CODES_FILE`] = config.error.codesFile;
1091
+ process.env[`${prefix}ERROR_URL`] = config.error.url;
1092
+ }
1077
1093
  if (config.release) {
1078
1094
  process.env[`${prefix}RELEASE_BANNER`] = config.release.banner;
1079
1095
  process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
@@ -1204,7 +1220,7 @@ var setConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config)
1204
1220
  process.env[`${prefix}REGISTRY_CYCLONE`] = String(config.registry.cyclone);
1205
1221
  }
1206
1222
  if (config.registry.container) {
1207
- process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.cyclone);
1223
+ process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.container);
1208
1224
  }
1209
1225
  }
1210
1226
  if (config.logLevel) {
@@ -1989,58 +2005,6 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call
1989
2005
 
1990
2006
  // ../build-tools/src/utilities/get-entry-points.ts
1991
2007
 
1992
- var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
1993
- const workspaceRoot3 = config.workspaceRoot || findWorkspaceRoot();
1994
- const entryPoints = [];
1995
- if (entry) {
1996
- if (typeof entry === "string") {
1997
- entryPoints.push(entry);
1998
- } else if (Array.isArray(entry)) {
1999
- entryPoints.push(...entry);
2000
- } else {
2001
- entryPoints.push(...Object.values(entry));
2002
- }
2003
- }
2004
- if (emitOnAll) {
2005
- entryPoints.push(joinPaths(workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
2006
- }
2007
- const results = await Promise.all(entryPoints.map(async (entryPoint) => {
2008
- const paths = [];
2009
- if (entryPoint.includes("*")) {
2010
- const files = await _glob.glob.call(void 0, entryPoint, {
2011
- withFileTypes: true,
2012
- ignore: [
2013
- "**/node_modules/**"
2014
- ]
2015
- });
2016
- paths.push(...files.reduce((ret, filePath) => {
2017
- const result = correctPaths(joinPaths(filePath.path, filePath.name).replaceAll(correctPaths(workspaceRoot3), "").replaceAll(correctPaths(projectRoot), ""));
2018
- if (result) {
2019
- writeDebug(`Trying to add entry point ${result} at "${joinPaths(filePath.path, filePath.name)}"`, config);
2020
- if (!paths.includes(result)) {
2021
- paths.push(result);
2022
- }
2023
- }
2024
- return ret;
2025
- }, []));
2026
- } else {
2027
- const result = correctPaths(entryPoint.replaceAll(correctPaths(workspaceRoot3), "").replaceAll(correctPaths(projectRoot), ""));
2028
- writeDebug(`Trying to add entry point ${result}"`, config);
2029
- if (!paths.includes(result)) {
2030
- paths.push(result);
2031
- }
2032
- }
2033
- return paths;
2034
- }));
2035
- return results.filter(Boolean).reduce((ret, result) => {
2036
- result.forEach((res) => {
2037
- if (res && !ret.includes(res)) {
2038
- ret.push(res);
2039
- }
2040
- });
2041
- return ret;
2042
- }, []);
2043
- }, "getEntryPoints");
2044
2008
 
2045
2009
  // ../build-tools/src/utilities/get-env.ts
2046
2010
  var getEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (builder, options) => {
@@ -2464,10 +2428,10 @@ var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, r
2464
2428
  if (process.env.WATCH !== "true" && process.env.DEV !== "true") {
2465
2429
  await run(resolvedOptions.config, `pnpm exec tsc --project ${resolvedOptions.tsconfig}`, resolvedOptions.config.workspaceRoot);
2466
2430
  }
2467
- if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && resolvedOptions.entryPoints[0] && resolvedOptions.entryPoints[0].endsWith(".ts")) {
2431
+ if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && _optionalChain([resolvedOptions, 'access', _137 => _137.entryPoints, 'access', _138 => _138[0], 'optionalAccess', _139 => _139.in]) && resolvedOptions.entryPoints[0].in.endsWith(".ts")) {
2468
2432
  const sourceRoot = resolvedOptions.sourceRoot.replaceAll(resolvedOptions.projectRoot, "");
2469
2433
  const typeOutDir = resolvedOptions.outdir;
2470
- const entryPoint = resolvedOptions.entryPoints[0].replace(sourceRoot, "").replace(/\.ts$/, "");
2434
+ const entryPoint = resolvedOptions.entryPoints[0].in.replace(sourceRoot, "").replace(/\.ts$/, "");
2471
2435
  const bundlePath = joinPaths(resolvedOptions.outdir, entryPoint);
2472
2436
  let dtsPath;
2473
2437
  if (_fs.existsSync.call(void 0, joinPaths(resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
@@ -2490,7 +2454,7 @@ var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, r
2490
2454
  function getTypeDependencyPackageName(npmPackage) {
2491
2455
  if (npmPackage.startsWith("@")) {
2492
2456
  const [scope, name] = npmPackage.split("/");
2493
- return `@types/${_optionalChain([scope, 'optionalAccess', _137 => _137.slice, 'call', _138 => _138(1)])}__${name}`;
2457
+ return `@types/${_optionalChain([scope, 'optionalAccess', _140 => _140.slice, 'call', _141 => _141(1)])}__${name}`;
2494
2458
  }
2495
2459
  return `@types/${npmPackage}`;
2496
2460
  }
@@ -2658,6 +2622,84 @@ var shebangRenderer = {
2658
2622
  }
2659
2623
  };
2660
2624
 
2625
+ // ../esbuild/src/utilities/get-entry-points.ts
2626
+
2627
+ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
2628
+ const workspaceRoot3 = config.workspaceRoot || findWorkspaceRoot();
2629
+ const entryPoints = [];
2630
+ if (entry) {
2631
+ if (typeof entry === "string") {
2632
+ entryPoints.push({
2633
+ in: entry,
2634
+ out: entry
2635
+ });
2636
+ } else if (Array.isArray(entry)) {
2637
+ entryPoints.push(...entry.map((entry2) => ({
2638
+ in: entry2,
2639
+ out: entry2
2640
+ })));
2641
+ } else {
2642
+ entryPoints.push(...Object.entries(entry).map(([key, value]) => {
2643
+ if (typeof value === "string") {
2644
+ return {
2645
+ in: key,
2646
+ out: value
2647
+ };
2648
+ } else {
2649
+ return {
2650
+ in: key,
2651
+ out: key
2652
+ };
2653
+ }
2654
+ }));
2655
+ }
2656
+ }
2657
+ if (emitOnAll) {
2658
+ entryPoints.push({
2659
+ in: joinPaths(workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"),
2660
+ out: joinPaths(workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}")
2661
+ });
2662
+ }
2663
+ const results = await Promise.all(entryPoints.map(async (entryPoint) => {
2664
+ const paths = [];
2665
+ if (entryPoint.in.includes("*")) {
2666
+ const files = await _glob.glob.call(void 0, entryPoint.in, {
2667
+ withFileTypes: true,
2668
+ ignore: [
2669
+ "**/node_modules/**"
2670
+ ]
2671
+ });
2672
+ paths.push(...files.reduce((ret, filePath) => {
2673
+ const result = correctPaths(joinPaths(filePath.path, filePath.name).replaceAll(correctPaths(workspaceRoot3), "").replaceAll(correctPaths(projectRoot), ""));
2674
+ if (result) {
2675
+ writeDebug(`Trying to add entry point ${result} at "${joinPaths(filePath.path, filePath.name)}"`, config);
2676
+ if (!paths.some((p) => p.in === result)) {
2677
+ paths.push({
2678
+ in: result,
2679
+ out: entryPoint.out.replace(entryPoint.in, result)
2680
+ });
2681
+ }
2682
+ }
2683
+ return ret;
2684
+ }, []));
2685
+ } else {
2686
+ writeDebug(`Trying to add entry point ${entryPoint}"`, config);
2687
+ if (!paths.some((p) => p.in === entryPoint.in)) {
2688
+ paths.push(entryPoint);
2689
+ }
2690
+ }
2691
+ return paths;
2692
+ }));
2693
+ return results.filter(Boolean).reduce((ret, result) => {
2694
+ result.forEach((res) => {
2695
+ if (res && !ret.some((p) => p.in === res.in)) {
2696
+ ret.push(res);
2697
+ }
2698
+ });
2699
+ return ret;
2700
+ }, []);
2701
+ }, "getEntryPoints");
2702
+
2661
2703
  // ../esbuild/src/utilities/helpers.ts
2662
2704
  function handleSync(fn) {
2663
2705
  try {
@@ -2706,7 +2748,7 @@ function pipeSync(fn, ...fns) {
2706
2748
  return (...args) => {
2707
2749
  let result = fn(...args);
2708
2750
  for (let i = 0; result !== skip && i < fns.length; ++i) {
2709
- result = _optionalChain([fns, 'access', _139 => _139[i], 'optionalCall', _140 => _140(result)]);
2751
+ result = _optionalChain([fns, 'access', _142 => _142[i], 'optionalCall', _143 => _143(result)]);
2710
2752
  }
2711
2753
  return result;
2712
2754
  };
@@ -2716,7 +2758,7 @@ function pipeAsync(fn, ...fns) {
2716
2758
  return async (...args) => {
2717
2759
  let result = await fn(...args);
2718
2760
  for (let i = 0; result !== skip && i < fns.length; ++i) {
2719
- result = await _optionalChain([fns, 'access', _141 => _141[i], 'optionalCall', _142 => _142(result)]);
2761
+ result = await _optionalChain([fns, 'access', _144 => _144[i], 'optionalCall', _145 => _145(result)]);
2720
2762
  }
2721
2763
  return result;
2722
2764
  };
@@ -2746,7 +2788,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
2746
2788
  const projectJson = JSON.parse(projectJsonFile);
2747
2789
  const projectName = projectJson.name;
2748
2790
  const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
2749
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _143 => _143.projects, 'optionalAccess', _144 => _144[projectName]])) {
2791
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _146 => _146.projects, 'optionalAccess', _147 => _147[projectName]])) {
2750
2792
  throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
2751
2793
  }
2752
2794
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
@@ -2771,7 +2813,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
2771
2813
  ...userOptions,
2772
2814
  tsconfig: joinPaths(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
2773
2815
  format: options.format || "cjs",
2774
- entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, _nullishCoalesce(userOptions.entry, () => ( "./src/index.ts")), userOptions.emitOnAll === true),
2816
+ entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, _nullishCoalesce(userOptions.entry, () => ( "./src/index.ts")), false),
2775
2817
  outdir: userOptions.outputPath || joinPaths("dist", projectRoot),
2776
2818
  distDir: userOptions.distDir || "dist",
2777
2819
  plugins: [],
@@ -2786,7 +2828,6 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
2786
2828
  metafile: userOptions.metafile !== false,
2787
2829
  generatePackageJson: userOptions.generatePackageJson !== false,
2788
2830
  clean: userOptions.clean !== false,
2789
- emitOnAll: userOptions.emitOnAll === true,
2790
2831
  assets: _nullishCoalesce(userOptions.assets, () => ( [])),
2791
2832
  injectShims: userOptions.injectShims !== true,
2792
2833
  bundle: userOptions.bundle !== false,
@@ -2853,19 +2894,13 @@ async function generatePackageJson(context2) {
2853
2894
  packageJson.exports ??= {};
2854
2895
  packageJson.exports["./package.json"] ??= "./package.json";
2855
2896
  packageJson.exports["."] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js`;
2856
- let entryPoints = [
2897
+ const entryPoints = [
2857
2898
  {
2858
2899
  in: "./src/index.ts",
2859
2900
  out: "./src/index.ts"
2860
2901
  }
2861
2902
  ];
2862
2903
  if (context2.options.entryPoints) {
2863
- if (Array.isArray(context2.options.entryPoints)) {
2864
- entryPoints = context2.options.entryPoints.map((entryPoint) => typeof entryPoint === "string" ? {
2865
- in: entryPoint,
2866
- out: entryPoint
2867
- } : entryPoint);
2868
- }
2869
2904
  for (const entryPoint of entryPoints) {
2870
2905
  const split = entryPoint.out.split(".");
2871
2906
  split.pop();
@@ -2934,7 +2969,6 @@ async function executeEsBuild(context2) {
2934
2969
  delete options.clean;
2935
2970
  delete options.debug;
2936
2971
  delete options.generatePackageJson;
2937
- delete options.emitOnAll;
2938
2972
  delete options.distDir;
2939
2973
  delete options.includeSrc;
2940
2974
  delete options.verbose;
@@ -2947,7 +2981,10 @@ async function executeEsBuild(context2) {
2947
2981
  delete options.injectShims;
2948
2982
  delete options.external;
2949
2983
  writeTrace(`Run esbuild (${context2.options.name}) with the following options:
2950
- ${formatLogMessage(options)}`, context2.options.config);
2984
+ ${formatLogMessage({
2985
+ ...options,
2986
+ define: "<Hidden>"
2987
+ })}`, context2.options.config);
2951
2988
  const result = await esbuild2.build(options);
2952
2989
  await esbuild2.stop();
2953
2990
  if (result.metafile) {
@@ -2959,7 +2996,7 @@ ${formatLogMessage(options)}`, context2.options.config);
2959
2996
  }
2960
2997
  _chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
2961
2998
  async function copyBuildAssets(context2) {
2962
- if (_optionalChain([context2, 'access', _145 => _145.result, 'optionalAccess', _146 => _146.errors, 'access', _147 => _147.length]) === 0) {
2999
+ if (_optionalChain([context2, 'access', _148 => _148.result, 'optionalAccess', _149 => _149.errors, 'access', _150 => _150.length]) === 0) {
2963
3000
  writeDebug(` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
2964
3001
  const stopwatch = getStopwatch(`${context2.options.name} asset copy`);
2965
3002
  await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
@@ -2969,7 +3006,7 @@ async function copyBuildAssets(context2) {
2969
3006
  }
2970
3007
  _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
2971
3008
  async function reportResults(context2) {
2972
- if (_optionalChain([context2, 'access', _148 => _148.result, 'optionalAccess', _149 => _149.errors, 'access', _150 => _150.length]) === 0) {
3009
+ if (_optionalChain([context2, 'access', _151 => _151.result, 'optionalAccess', _152 => _152.errors, 'access', _153 => _153.length]) === 0) {
2973
3010
  if (context2.result.warnings.length > 0) {
2974
3011
  writeWarning(` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
2975
3012
  }
@@ -3070,14 +3107,14 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
3070
3107
  // ../workspace-tools/src/executors/esbuild/executor.ts
3071
3108
  async function esbuildExecutorFn(options, context2, config) {
3072
3109
  writeInfo("\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
3073
- if (!_optionalChain([context2, 'access', _151 => _151.projectsConfigurations, 'optionalAccess', _152 => _152.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _153 => _153.projectsConfigurations, 'access', _154 => _154.projects, 'access', _155 => _155[context2.projectName], 'optionalAccess', _156 => _156.root])) {
3110
+ if (!_optionalChain([context2, 'access', _154 => _154.projectsConfigurations, 'optionalAccess', _155 => _155.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _156 => _156.projectsConfigurations, 'access', _157 => _157.projects, 'access', _158 => _158[context2.projectName], 'optionalAccess', _159 => _159.root])) {
3074
3111
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
3075
3112
  }
3076
3113
  await build3({
3077
3114
  ...options,
3078
- projectRoot: _optionalChain([context2, 'access', _157 => _157.projectsConfigurations, 'access', _158 => _158.projects, 'optionalAccess', _159 => _159[context2.projectName], 'access', _160 => _160.root]),
3115
+ projectRoot: _optionalChain([context2, 'access', _160 => _160.projectsConfigurations, 'access', _161 => _161.projects, 'optionalAccess', _162 => _162[context2.projectName], 'access', _163 => _163.root]),
3079
3116
  projectName: context2.projectName,
3080
- sourceRoot: _optionalChain([context2, 'access', _161 => _161.projectsConfigurations, 'access', _162 => _162.projects, 'optionalAccess', _163 => _163[context2.projectName], 'optionalAccess', _164 => _164.sourceRoot]),
3117
+ sourceRoot: _optionalChain([context2, 'access', _164 => _164.projectsConfigurations, 'access', _165 => _165.projects, 'optionalAccess', _166 => _166[context2.projectName], 'optionalAccess', _167 => _167.sourceRoot]),
3081
3118
  format: options.format,
3082
3119
  platform: options.format
3083
3120
  });
@@ -3120,7 +3157,7 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
3120
3157
  var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
3121
3158
  var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
3122
3159
  async function sizeLimitExecutorFn(options, context2, config) {
3123
- if (!_optionalChain([context2, 'optionalAccess', _165 => _165.projectName]) || !_optionalChain([context2, 'access', _166 => _166.projectsConfigurations, 'optionalAccess', _167 => _167.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
3160
+ if (!_optionalChain([context2, 'optionalAccess', _168 => _168.projectName]) || !_optionalChain([context2, 'access', _169 => _169.projectsConfigurations, 'optionalAccess', _170 => _170.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
3124
3161
  throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
3125
3162
  }
3126
3163
  writeInfo(`\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
@@ -3129,7 +3166,7 @@ async function sizeLimitExecutorFn(options, context2, config) {
3129
3166
  _esbuild3.default,
3130
3167
  _esbuildwhy2.default
3131
3168
  ], {
3132
- checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _168 => _168.projectsConfigurations, 'access', _169 => _169.projects, 'access', _170 => _170[context2.projectName], 'optionalAccess', _171 => _171.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _172 => _172.projectsConfigurations, 'access', _173 => _173.projects, 'access', _174 => _174[context2.projectName], 'optionalAccess', _175 => _175.root]), () => ( "./")), "src")))
3169
+ checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _171 => _171.projectsConfigurations, 'access', _172 => _172.projects, 'access', _173 => _173[context2.projectName], 'optionalAccess', _174 => _174.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _175 => _175.projectsConfigurations, 'access', _176 => _176.projects, 'access', _177 => _177[context2.projectName], 'optionalAccess', _178 => _178.root]), () => ( "./")), "src")))
3133
3170
  }).then((result) => {
3134
3171
  writeInfo(`\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
3135
3172
  });
@@ -3188,7 +3225,7 @@ var executor_default8 = withRunExecutor("Typia runtime validation generator", ty
3188
3225
  var _jiti = require('jiti');
3189
3226
  async function unbuildExecutorFn(options, context2, config) {
3190
3227
  writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
3191
- if (!_optionalChain([context2, 'access', _176 => _176.projectsConfigurations, 'optionalAccess', _177 => _177.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
3228
+ if (!_optionalChain([context2, 'access', _179 => _179.projectsConfigurations, 'optionalAccess', _180 => _180.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
3192
3229
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
3193
3230
  }
3194
3231
  if (!context2.projectsConfigurations.projects[context2.projectName].root) {
@@ -3399,15 +3436,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3399
3436
  _devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
3400
3437
  let repository = {
3401
3438
  type: "github",
3402
- url: _optionalChain([config, 'optionalAccess', _178 => _178.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _179 => _179.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _180 => _180.namespace]) || _optionalChain([config, 'optionalAccess', _181 => _181.name]) || "repository"}.git`
3439
+ url: _optionalChain([config, 'optionalAccess', _181 => _181.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _182 => _182.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _183 => _183.namespace]) || _optionalChain([config, 'optionalAccess', _184 => _184.name]) || "repository"}.git`
3403
3440
  };
3404
3441
  let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
3405
3442
  if (tree.exists("package.json")) {
3406
3443
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
3407
- if (_optionalChain([packageJson, 'optionalAccess', _182 => _182.repository])) {
3444
+ if (_optionalChain([packageJson, 'optionalAccess', _185 => _185.repository])) {
3408
3445
  repository = packageJson.repository;
3409
3446
  }
3410
- if (_optionalChain([packageJson, 'optionalAccess', _183 => _183.description])) {
3447
+ if (_optionalChain([packageJson, 'optionalAccess', _186 => _186.description])) {
3411
3448
  description = packageJson.description;
3412
3449
  }
3413
3450
  }
@@ -3462,9 +3499,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3462
3499
  _devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
3463
3500
  ...json,
3464
3501
  pnpm: {
3465
- ..._optionalChain([json, 'optionalAccess', _184 => _184.pnpm]),
3502
+ ..._optionalChain([json, 'optionalAccess', _187 => _187.pnpm]),
3466
3503
  overrides: {
3467
- ..._optionalChain([json, 'optionalAccess', _185 => _185.pnpm, 'optionalAccess', _186 => _186.overrides]),
3504
+ ..._optionalChain([json, 'optionalAccess', _188 => _188.pnpm, 'optionalAccess', _189 => _189.overrides]),
3468
3505
  [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
3469
3506
  }
3470
3507
  }
@@ -3478,10 +3515,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3478
3515
  ]);
3479
3516
  if (tree.exists("package.json")) {
3480
3517
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
3481
- if (_optionalChain([packageJson, 'optionalAccess', _187 => _187.repository])) {
3518
+ if (_optionalChain([packageJson, 'optionalAccess', _190 => _190.repository])) {
3482
3519
  repository = packageJson.repository;
3483
3520
  }
3484
- if (_optionalChain([packageJson, 'optionalAccess', _188 => _188.description])) {
3521
+ if (_optionalChain([packageJson, 'optionalAccess', _191 => _191.description])) {
3485
3522
  description = packageJson.description;
3486
3523
  }
3487
3524
  }
@@ -3529,24 +3566,24 @@ _chunk3GQAWCBQjs.__name.call(void 0, getOutputPath, "getOutputPath");
3529
3566
  function createProjectTsConfigJson(tree, options) {
3530
3567
  const tsconfig = {
3531
3568
  extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
3532
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _189 => _189.tsconfigOptions]), () => ( {})),
3569
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _192 => _192.tsconfigOptions]), () => ( {})),
3533
3570
  compilerOptions: {
3534
3571
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
3535
3572
  outDir: joinPaths(_devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
3536
3573
  noEmit: true,
3537
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _190 => _190.tsconfigOptions, 'optionalAccess', _191 => _191.compilerOptions]), () => ( {}))
3574
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _193 => _193.tsconfigOptions, 'optionalAccess', _194 => _194.compilerOptions]), () => ( {}))
3538
3575
  },
3539
3576
  files: [
3540
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _192 => _192.tsconfigOptions, 'optionalAccess', _193 => _193.files]), () => ( []))
3577
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _195 => _195.tsconfigOptions, 'optionalAccess', _196 => _196.files]), () => ( []))
3541
3578
  ],
3542
3579
  include: [
3543
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _194 => _194.tsconfigOptions, 'optionalAccess', _195 => _195.include]), () => ( [])),
3580
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _197 => _197.tsconfigOptions, 'optionalAccess', _198 => _198.include]), () => ( [])),
3544
3581
  "src/**/*.ts",
3545
3582
  "src/**/*.js",
3546
3583
  "bin/**/*"
3547
3584
  ],
3548
3585
  exclude: [
3549
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _196 => _196.tsconfigOptions, 'optionalAccess', _197 => _197.exclude]), () => ( [])),
3586
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _199 => _199.tsconfigOptions, 'optionalAccess', _200 => _200.exclude]), () => ( [])),
3550
3587
  "jest.config.ts",
3551
3588
  "src/**/*.spec.ts",
3552
3589
  "src/**/*.test.ts"
@@ -3557,8 +3594,8 @@ function createProjectTsConfigJson(tree, options) {
3557
3594
  _chunk3GQAWCBQjs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
3558
3595
  async function normalizeOptions(tree, options, config) {
3559
3596
  let importPath = options.importPath;
3560
- if (!importPath && _optionalChain([config, 'optionalAccess', _198 => _198.namespace])) {
3561
- importPath = `@${_optionalChain([config, 'optionalAccess', _199 => _199.namespace])}/${options.name}`;
3597
+ if (!importPath && _optionalChain([config, 'optionalAccess', _201 => _201.namespace])) {
3598
+ importPath = `@${_optionalChain([config, 'optionalAccess', _202 => _202.namespace])}/${options.name}`;
3562
3599
  }
3563
3600
  if (options.publishable) {
3564
3601
  if (!importPath) {
@@ -3690,7 +3727,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
3690
3727
  name: "StormWorkspaceConfiguration"
3691
3728
  });
3692
3729
  writeTrace(jsonSchema, config);
3693
- const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _200 => _200.workspaceRoot]), () => ( findWorkspaceRoot())), _optionalChain([options, 'access', _201 => _201.outputFile, 'optionalAccess', _202 => _202.startsWith, 'call', _203 => _203("./")]) ? "" : "./");
3730
+ const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _203 => _203.workspaceRoot]), () => ( findWorkspaceRoot())), _optionalChain([options, 'access', _204 => _204.outputFile, 'optionalAccess', _205 => _205.startsWith, 'call', _206 => _206("./")]) ? "" : "./");
3694
3731
  writeTrace(`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
3695
3732
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
3696
3733
  spaces: 2
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-56MIYBFB.mjs";
3
+ } from "./chunk-26S6TAKJ.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 _chunkITMXW6BUjs = require('./chunk-ITMXW6BU.js');
3
+ var _chunkXKYTUIZKjs = require('./chunk-XKYTUIZK.js');
4
4
 
5
5
  // src/executors/up/executor.ts
6
- var executor_default = _chunkITMXW6BUjs.withPulumiExecutor.call(void 0, "up", (options) => [
6
+ var executor_default = _chunkXKYTUIZKjs.withPulumiExecutor.call(void 0, "up", (options) => [
7
7
  "--suppress-progress",
8
8
  options.stack && `--stack=${options.stack}`,
9
9
  options.skipPreview && "--skip-preview",
@@ -5,7 +5,7 @@ import {
5
5
  initGenerator,
6
6
  run,
7
7
  withRunGenerator
8
- } from "./chunk-OHB7BWHV.mjs";
8
+ } from "./chunk-2UCO46LO.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 _chunkITMXW6BUjs = require('./chunk-ITMXW6BU.js');
3
+ var _chunkXKYTUIZKjs = require('./chunk-XKYTUIZK.js');
4
4
 
5
5
  // src/executors/preview/executor.ts
6
- var executor_default = _chunkITMXW6BUjs.withPulumiExecutor.call(void 0, "preview", (options) => [
6
+ var executor_default = _chunkXKYTUIZKjs.withPulumiExecutor.call(void 0, "preview", (options) => [
7
7
  options.stack && `--stack=${options.stack}`,
8
8
  options.expectNoChanges && "--expect-no-changes"
9
9
  ]);
@@ -5,7 +5,7 @@ var _chunkDBLK3NPEjs = require('./chunk-DBLK3NPE.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkWP5ADETBjs = require('./chunk-WP5ADETB.js');
8
+ var _chunk3LQFRKIUjs = require('./chunk-3LQFRKIU.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 = _chunkWP5ADETBjs.initGenerator.call(void 0, tree, options);
18
+ const task = _chunk3LQFRKIUjs.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 = _chunkWP5ADETBjs.withRunGenerator.call(void 0, "Initialize Storm Pulumi workspace", initGeneratorFn);
52
+ var generator_default = _chunk3LQFRKIUjs.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
- _chunkWP5ADETBjs.run.call(void 0, config, [
56
+ _chunk3LQFRKIUjs.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
- _chunkWP5ADETBjs.run.call(void 0, config, [
76
+ _chunk3LQFRKIUjs.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", {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkITMXW6BUjs = require('./chunk-ITMXW6BU.js');
3
+ var _chunkXKYTUIZKjs = require('./chunk-XKYTUIZK.js');
4
4
 
5
5
  // src/executors/import/executor.ts
6
- var executor_default = _chunkITMXW6BUjs.withPulumiExecutor.call(void 0, "import", (options) => [
6
+ var executor_default = _chunkXKYTUIZKjs.withPulumiExecutor.call(void 0, "import", (options) => [
7
7
  options.target,
8
8
  options.name,
9
9
  options.id,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-56MIYBFB.mjs";
3
+ } from "./chunk-26S6TAKJ.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-56MIYBFB.mjs";
3
+ } from "./chunk-26S6TAKJ.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 _chunkITMXW6BUjs = require('./chunk-ITMXW6BU.js');
3
+ var _chunkXKYTUIZKjs = require('./chunk-XKYTUIZK.js');
4
4
 
5
5
  // src/executors/refresh/executor.ts
6
- var executor_default = _chunkITMXW6BUjs.withPulumiExecutor.call(void 0, "refresh", (options) => [
6
+ var executor_default = _chunkXKYTUIZKjs.withPulumiExecutor.call(void 0, "refresh", (options) => [
7
7
  "--suppress-progress",
8
8
  options.stack && `--stack=${options.stack}`,
9
9
  options.skipPreview && "--skip-preview",
@@ -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 _chunkWP5ADETBjs = require('./chunk-WP5ADETB.js');
4
+ var _chunk3LQFRKIUjs = require('./chunk-3LQFRKIU.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 _chunkWP5ADETBjs.withRunExecutor.call(void 0, `Pulumi \`${command}\` Command Executor`, async (options, context2, config) => {
13
+ return _chunk3LQFRKIUjs.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
- _chunkWP5ADETBjs.run.call(void 0, config, [
21
+ _chunk3LQFRKIUjs.run.call(void 0, config, [
22
22
  "pulumi",
23
23
  command,
24
24
  ...argsMapper(options)
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-56MIYBFB.mjs";
3
+ } from "./chunk-26S6TAKJ.mjs";
4
4
 
5
5
  // src/executors/preview/executor.ts
6
6
  var executor_default = withPulumiExecutor("preview", (options) => [