@storm-software/pulumi-tools 0.13.7 → 0.13.8

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 (44) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-T2MT263A.js → chunk-2BM7Y3LV.js} +3 -3
  4. package/dist/{chunk-37RYOORY.js → chunk-5EEYPDMF.js} +5 -5
  5. package/dist/{chunk-FZPGAOD3.mjs → chunk-A25XCW6N.mjs} +1 -1
  6. package/dist/{chunk-75RE5W2I.mjs → chunk-AYJTBMXU.mjs} +1 -1
  7. package/dist/{chunk-TIV4DYZT.mjs → chunk-BWKY65JZ.mjs} +1 -1
  8. package/dist/{chunk-UJEJIE53.mjs → chunk-C6ALXVQ7.mjs} +1 -1
  9. package/dist/{chunk-Z4G4HEYH.js → chunk-EBN2ORT3.js} +2 -2
  10. package/dist/{chunk-X3FJVRKM.js → chunk-EO4SOS5G.js} +2 -2
  11. package/dist/{chunk-HFLZB64V.mjs → chunk-GNUNNN7U.mjs} +1 -1
  12. package/dist/{chunk-YTX7SXUV.mjs → chunk-I2TGMV22.mjs} +1 -1
  13. package/dist/{chunk-3DJ44M2X.mjs → chunk-JTU7RFVL.mjs} +1 -1
  14. package/dist/{chunk-JZAEYOBB.js → chunk-SWA4DUTQ.js} +2 -2
  15. package/dist/{chunk-NPN2DABW.mjs → chunk-TTXOO5XR.mjs} +1 -1
  16. package/dist/{chunk-PQIHSZEB.mjs → chunk-V7ZSB5PI.mjs} +60 -18
  17. package/dist/{chunk-TN5TXK6U.js → chunk-YUJKVR74.js} +2 -2
  18. package/dist/{chunk-7A4FO6Q5.js → chunk-YXDCLCC4.js} +123 -81
  19. package/dist/{chunk-LZN2NZ7M.js → chunk-ZDGKQM3R.js} +2 -2
  20. package/dist/executors.js +7 -7
  21. package/dist/executors.mjs +8 -8
  22. package/dist/generators.js +3 -3
  23. package/dist/generators.mjs +3 -3
  24. package/dist/index.js +9 -9
  25. package/dist/index.mjs +9 -9
  26. package/dist/src/base/base-executor.js +3 -3
  27. package/dist/src/base/base-executor.mjs +3 -3
  28. package/dist/src/base/index.js +3 -3
  29. package/dist/src/base/index.mjs +3 -3
  30. package/dist/src/base/providers.mjs +1 -1
  31. package/dist/src/executors/config/executor.js +4 -4
  32. package/dist/src/executors/config/executor.mjs +4 -4
  33. package/dist/src/executors/import/executor.js +4 -4
  34. package/dist/src/executors/import/executor.mjs +4 -4
  35. package/dist/src/executors/preview/executor.js +4 -4
  36. package/dist/src/executors/preview/executor.mjs +4 -4
  37. package/dist/src/executors/refresh/executor.js +4 -4
  38. package/dist/src/executors/refresh/executor.mjs +4 -4
  39. package/dist/src/executors/up/executor.js +4 -4
  40. package/dist/src/executors/up/executor.mjs +4 -4
  41. package/dist/src/generators/init/generator.js +3 -3
  42. package/dist/src/generators/init/generator.mjs +3 -3
  43. package/dist/tsup.config.mjs +1 -1
  44. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  # Changelog for Storm Ops - Pulumi Tools
4
4
 
5
+ ## [0.13.7](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.13.7) (2025-05-13)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate README markdown files
10
+
5
11
  ## [0.13.6](https://github.com/storm-software/storm-ops/releases/tag/pulumi-tools%400.13.6) (2025-05-09)
6
12
 
7
13
  ### 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.6-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.7-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,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 _chunk7A4FO6Q5js = require('./chunk-7A4FO6Q5.js');
4
+ var _chunkYXDCLCC4js = require('./chunk-YXDCLCC4.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 _chunk7A4FO6Q5js.withRunExecutor.call(void 0,
10
+ return _chunkYXDCLCC4js.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
- _chunk7A4FO6Q5js.run.call(void 0,
24
+ _chunkYXDCLCC4js.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),
@@ -5,7 +5,7 @@ var _chunkHUKXHFCAjs = require('./chunk-HUKXHFCA.js');
5
5
 
6
6
 
7
7
 
8
- var _chunk7A4FO6Q5js = require('./chunk-7A4FO6Q5.js');
8
+ var _chunkYXDCLCC4js = require('./chunk-YXDCLCC4.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 = _chunk7A4FO6Q5js.initGenerator.call(void 0, tree, options);
21
+ const task = _chunkYXDCLCC4js.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 = _chunk7A4FO6Q5js.withRunGenerator.call(void 0,
57
+ var generator_default = _chunkYXDCLCC4js.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
- _chunk7A4FO6Q5js.run.call(void 0,
64
+ _chunkYXDCLCC4js.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
- _chunk7A4FO6Q5js.run.call(void 0,
88
+ _chunkYXDCLCC4js.run.call(void 0,
89
89
  config,
90
90
  ["pulumi login", options.login].filter(Boolean).join(" "),
91
91
  _path.join.call(void 0, config.workspaceRoot, options.directory || "./deployment"),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-UJEJIE53.mjs";
3
+ } from "./chunk-C6ALXVQ7.mjs";
4
4
 
5
5
  // src/executors/preview/executor.ts
6
6
  var executor_default = withPulumiExecutor(
@@ -5,7 +5,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
5
5
  throw Error('Dynamic require of "' + x + '" is not supported');
6
6
  });
7
7
 
8
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__954ae7dac9bca61c20aa20d91ee91417/node_modules/tsup/assets/esm_shims.js
8
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__23d29aaa007764500c48e48a9770b339/node_modules/tsup/assets/esm_shims.js
9
9
  import { fileURLToPath } from "url";
10
10
  import path from "path";
11
11
  var getFilename = () => fileURLToPath(import.meta.url);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-UJEJIE53.mjs";
3
+ } from "./chunk-C6ALXVQ7.mjs";
4
4
 
5
5
  // src/executors/import/executor.ts
6
6
  var executor_default = withPulumiExecutor("import", (options) => [
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  run,
3
3
  withRunExecutor
4
- } from "./chunk-PQIHSZEB.mjs";
4
+ } from "./chunk-V7ZSB5PI.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 _chunkT2MT263Ajs = require('./chunk-T2MT263A.js');
3
+ var _chunk2BM7Y3LVjs = require('./chunk-2BM7Y3LV.js');
4
4
 
5
5
  // src/executors/import/executor.ts
6
- var executor_default = _chunkT2MT263Ajs.withPulumiExecutor.call(void 0, "import", (options) => [
6
+ var executor_default = _chunk2BM7Y3LVjs.withPulumiExecutor.call(void 0, "import", (options) => [
7
7
  options.target,
8
8
  options.name,
9
9
  options.id,
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkT2MT263Ajs = require('./chunk-T2MT263A.js');
3
+ var _chunk2BM7Y3LVjs = require('./chunk-2BM7Y3LV.js');
4
4
 
5
5
  // src/executors/up/executor.ts
6
- var executor_default = _chunkT2MT263Ajs.withPulumiExecutor.call(void 0, "up", (options) => [
6
+ var executor_default = _chunk2BM7Y3LVjs.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-UJEJIE53.mjs";
3
+ } from "./chunk-C6ALXVQ7.mjs";
4
4
 
5
5
  // src/executors/refresh/executor.ts
6
6
  var executor_default = withPulumiExecutor(
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-UJEJIE53.mjs";
3
+ } from "./chunk-C6ALXVQ7.mjs";
4
4
 
5
5
  // src/executors/up/executor.ts
6
6
  var executor_default = withPulumiExecutor("up", (options) => [
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPulumiExecutor
3
- } from "./chunk-UJEJIE53.mjs";
3
+ } from "./chunk-C6ALXVQ7.mjs";
4
4
 
5
5
  // src/executors/config/executor.ts
6
6
  var executor_default = withPulumiExecutor("config", (options) => [
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkT2MT263Ajs = require('./chunk-T2MT263A.js');
3
+ var _chunk2BM7Y3LVjs = require('./chunk-2BM7Y3LV.js');
4
4
 
5
5
  // src/executors/preview/executor.ts
6
- var executor_default = _chunkT2MT263Ajs.withPulumiExecutor.call(void 0,
6
+ var executor_default = _chunk2BM7Y3LVjs.withPulumiExecutor.call(void 0,
7
7
  "preview",
8
8
  (options) => [
9
9
  options.stack && `--stack=${options.stack}`,
@@ -5,7 +5,7 @@ import {
5
5
  initGenerator,
6
6
  run,
7
7
  withRunGenerator
8
- } from "./chunk-PQIHSZEB.mjs";
8
+ } from "./chunk-V7ZSB5PI.mjs";
9
9
 
10
10
  // src/generators/init/generator.ts
11
11
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __dirname,
3
3
  __require
4
- } from "./chunk-75RE5W2I.mjs";
4
+ } from "./chunk-AYJTBMXU.mjs";
5
5
 
6
6
  // ../config-tools/src/utilities/run.ts
7
7
  import { exec, execSync } from "node:child_process";
@@ -51,10 +51,10 @@ var LogLevelLabel = {
51
51
  };
52
52
 
53
53
  // ../config/src/constants.ts
54
- var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
54
+ var STORM_DEFAULT_DOCS = "https://stormsoftware.com/docs";
55
55
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
56
56
  var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
57
- var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
57
+ var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
58
58
  var STORM_DEFAULT_LICENSE = "Apache-2.0";
59
59
  var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
60
60
  var STORM_DEFAULT_ACCOUNT_TWITTER = "StormSoftwareHQ";
@@ -228,10 +228,13 @@ var stormWorkspaceConfigSchema = z.object({
228
228
  organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
229
229
  repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
230
230
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
231
- homepage: z.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
232
- docs: z.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
233
- licensing: z.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
234
- contact: z.string().trim().url().default(STORM_DEFAULT_CONTACT).describe("The base contact site for the workspace"),
231
+ homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
232
+ docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
233
+ licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
234
+ contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
235
+ support: z.string().trim().url().optional().describe(
236
+ "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
237
+ ),
235
238
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
236
239
  preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
237
240
  owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
@@ -552,9 +555,10 @@ var DEFAULT_COLOR_CONFIG = {
552
555
  negative: "#dc2626"
553
556
  }
554
557
  };
555
- var getDefaultConfig = async (root) => {
558
+ async function getPackageJsonConfig(root) {
556
559
  let license = STORM_DEFAULT_LICENSE;
557
- let homepage = STORM_DEFAULT_HOMEPAGE;
560
+ let homepage = void 0;
561
+ let support = void 0;
558
562
  let name = void 0;
559
563
  let namespace = void 0;
560
564
  let repository = void 0;
@@ -585,6 +589,13 @@ var getDefaultConfig = async (root) => {
585
589
  if (packageJson.homepage) {
586
590
  homepage = packageJson.homepage;
587
591
  }
592
+ if (packageJson.bugs) {
593
+ if (typeof packageJson.bugs === "string") {
594
+ support = packageJson.bugs;
595
+ } else if (packageJson.bugs.url) {
596
+ support = packageJson.bugs.url;
597
+ }
598
+ }
588
599
  }
589
600
  }
590
601
  return {
@@ -594,13 +605,38 @@ var getDefaultConfig = async (root) => {
594
605
  repository,
595
606
  license,
596
607
  homepage,
597
- docs: `${homepage || STORM_DEFAULT_HOMEPAGE}/docs`,
598
- licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license`,
599
- error: {
600
- url: `${homepage || STORM_DEFAULT_HOMEPAGE}/errors`
601
- }
608
+ support
602
609
  };
603
- };
610
+ }
611
+ function applyDefaultConfig(config) {
612
+ if (!config.support && config.contact) {
613
+ config.support = config.contact;
614
+ }
615
+ if (!config.contact && config.support) {
616
+ config.contact = config.support;
617
+ }
618
+ if (config.homepage) {
619
+ if (!config.docs) {
620
+ config.docs = `${config.homepage}/docs`;
621
+ }
622
+ if (!config.license) {
623
+ config.license = `${config.homepage}/license`;
624
+ }
625
+ if (!config.support) {
626
+ config.support = `${config.homepage}/support`;
627
+ }
628
+ if (!config.contact) {
629
+ config.contact = `${config.homepage}/contact`;
630
+ }
631
+ if (!config.error?.codesFile || !config?.error?.url) {
632
+ config.error ??= { codesFile: STORM_DEFAULT_ERROR_CODES_FILE };
633
+ if (config.homepage) {
634
+ config.error.url ??= `${config.homepage}/errors`;
635
+ }
636
+ }
637
+ }
638
+ return config;
639
+ }
604
640
 
605
641
  // ../config-tools/src/logger/chalk.ts
606
642
  import chalk from "chalk";
@@ -1034,6 +1070,7 @@ var getConfigEnv = () => {
1034
1070
  docs: process.env[`${prefix}DOCS`] || void 0,
1035
1071
  licensing: process.env[`${prefix}LICENSING`] || void 0,
1036
1072
  contact: process.env[`${prefix}CONTACT`] || void 0,
1073
+ support: process.env[`${prefix}SUPPORT`] || void 0,
1037
1074
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
1038
1075
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
1039
1076
  configFile: process.env[`${prefix}CONFIG_FILE`] ? correctPaths(process.env[`${prefix}CONFIG_FILE`]) : void 0,
@@ -1252,6 +1289,9 @@ var setConfigEnv = (config) => {
1252
1289
  if (config.contact) {
1253
1290
  process.env[`${prefix}CONTACT`] = config.contact;
1254
1291
  }
1292
+ if (config.support) {
1293
+ process.env[`${prefix}SUPPORT`] = config.support;
1294
+ }
1255
1295
  if (config.timezone) {
1256
1296
  process.env[`${prefix}TIMEZONE`] = config.timezone;
1257
1297
  process.env.TZ = config.timezone;
@@ -1501,9 +1541,11 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot3, s
1501
1541
  return void 0;
1502
1542
  }
1503
1543
  }
1504
- const defaultConfig = await getDefaultConfig(_workspaceRoot);
1505
- result = await stormWorkspaceConfigSchema.parseAsync(
1506
- defu2(configEnv, configFile, defaultConfig)
1544
+ const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
1545
+ result = applyDefaultConfig(
1546
+ await stormWorkspaceConfigSchema.parseAsync(
1547
+ defu2(configEnv, configFile, defaultConfig)
1548
+ )
1507
1549
  );
1508
1550
  result.workspaceRoot ??= _workspaceRoot;
1509
1551
  } else {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkT2MT263Ajs = require('./chunk-T2MT263A.js');
3
+ var _chunk2BM7Y3LVjs = require('./chunk-2BM7Y3LV.js');
4
4
 
5
5
  // src/executors/config/executor.ts
6
- var executor_default = _chunkT2MT263Ajs.withPulumiExecutor.call(void 0, "config", (options) => [
6
+ var executor_default = _chunk2BM7Y3LVjs.withPulumiExecutor.call(void 0, "config", (options) => [
7
7
  options.action,
8
8
  options.showSecrets && `--show-secrets`,
9
9
  options.secret && `--secret`,