@storm-software/pulumi-tools 0.22.26 → 0.22.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +1 -2
  3. package/dist/{chunk-U7NBD4Q3.mjs → chunk-27GUGMCO.mjs} +56 -56
  4. package/dist/{chunk-IDDK6NEO.js → chunk-2GNWTDQL.js} +5 -5
  5. package/dist/{chunk-Q3ZY4GL7.mjs → chunk-65252442.mjs} +1 -1
  6. package/dist/{chunk-EZTMSLFB.mjs → chunk-7PVS3LD2.mjs} +1 -1
  7. package/dist/{chunk-ECMFP6XP.js → chunk-BLWGF3EM.js} +2 -2
  8. package/dist/{chunk-FZBGBXCO.mjs → chunk-GYL7EBWA.mjs} +1 -1
  9. package/dist/{chunk-46UJLYHT.js → chunk-HJCTNH6H.js} +2 -2
  10. package/dist/{chunk-UXV662TX.mjs → chunk-IK3E6ZEW.mjs} +1 -1
  11. package/dist/{chunk-LY62GWXV.mjs → chunk-JJSD6STM.mjs} +1 -1
  12. package/dist/{chunk-CZBKLIK7.js → chunk-LHT5W7UO.js} +51 -51
  13. package/dist/{chunk-LUPJZ2R2.mjs → chunk-OZBXOKYJ.mjs} +1 -1
  14. package/dist/{chunk-WSRHUR2Z.js → chunk-QPROLAHT.js} +2 -2
  15. package/dist/{chunk-3E6O2WLE.js → chunk-V3GSKYQF.js} +3 -3
  16. package/dist/{chunk-ULPRN2TJ.js → chunk-VR62IJRC.js} +2 -2
  17. package/dist/{chunk-QZ5PCQUK.js → chunk-WDKDDTVO.js} +2 -2
  18. package/dist/{chunk-HZ3RJKBJ.mjs → chunk-XPTD3KOT.mjs} +1 -1
  19. package/dist/executors.js +7 -7
  20. package/dist/executors.mjs +7 -7
  21. package/dist/generators.js +3 -3
  22. package/dist/generators.mjs +2 -2
  23. package/dist/index.js +9 -9
  24. package/dist/index.mjs +8 -8
  25. package/dist/src/base/base-executor.js +3 -3
  26. package/dist/src/base/base-executor.mjs +2 -2
  27. package/dist/src/base/index.js +3 -3
  28. package/dist/src/base/index.mjs +2 -2
  29. package/dist/src/executors/config/executor.js +4 -4
  30. package/dist/src/executors/config/executor.mjs +3 -3
  31. package/dist/src/executors/import/executor.js +4 -4
  32. package/dist/src/executors/import/executor.mjs +3 -3
  33. package/dist/src/executors/preview/executor.js +4 -4
  34. package/dist/src/executors/preview/executor.mjs +3 -3
  35. package/dist/src/executors/refresh/executor.js +4 -4
  36. package/dist/src/executors/refresh/executor.mjs +3 -3
  37. package/dist/src/executors/up/executor.js +4 -4
  38. package/dist/src/executors/up/executor.mjs +3 -3
  39. package/dist/src/generators/init/generator.js +3 -3
  40. package/dist/src/generators/init/generator.mjs +2 -2
  41. package/package.json +4 -4
@@ -1213,10 +1213,10 @@ async function getPackageJsonConfig(root) {
1213
1213
  let name = void 0;
1214
1214
  let namespace = void 0;
1215
1215
  let repository = void 0;
1216
- const workspaceRoot3 = findWorkspaceRoot(root);
1217
- if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot3, "package.json"))) {
1216
+ const workspaceRoot2 = findWorkspaceRoot(root);
1217
+ if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot2, "package.json"))) {
1218
1218
  const file = await _promises.readFile.call(void 0,
1219
- joinPaths(workspaceRoot3, "package.json"),
1219
+ joinPaths(workspaceRoot2, "package.json"),
1220
1220
  "utf8"
1221
1221
  );
1222
1222
  if (file) {
@@ -1250,7 +1250,7 @@ async function getPackageJsonConfig(root) {
1250
1250
  }
1251
1251
  }
1252
1252
  return {
1253
- workspaceRoot: workspaceRoot3,
1253
+ workspaceRoot: workspaceRoot2,
1254
1254
  name,
1255
1255
  namespace,
1256
1256
  repository,
@@ -1953,10 +1953,10 @@ var setBaseThemeColorsEnv = (prefix, config) => {
1953
1953
  // ../config-tools/src/create-storm-config.ts
1954
1954
  var _extension_cache = /* @__PURE__ */ new WeakMap();
1955
1955
  var _static_cache = void 0;
1956
- var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot3, skipLogs = false, useDefault = true) => {
1956
+ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot2, skipLogs = false, useDefault = true) => {
1957
1957
  let result;
1958
1958
  if (!_optionalChain([_static_cache, 'optionalAccess', _64 => _64.data]) || !_optionalChain([_static_cache, 'optionalAccess', _65 => _65.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
1959
- let _workspaceRoot = workspaceRoot3;
1959
+ let _workspaceRoot = workspaceRoot2;
1960
1960
  if (!_workspaceRoot) {
1961
1961
  _workspaceRoot = findWorkspaceRoot();
1962
1962
  }
@@ -2026,11 +2026,11 @@ var createConfigExtension = (extensionName, schema) => {
2026
2026
  _extension_cache.set(extension_cache_key, extension);
2027
2027
  return extension;
2028
2028
  };
2029
- var loadStormWorkspaceConfig = async (workspaceRoot3, skipLogs = false) => {
2029
+ var loadStormWorkspaceConfig = async (workspaceRoot2, skipLogs = false) => {
2030
2030
  const config = await createStormWorkspaceConfig(
2031
2031
  void 0,
2032
2032
  void 0,
2033
- workspaceRoot3,
2033
+ workspaceRoot2,
2034
2034
  skipLogs,
2035
2035
  true
2036
2036
  );
@@ -2046,15 +2046,15 @@ ${formatLogMessage(config)}`,
2046
2046
  };
2047
2047
 
2048
2048
  // ../config-tools/src/get-config.ts
2049
- function getConfig(workspaceRoot3, skipLogs = false) {
2050
- return loadStormWorkspaceConfig(workspaceRoot3, skipLogs);
2049
+ function getConfig(workspaceRoot2, skipLogs = false) {
2050
+ return loadStormWorkspaceConfig(workspaceRoot2, skipLogs);
2051
2051
  }
2052
2052
  function getWorkspaceConfig(skipLogs = true, options = {}) {
2053
- let workspaceRoot3 = options.workspaceRoot;
2054
- if (!workspaceRoot3) {
2055
- workspaceRoot3 = findWorkspaceRoot(options.cwd);
2053
+ let workspaceRoot2 = options.workspaceRoot;
2054
+ if (!workspaceRoot2) {
2055
+ workspaceRoot2 = findWorkspaceRoot(options.cwd);
2056
2056
  }
2057
- return getConfig(workspaceRoot3, skipLogs);
2057
+ return getConfig(workspaceRoot2, skipLogs);
2058
2058
  }
2059
2059
 
2060
2060
  // ../workspace-tools/src/base/base-executor.ts
@@ -2069,23 +2069,23 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
2069
2069
  "The Build process failed because the context is not valid. Please run this command from a workspace."
2070
2070
  );
2071
2071
  }
2072
- const workspaceRoot3 = findWorkspaceRoot();
2073
- const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot3;
2074
- const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot3;
2072
+ const workspaceRoot2 = findWorkspaceRoot();
2073
+ const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot2;
2074
+ const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot2;
2075
2075
  const projectName = context.projectName;
2076
- config.workspaceRoot = workspaceRoot3;
2076
+ config.workspaceRoot = workspaceRoot2;
2077
2077
  writeInfo(`\u26A1 Running the ${name} executor for ${projectName} `, config);
2078
2078
  if (!executorOptions.skipReadingConfig) {
2079
2079
  writeTrace(
2080
2080
  `Loading the Storm Config from environment variables and storm.config.js file...
2081
- - workspaceRoot: ${workspaceRoot3}
2081
+ - workspaceRoot: ${workspaceRoot2}
2082
2082
  - projectRoot: ${projectRoot}
2083
2083
  - sourceRoot: ${sourceRoot}
2084
2084
  - projectName: ${projectName}
2085
2085
  `,
2086
2086
  config
2087
2087
  );
2088
- config = await getConfig(workspaceRoot3);
2088
+ config = await getConfig(workspaceRoot2);
2089
2089
  }
2090
2090
  if (_optionalChain([executorOptions, 'optionalAccess', _69 => _69.hooks, 'optionalAccess', _70 => _70.applyDefaultOptions])) {
2091
2091
  writeDebug("Running the applyDefaultOptions hook...", config);
@@ -2103,7 +2103,7 @@ ${formatLogMessage(options)}
2103
2103
  const tokenized = await applyWorkspaceTokens(
2104
2104
  options,
2105
2105
  _defu.defu.call(void 0,
2106
- { workspaceRoot: workspaceRoot3, projectRoot, sourceRoot, projectName, config },
2106
+ { workspaceRoot: workspaceRoot2, projectRoot, sourceRoot, projectName, config },
2107
2107
  config,
2108
2108
  context.projectsConfigurations.projects[context.projectName]
2109
2109
  ),
@@ -2190,14 +2190,14 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
2190
2190
  writeInfo(`\u26A1 Running the ${name} generator...
2191
2191
 
2192
2192
  `, config);
2193
- const workspaceRoot3 = findWorkspaceRoot();
2193
+ const workspaceRoot2 = findWorkspaceRoot();
2194
2194
  if (!generatorOptions.skipReadingConfig) {
2195
2195
  writeDebug(
2196
2196
  `Loading the Storm Config from environment variables and storm.config.js file...
2197
- - workspaceRoot: ${workspaceRoot3}`,
2197
+ - workspaceRoot: ${workspaceRoot2}`,
2198
2198
  config
2199
2199
  );
2200
- config = await getConfig(workspaceRoot3);
2200
+ config = await getConfig(workspaceRoot2);
2201
2201
  }
2202
2202
  if (_optionalChain([generatorOptions, 'optionalAccess', _88 => _88.hooks, 'optionalAccess', _89 => _89.applyDefaultOptions])) {
2203
2203
  writeDebug("Running the applyDefaultOptions hook...", config);
@@ -2343,10 +2343,10 @@ var buildCargoCommand = (baseCommand, options, context) => {
2343
2343
  }
2344
2344
  return args;
2345
2345
  };
2346
- async function cargoCommand(...args) {
2346
+ async function cargoCommand(workspaceRoot2, ...args) {
2347
2347
  console.log(`> cargo ${args.join(" ")}`);
2348
2348
  args.push("--color", "always");
2349
- return await Promise.resolve(runProcess("cargo", ...args));
2349
+ return await Promise.resolve(runProcess(workspaceRoot2, "cargo", ...args));
2350
2350
  }
2351
2351
  function cargoCommandSync(args = "", options) {
2352
2352
  const normalizedOptions = {
@@ -2384,9 +2384,9 @@ function cargoMetadata() {
2384
2384
  }
2385
2385
  return JSON.parse(output2.output);
2386
2386
  }
2387
- function runProcess(processCmd, ...args) {
2387
+ function runProcess(workspaceRoot2, processCmd, ...args) {
2388
2388
  const metadata = cargoMetadata();
2389
- const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess', _105 => _105.target_directory]), () => ( _devkit.joinPathFragments.call(void 0, _devkit.workspaceRoot, "dist")));
2389
+ const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess', _105 => _105.target_directory]), () => ( _devkit.joinPathFragments.call(void 0, workspaceRoot2, "dist")));
2390
2390
  return new Promise((resolve2) => {
2391
2391
  if (process.env.VERCEL) {
2392
2392
  return resolve2({ success: true });
@@ -2409,7 +2409,7 @@ function runProcess(processCmd, ...args) {
2409
2409
  // ../workspace-tools/src/executors/cargo-build/executor.ts
2410
2410
  async function cargoBuildExecutor(options, context) {
2411
2411
  const command = buildCargoCommand("build", options, context);
2412
- return await cargoCommand(...command);
2412
+ return await cargoCommand(context.root, ...command);
2413
2413
  }
2414
2414
  var executor_default = withRunExecutor(
2415
2415
  "Cargo - Build",
@@ -2429,7 +2429,7 @@ var executor_default = withRunExecutor(
2429
2429
  // ../workspace-tools/src/executors/cargo-check/executor.ts
2430
2430
  async function cargoCheckExecutor(options, context) {
2431
2431
  const command = buildCargoCommand("check", options, context);
2432
- return await cargoCommand(...command);
2432
+ return await cargoCommand(context.root, ...command);
2433
2433
  }
2434
2434
  var executor_default2 = withRunExecutor(
2435
2435
  "Cargo - Check",
@@ -2448,7 +2448,7 @@ var executor_default2 = withRunExecutor(
2448
2448
  // ../workspace-tools/src/executors/cargo-clippy/executor.ts
2449
2449
  async function cargoClippyExecutor(options, context) {
2450
2450
  const command = buildCargoCommand("clippy", options, context);
2451
- return await cargoCommand(...command);
2451
+ return await cargoCommand(context.root, ...command);
2452
2452
  }
2453
2453
  var executor_default3 = withRunExecutor(
2454
2454
  "Cargo - Clippy",
@@ -2471,7 +2471,7 @@ async function cargoDocExecutor(options, context) {
2471
2471
  opts["no-deps"] = opts.noDeps;
2472
2472
  delete opts.noDeps;
2473
2473
  const command = buildCargoCommand("doc", options, context);
2474
- return await cargoCommand(...command);
2474
+ return await cargoCommand(context.root, ...command);
2475
2475
  }
2476
2476
  var executor_default4 = withRunExecutor(
2477
2477
  "Cargo - Doc",
@@ -2497,7 +2497,7 @@ var executor_default4 = withRunExecutor(
2497
2497
  // ../workspace-tools/src/executors/cargo-format/executor.ts
2498
2498
  async function cargoFormatExecutor(options, context) {
2499
2499
  const command = buildCargoCommand("fmt", options, context);
2500
- return await cargoCommand(...command);
2500
+ return await cargoCommand(context.root, ...command);
2501
2501
  }
2502
2502
  var executor_default5 = withRunExecutor(
2503
2503
  "Cargo - Format",
@@ -2627,7 +2627,7 @@ var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
2627
2627
 
2628
2628
 
2629
2629
  var _projectgraph = require('nx/src/project-graph/project-graph');
2630
- var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, packageJson) => {
2630
+ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, packageJson) => {
2631
2631
  let projectGraph;
2632
2632
  try {
2633
2633
  projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
@@ -2643,7 +2643,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
2643
2643
  const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0,
2644
2644
  void 0,
2645
2645
  projectGraph,
2646
- workspaceRoot3,
2646
+ workspaceRoot2,
2647
2647
  projectName,
2648
2648
  process.env.NX_TASK_TARGET_TARGET || "build",
2649
2649
  process.env.NX_TASK_TARGET_CONFIGURATION || "production",
@@ -2651,12 +2651,12 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
2651
2651
  );
2652
2652
  const localPackages = [];
2653
2653
  for (const project of projectDependencies.dependencies.filter(
2654
- (dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _106 => _106.node, 'access', _107 => _107.data, 'optionalAccess', _108 => _108.root]) !== projectRoot && _optionalChain([dep, 'access', _109 => _109.node, 'access', _110 => _110.data, 'optionalAccess', _111 => _111.root]) !== workspaceRoot3
2654
+ (dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _106 => _106.node, 'access', _107 => _107.data, 'optionalAccess', _108 => _108.root]) !== projectRoot && _optionalChain([dep, 'access', _109 => _109.node, 'access', _110 => _110.data, 'optionalAccess', _111 => _111.root]) !== workspaceRoot2
2655
2655
  )) {
2656
2656
  const projectNode = project.node;
2657
2657
  if (projectNode.data.root) {
2658
2658
  const projectPackageJsonPath = joinPaths(
2659
- workspaceRoot3,
2659
+ workspaceRoot2,
2660
2660
  projectNode.data.root,
2661
2661
  "package.json"
2662
2662
  );
@@ -2691,7 +2691,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
2691
2691
  const implicitDependencies = _optionalChain([projectConfigurations, 'access', _114 => _114.projects, 'optionalAccess', _115 => _115[projectName2], 'access', _116 => _116.implicitDependencies, 'optionalAccess', _117 => _117.reduce, 'call', _118 => _118((ret, dep) => {
2692
2692
  if (_optionalChain([projectConfigurations, 'access', _119 => _119.projects, 'optionalAccess', _120 => _120[dep]])) {
2693
2693
  const depPackageJsonPath = joinPaths(
2694
- workspaceRoot3,
2694
+ workspaceRoot2,
2695
2695
  projectConfigurations.projects[dep].root,
2696
2696
  "package.json"
2697
2697
  );
@@ -2726,9 +2726,9 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
2726
2726
  return packageJson;
2727
2727
  };
2728
2728
  var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
2729
- const workspaceRoot3 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
2729
+ const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
2730
2730
  const workspacePackageJsonContent = await _promises.readFile.call(void 0,
2731
- joinPaths(workspaceRoot3, "package.json"),
2731
+ joinPaths(workspaceRoot2, "package.json"),
2732
2732
  "utf8"
2733
2733
  );
2734
2734
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
@@ -2899,12 +2899,12 @@ var DEFAULT_BUILD_OPTIONS = {
2899
2899
  // ../esbuild/src/context.ts
2900
2900
  async function resolveContext(userOptions) {
2901
2901
  const projectRoot = userOptions.projectRoot;
2902
- const workspaceRoot3 = _findworkspaceroot.findWorkspaceRoot.call(void 0, projectRoot);
2903
- if (!workspaceRoot3) {
2902
+ const workspaceRoot2 = _findworkspaceroot.findWorkspaceRoot.call(void 0, projectRoot);
2903
+ if (!workspaceRoot2) {
2904
2904
  throw new Error("Cannot find Nx workspace root");
2905
2905
  }
2906
2906
  const workspaceConfig = await getWorkspaceConfig(true, {
2907
- workspaceRoot: workspaceRoot3.dir
2907
+ workspaceRoot: workspaceRoot2.dir
2908
2908
  });
2909
2909
  writeDebug(" \u2699\uFE0F Resolving build options", workspaceConfig);
2910
2910
  const stopwatch = getStopwatch("Build options resolution");
@@ -2912,7 +2912,7 @@ async function resolveContext(userOptions) {
2912
2912
  exitOnError: true
2913
2913
  });
2914
2914
  const projectJsonPath = joinPaths(
2915
- workspaceRoot3.dir,
2915
+ workspaceRoot2.dir,
2916
2916
  projectRoot,
2917
2917
  "project.json"
2918
2918
  );
@@ -2931,7 +2931,7 @@ async function resolveContext(userOptions) {
2931
2931
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
2932
2932
  options.name ??= projectName;
2933
2933
  const packageJsonPath = joinPaths(
2934
- workspaceRoot3.dir,
2934
+ workspaceRoot2.dir,
2935
2935
  options.projectRoot,
2936
2936
  "package.json"
2937
2937
  );
@@ -2942,7 +2942,7 @@ async function resolveContext(userOptions) {
2942
2942
  const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
2943
2943
  const resolvedOptions = {
2944
2944
  ...options,
2945
- tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : joinPaths(workspaceRoot3.dir, projectRoot, "tsconfig.json"),
2945
+ tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : joinPaths(workspaceRoot2.dir, projectRoot, "tsconfig.json"),
2946
2946
  metafile: userOptions.mode === "development",
2947
2947
  clean: false,
2948
2948
  env,
@@ -3442,12 +3442,12 @@ function toTSDownFormat(format4) {
3442
3442
  // ../tsdown/src/build.ts
3443
3443
  var resolveOptions = async (userOptions) => {
3444
3444
  const options = getDefaultOptions(userOptions);
3445
- const workspaceRoot3 = findWorkspaceRoot(options.projectRoot);
3446
- if (!workspaceRoot3) {
3445
+ const workspaceRoot2 = findWorkspaceRoot(options.projectRoot);
3446
+ if (!workspaceRoot2) {
3447
3447
  throw new Error("Cannot find Nx workspace root");
3448
3448
  }
3449
3449
  const workspaceConfig = await getWorkspaceConfig(options.debug === true, {
3450
- workspaceRoot: workspaceRoot3
3450
+ workspaceRoot: workspaceRoot2
3451
3451
  });
3452
3452
  writeDebug(" \u2699\uFE0F Resolving build options", workspaceConfig);
3453
3453
  const stopwatch = getStopwatch("Build options resolution");
@@ -3455,7 +3455,7 @@ var resolveOptions = async (userOptions) => {
3455
3455
  exitOnError: true
3456
3456
  });
3457
3457
  const projectJsonPath = joinPaths(
3458
- workspaceRoot3,
3458
+ workspaceRoot2,
3459
3459
  options.projectRoot,
3460
3460
  "project.json"
3461
3461
  );
@@ -3472,7 +3472,7 @@ var resolveOptions = async (userOptions) => {
3472
3472
  );
3473
3473
  }
3474
3474
  const packageJsonPath = joinPaths(
3475
- workspaceRoot3,
3475
+ workspaceRoot2,
3476
3476
  options.projectRoot,
3477
3477
  "package.json"
3478
3478
  );
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  run,
3
3
  withRunExecutor
4
- } from "./chunk-U7NBD4Q3.mjs";
4
+ } from "./chunk-27GUGMCO.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 _chunk3E6O2WLEjs = require('./chunk-3E6O2WLE.js');
3
+ var _chunkV3GSKYQFjs = require('./chunk-V3GSKYQF.js');
4
4
 
5
5
  // src/executors/config/executor.ts
6
- var executor_default = _chunk3E6O2WLEjs.withPulumiExecutor.call(void 0, "config", (options) => [
6
+ var executor_default = _chunkV3GSKYQFjs.withPulumiExecutor.call(void 0, "config", (options) => [
7
7
  options.action,
8
8
  options.showSecrets && `--show-secrets`,
9
9
  options.secret && `--secret`,
@@ -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 _chunkCZBKLIK7js = require('./chunk-CZBKLIK7.js');
4
+ var _chunkLHT5W7UOjs = require('./chunk-LHT5W7UO.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 _chunkCZBKLIK7js.withRunExecutor.call(void 0,
10
+ return _chunkLHT5W7UOjs.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
- _chunkCZBKLIK7js.run.call(void 0,
24
+ _chunkLHT5W7UOjs.run.call(void 0,
25
25
  config,
26
26
  ["pulumi", command, ...argsMapper(options)].filter(Boolean).join(" "),
27
27
  _path.join.call(void 0, config.workspaceRoot, options.root || sourceRoot),
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk3E6O2WLEjs = require('./chunk-3E6O2WLE.js');
3
+ var _chunkV3GSKYQFjs = require('./chunk-V3GSKYQF.js');
4
4
 
5
5
  // src/executors/up/executor.ts
6
- var executor_default = _chunk3E6O2WLEjs.withPulumiExecutor.call(void 0, "up", (options) => [
6
+ var executor_default = _chunkV3GSKYQFjs.withPulumiExecutor.call(void 0, "up", (options) => [
7
7
  "--suppress-progress",
8
8
  options.stack && `--stack=${options.stack}`,
9
9
  options.skipPreview && "--skip-preview",
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk3E6O2WLEjs = require('./chunk-3E6O2WLE.js');
3
+ var _chunkV3GSKYQFjs = require('./chunk-V3GSKYQF.js');
4
4
 
5
5
  // src/executors/preview/executor.ts
6
- var executor_default = _chunk3E6O2WLEjs.withPulumiExecutor.call(void 0,
6
+ var executor_default = _chunkV3GSKYQFjs.withPulumiExecutor.call(void 0,
7
7
  "preview",
8
8
  (options) => [
9
9
  options.stack && `--stack=${options.stack}`,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-LUPJZ2R2.mjs";
3
+ } from "./chunk-OZBXOKYJ.mjs";
4
4
 
5
5
  // src/executors/preview/executor.ts
6
6
  var executor_default = withPulumiExecutor(
package/dist/executors.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";require('./chunk-XO62WWX4.js');
2
- require('./chunk-46UJLYHT.js');
3
- require('./chunk-QZ5PCQUK.js');
4
- require('./chunk-ECMFP6XP.js');
5
- require('./chunk-ULPRN2TJ.js');
6
- require('./chunk-WSRHUR2Z.js');
7
- require('./chunk-3E6O2WLE.js');
8
- require('./chunk-CZBKLIK7.js');
2
+ require('./chunk-HJCTNH6H.js');
3
+ require('./chunk-WDKDDTVO.js');
4
+ require('./chunk-BLWGF3EM.js');
5
+ require('./chunk-VR62IJRC.js');
6
+ require('./chunk-QPROLAHT.js');
7
+ require('./chunk-V3GSKYQF.js');
8
+ require('./chunk-LHT5W7UO.js');
@@ -1,9 +1,9 @@
1
1
  import "./chunk-UV4HQO3Y.mjs";
2
- import "./chunk-EZTMSLFB.mjs";
3
- import "./chunk-HZ3RJKBJ.mjs";
4
- import "./chunk-LY62GWXV.mjs";
5
- import "./chunk-Q3ZY4GL7.mjs";
6
- import "./chunk-FZBGBXCO.mjs";
7
- import "./chunk-LUPJZ2R2.mjs";
8
- import "./chunk-U7NBD4Q3.mjs";
2
+ import "./chunk-7PVS3LD2.mjs";
3
+ import "./chunk-XPTD3KOT.mjs";
4
+ import "./chunk-JJSD6STM.mjs";
5
+ import "./chunk-65252442.mjs";
6
+ import "./chunk-GYL7EBWA.mjs";
7
+ import "./chunk-OZBXOKYJ.mjs";
8
+ import "./chunk-27GUGMCO.mjs";
9
9
  import "./chunk-5BBAVVSK.mjs";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
2
2
 
3
3
 
4
- var _chunkIDDK6NEOjs = require('./chunk-IDDK6NEO.js');
4
+ var _chunk2GNWTDQLjs = require('./chunk-2GNWTDQL.js');
5
5
  require('./chunk-QDPXTR73.js');
6
- require('./chunk-CZBKLIK7.js');
6
+ require('./chunk-LHT5W7UO.js');
7
7
 
8
8
 
9
- exports.initGeneratorFn = _chunkIDDK6NEOjs.initGeneratorFn;
9
+ exports.initGeneratorFn = _chunk2GNWTDQLjs.initGeneratorFn;
@@ -1,9 +1,9 @@
1
1
  import "./chunk-23KFTIT2.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-UXV662TX.mjs";
4
+ } from "./chunk-IK3E6ZEW.mjs";
5
5
  import "./chunk-5TB4HFDP.mjs";
6
- import "./chunk-U7NBD4Q3.mjs";
6
+ import "./chunk-27GUGMCO.mjs";
7
7
  import "./chunk-5BBAVVSK.mjs";
8
8
  export {
9
9
  initGeneratorFn
package/dist/index.js CHANGED
@@ -8,24 +8,24 @@
8
8
 
9
9
  var _chunk7I63VQP3js = require('./chunk-7I63VQP3.js');
10
10
  require('./chunk-XO62WWX4.js');
11
- require('./chunk-46UJLYHT.js');
12
- require('./chunk-QZ5PCQUK.js');
13
- require('./chunk-ECMFP6XP.js');
14
- require('./chunk-ULPRN2TJ.js');
11
+ require('./chunk-HJCTNH6H.js');
12
+ require('./chunk-WDKDDTVO.js');
13
+ require('./chunk-BLWGF3EM.js');
14
+ require('./chunk-VR62IJRC.js');
15
15
  require('./chunk-N2YKXZ5R.js');
16
16
 
17
17
 
18
- var _chunkIDDK6NEOjs = require('./chunk-IDDK6NEO.js');
18
+ var _chunk2GNWTDQLjs = require('./chunk-2GNWTDQL.js');
19
19
  require('./chunk-GUQOEBFW.js');
20
20
 
21
21
 
22
22
 
23
23
  var _chunkQDPXTR73js = require('./chunk-QDPXTR73.js');
24
- require('./chunk-WSRHUR2Z.js');
24
+ require('./chunk-QPROLAHT.js');
25
25
 
26
26
 
27
- var _chunk3E6O2WLEjs = require('./chunk-3E6O2WLE.js');
28
- require('./chunk-CZBKLIK7.js');
27
+ var _chunkV3GSKYQFjs = require('./chunk-V3GSKYQF.js');
28
+ require('./chunk-LHT5W7UO.js');
29
29
 
30
30
 
31
31
 
@@ -37,4 +37,4 @@ require('./chunk-CZBKLIK7.js');
37
37
 
38
38
 
39
39
 
40
- exports.Provider = _chunkQDPXTR73js.Provider; exports.ec2Instance = _chunk7I63VQP3js.ec2Instance; exports.getAWSTemplateName = _chunk7I63VQP3js.getAWSTemplateName; exports.getCloudTemplateName = _chunkQDPXTR73js.getCloudTemplateName; exports.getProviderOpts = _chunk7I63VQP3js.getProviderOpts; exports.initGeneratorFn = _chunkIDDK6NEOjs.initGeneratorFn; exports.securityGroup = _chunk7I63VQP3js.securityGroup; exports.subnet = _chunk7I63VQP3js.subnet; exports.vpc = _chunk7I63VQP3js.vpc; exports.withPulumiExecutor = _chunk3E6O2WLEjs.withPulumiExecutor;
40
+ exports.Provider = _chunkQDPXTR73js.Provider; exports.ec2Instance = _chunk7I63VQP3js.ec2Instance; exports.getAWSTemplateName = _chunk7I63VQP3js.getAWSTemplateName; exports.getCloudTemplateName = _chunkQDPXTR73js.getCloudTemplateName; exports.getProviderOpts = _chunk7I63VQP3js.getProviderOpts; exports.initGeneratorFn = _chunk2GNWTDQLjs.initGeneratorFn; exports.securityGroup = _chunk7I63VQP3js.securityGroup; exports.subnet = _chunk7I63VQP3js.subnet; exports.vpc = _chunk7I63VQP3js.vpc; exports.withPulumiExecutor = _chunkV3GSKYQFjs.withPulumiExecutor;
package/dist/index.mjs CHANGED
@@ -8,24 +8,24 @@ import {
8
8
  vpc
9
9
  } from "./chunk-S6XCS2TA.mjs";
10
10
  import "./chunk-UV4HQO3Y.mjs";
11
- import "./chunk-EZTMSLFB.mjs";
12
- import "./chunk-HZ3RJKBJ.mjs";
13
- import "./chunk-LY62GWXV.mjs";
14
- import "./chunk-Q3ZY4GL7.mjs";
11
+ import "./chunk-7PVS3LD2.mjs";
12
+ import "./chunk-XPTD3KOT.mjs";
13
+ import "./chunk-JJSD6STM.mjs";
14
+ import "./chunk-65252442.mjs";
15
15
  import "./chunk-23KFTIT2.mjs";
16
16
  import {
17
17
  initGeneratorFn
18
- } from "./chunk-UXV662TX.mjs";
18
+ } from "./chunk-IK3E6ZEW.mjs";
19
19
  import "./chunk-CA7S5MOH.mjs";
20
20
  import {
21
21
  Provider,
22
22
  getCloudTemplateName
23
23
  } from "./chunk-5TB4HFDP.mjs";
24
- import "./chunk-FZBGBXCO.mjs";
24
+ import "./chunk-GYL7EBWA.mjs";
25
25
  import {
26
26
  withPulumiExecutor
27
- } from "./chunk-LUPJZ2R2.mjs";
28
- import "./chunk-U7NBD4Q3.mjs";
27
+ } from "./chunk-OZBXOKYJ.mjs";
28
+ import "./chunk-27GUGMCO.mjs";
29
29
  import "./chunk-5BBAVVSK.mjs";
30
30
  export {
31
31
  Provider,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk3E6O2WLEjs = require('../../chunk-3E6O2WLE.js');
4
- require('../../chunk-CZBKLIK7.js');
3
+ var _chunkV3GSKYQFjs = require('../../chunk-V3GSKYQF.js');
4
+ require('../../chunk-LHT5W7UO.js');
5
5
 
6
6
 
7
- exports.withPulumiExecutor = _chunk3E6O2WLEjs.withPulumiExecutor;
7
+ exports.withPulumiExecutor = _chunkV3GSKYQFjs.withPulumiExecutor;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "../../chunk-LUPJZ2R2.mjs";
4
- import "../../chunk-U7NBD4Q3.mjs";
3
+ } from "../../chunk-OZBXOKYJ.mjs";
4
+ import "../../chunk-27GUGMCO.mjs";
5
5
  import "../../chunk-5BBAVVSK.mjs";
6
6
  export {
7
7
  withPulumiExecutor
@@ -5,10 +5,10 @@
5
5
  var _chunkQDPXTR73js = require('../../chunk-QDPXTR73.js');
6
6
 
7
7
 
8
- var _chunk3E6O2WLEjs = require('../../chunk-3E6O2WLE.js');
9
- require('../../chunk-CZBKLIK7.js');
8
+ var _chunkV3GSKYQFjs = require('../../chunk-V3GSKYQF.js');
9
+ require('../../chunk-LHT5W7UO.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
- exports.Provider = _chunkQDPXTR73js.Provider; exports.getCloudTemplateName = _chunkQDPXTR73js.getCloudTemplateName; exports.withPulumiExecutor = _chunk3E6O2WLEjs.withPulumiExecutor;
14
+ exports.Provider = _chunkQDPXTR73js.Provider; exports.getCloudTemplateName = _chunkQDPXTR73js.getCloudTemplateName; exports.withPulumiExecutor = _chunkV3GSKYQFjs.withPulumiExecutor;
@@ -5,8 +5,8 @@ import {
5
5
  } from "../../chunk-5TB4HFDP.mjs";
6
6
  import {
7
7
  withPulumiExecutor
8
- } from "../../chunk-LUPJZ2R2.mjs";
9
- import "../../chunk-U7NBD4Q3.mjs";
8
+ } from "../../chunk-OZBXOKYJ.mjs";
9
+ import "../../chunk-27GUGMCO.mjs";
10
10
  import "../../chunk-5BBAVVSK.mjs";
11
11
  export {
12
12
  Provider,
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkWSRHUR2Zjs = require('../../../chunk-WSRHUR2Z.js');
4
- require('../../../chunk-3E6O2WLE.js');
5
- require('../../../chunk-CZBKLIK7.js');
3
+ var _chunkQPROLAHTjs = require('../../../chunk-QPROLAHT.js');
4
+ require('../../../chunk-V3GSKYQF.js');
5
+ require('../../../chunk-LHT5W7UO.js');
6
6
 
7
7
 
8
- exports.default = _chunkWSRHUR2Zjs.executor_default;
8
+ exports.default = _chunkQPROLAHTjs.executor_default;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  executor_default
3
- } from "../../../chunk-FZBGBXCO.mjs";
4
- import "../../../chunk-LUPJZ2R2.mjs";
5
- import "../../../chunk-U7NBD4Q3.mjs";
3
+ } from "../../../chunk-GYL7EBWA.mjs";
4
+ import "../../../chunk-OZBXOKYJ.mjs";
5
+ import "../../../chunk-27GUGMCO.mjs";
6
6
  import "../../../chunk-5BBAVVSK.mjs";
7
7
  export {
8
8
  executor_default as default
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk46UJLYHTjs = require('../../../chunk-46UJLYHT.js');
4
- require('../../../chunk-3E6O2WLE.js');
5
- require('../../../chunk-CZBKLIK7.js');
3
+ var _chunkHJCTNH6Hjs = require('../../../chunk-HJCTNH6H.js');
4
+ require('../../../chunk-V3GSKYQF.js');
5
+ require('../../../chunk-LHT5W7UO.js');
6
6
 
7
7
 
8
- exports.default = _chunk46UJLYHTjs.executor_default;
8
+ exports.default = _chunkHJCTNH6Hjs.executor_default;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  executor_default
3
- } from "../../../chunk-EZTMSLFB.mjs";
4
- import "../../../chunk-LUPJZ2R2.mjs";
5
- import "../../../chunk-U7NBD4Q3.mjs";
3
+ } from "../../../chunk-7PVS3LD2.mjs";
4
+ import "../../../chunk-OZBXOKYJ.mjs";
5
+ import "../../../chunk-27GUGMCO.mjs";
6
6
  import "../../../chunk-5BBAVVSK.mjs";
7
7
  export {
8
8
  executor_default as default