@storm-software/projen 0.15.37 → 0.15.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  # Changelog for Storm Ops - Projen
4
4
 
5
+ ## [0.15.38](https://github.com/storm-software/storm-ops/releases/tag/projen%400.15.38) (2025-07-08)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Update README markdown files
10
+ ([a201e9178](https://github.com/storm-software/storm-ops/commit/a201e9178))
11
+
12
+ ## [0.15.37](https://github.com/storm-software/storm-ops/releases/tag/projen%400.15.37) (2025-07-06)
13
+
14
+ ### Miscellaneous
15
+
16
+ - **monorepo:** Regenerate README markdown files
17
+ ([03db3eded](https://github.com/storm-software/storm-ops/commit/03db3eded))
18
+
5
19
  ## [0.15.36](https://github.com/storm-software/storm-ops/releases/tag/projen%400.15.36) (2025-07-03)
6
20
 
7
21
  ### Miscellaneous
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-0.15.36-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.15.38-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 -->
@@ -1495,12 +1495,24 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot3, s
1495
1495
  }
1496
1496
  }
1497
1497
  const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
1498
- result = applyDefaultConfig(
1499
- await stormWorkspaceConfigSchema.parseAsync(
1500
- defu2(configEnv, configFile, defaultConfig)
1501
- )
1502
- );
1503
- result.workspaceRoot ??= _workspaceRoot;
1498
+ const configInput = defu2(configEnv, configFile, defaultConfig);
1499
+ try {
1500
+ result = applyDefaultConfig(
1501
+ await stormWorkspaceConfigSchema.parseAsync(configInput)
1502
+ );
1503
+ result.workspaceRoot ??= _workspaceRoot;
1504
+ } catch (error) {
1505
+ throw new Error(
1506
+ `Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
1507
+
1508
+ Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
1509
+ configInput
1510
+ )}`,
1511
+ {
1512
+ cause: error
1513
+ }
1514
+ );
1515
+ }
1504
1516
  } else {
1505
1517
  result = _static_cache.data;
1506
1518
  }
@@ -2016,6 +2028,7 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
2016
2028
  assets: pendingAssets
2017
2029
  });
2018
2030
  await assetHandler.processAllAssetsOnce();
2031
+ writeTrace("Completed copying assets to the output directory", config);
2019
2032
  if (includeSrc === true) {
2020
2033
  writeDebug(
2021
2034
  `\u{1F4DD} Adding banner and writing source files: ${joinPaths(
@@ -3993,132 +4006,132 @@ init_esm_shims();
3993
4006
 
3994
4007
  // ../git-tools/src/types.ts
3995
4008
  init_esm_shims();
3996
- var DEFAULT_COMMIT_TYPES = {
4009
+ var COMMIT_TYPES = {
3997
4010
  /* --- Bumps version when selected --- */
3998
- chore: {
3999
- description: "Other changes that don't modify src or test files",
4000
- title: "Chore",
4001
- emoji: "\u2699\uFE0F ",
4002
- semverBump: "patch",
4003
- changelog: {
4004
- title: "Miscellaneous",
4005
- hidden: false
4011
+ "chore": {
4012
+ "description": "Other changes that don't modify src or test files",
4013
+ "title": "Chore",
4014
+ "emoji": "\u2699\uFE0F ",
4015
+ "semverBump": "patch",
4016
+ "changelog": {
4017
+ "title": "Miscellaneous",
4018
+ "hidden": false
4006
4019
  }
4007
4020
  },
4008
- fix: {
4009
- description: "A change that resolves an issue previously identified with the package",
4010
- title: "Bug Fix",
4011
- emoji: "\u{1FAB2} ",
4012
- semverBump: "patch",
4013
- changelog: {
4014
- title: "Bug Fixes",
4015
- hidden: false
4021
+ "fix": {
4022
+ "description": "A change that resolves an issue previously identified with the package",
4023
+ "title": "Bug Fix",
4024
+ "emoji": "\u{1FAB2} ",
4025
+ "semverBump": "patch",
4026
+ "changelog": {
4027
+ "title": "Bug Fixes",
4028
+ "hidden": false
4016
4029
  }
4017
4030
  },
4018
- feat: {
4019
- description: "A change that adds a new feature to the package",
4020
- title: "Feature",
4021
- emoji: "\u{1F511} ",
4022
- semverBump: "minor",
4023
- changelog: {
4024
- title: "Features",
4025
- hidden: false
4031
+ "feat": {
4032
+ "description": "A change that adds a new feature to the package",
4033
+ "title": "Feature",
4034
+ "emoji": "\u{1F511} ",
4035
+ "semverBump": "minor",
4036
+ "changelog": {
4037
+ "title": "Features",
4038
+ "hidden": false
4026
4039
  }
4027
4040
  },
4028
- ci: {
4029
- description: "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)",
4030
- title: "Continuous Integration",
4031
- emoji: "\u{1F9F0} ",
4032
- semverBump: "patch",
4033
- changelog: {
4034
- title: "Continuous Integration",
4035
- hidden: false
4041
+ "ci": {
4042
+ "description": "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)",
4043
+ "title": "Continuous Integration",
4044
+ "emoji": "\u{1F9F0} ",
4045
+ "semverBump": "patch",
4046
+ "changelog": {
4047
+ "title": "Continuous Integration",
4048
+ "hidden": false
4036
4049
  }
4037
4050
  },
4038
- refactor: {
4039
- description: "A code change that neither fixes a bug nor adds a feature",
4040
- title: "Code Refactoring",
4041
- emoji: "\u{1F9EA} ",
4042
- semverBump: "patch",
4043
- changelog: {
4044
- title: "Source Code Improvements",
4045
- hidden: false
4051
+ "refactor": {
4052
+ "description": "A code change that neither fixes a bug nor adds a feature",
4053
+ "title": "Code Refactoring",
4054
+ "emoji": "\u{1F9EA} ",
4055
+ "semverBump": "patch",
4056
+ "changelog": {
4057
+ "title": "Source Code Improvements",
4058
+ "hidden": false
4046
4059
  }
4047
4060
  },
4048
- style: {
4049
- description: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
4050
- title: "Style Improvements",
4051
- emoji: "\u{1F48E} ",
4052
- semverBump: "patch",
4053
- changelog: {
4054
- title: "Style Improvements",
4055
- hidden: false
4061
+ "style": {
4062
+ "description": "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
4063
+ "title": "Style Improvements",
4064
+ "emoji": "\u{1F48E} ",
4065
+ "semverBump": "patch",
4066
+ "changelog": {
4067
+ "title": "Style Improvements",
4068
+ "hidden": false
4056
4069
  }
4057
4070
  },
4058
- perf: {
4059
- description: "A code change that improves performance",
4060
- title: "Performance Improvement",
4061
- emoji: "\u23F1\uFE0F ",
4062
- semverBump: "patch",
4063
- changelog: {
4064
- title: "Performance Improvements",
4065
- hidden: false
4071
+ "perf": {
4072
+ "description": "A code change that improves performance",
4073
+ "title": "Performance Improvement",
4074
+ "emoji": "\u23F1\uFE0F ",
4075
+ "semverBump": "patch",
4076
+ "changelog": {
4077
+ "title": "Performance Improvements",
4078
+ "hidden": false
4066
4079
  }
4067
4080
  },
4068
4081
  /* --- Does not bump version when selected --- */
4069
- docs: {
4070
- description: "A change that only includes documentation updates",
4071
- title: "Documentation",
4072
- emoji: "\u{1F4DC} ",
4073
- semverBump: "none",
4074
- changelog: {
4075
- title: "Documentation",
4076
- hidden: false
4082
+ "docs": {
4083
+ "description": "A change that only includes documentation updates",
4084
+ "title": "Documentation",
4085
+ "emoji": "\u{1F4DC} ",
4086
+ "semverBump": "none",
4087
+ "changelog": {
4088
+ "title": "Documentation",
4089
+ "hidden": false
4077
4090
  }
4078
4091
  },
4079
- test: {
4080
- description: "Adding missing tests or correcting existing tests",
4081
- title: "Testing",
4082
- emoji: "\u{1F6A8} ",
4083
- semverBump: "none",
4084
- changelog: {
4085
- title: "Testing",
4086
- hidden: true
4092
+ "test": {
4093
+ "description": "Adding missing tests or correcting existing tests",
4094
+ "title": "Testing",
4095
+ "emoji": "\u{1F6A8} ",
4096
+ "semverBump": "none",
4097
+ "changelog": {
4098
+ "title": "Testing",
4099
+ "hidden": true
4087
4100
  }
4088
4101
  },
4089
4102
  /* --- Not included in commitlint but included in changelog --- */
4090
- deps: {
4091
- description: "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies",
4092
- title: "Dependencies",
4093
- emoji: "\u{1F4E6} ",
4094
- hidden: true,
4095
- semverBump: "patch",
4096
- changelog: {
4097
- title: "Dependency Upgrades",
4098
- hidden: false
4103
+ "deps": {
4104
+ "description": "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies",
4105
+ "title": "Dependencies",
4106
+ "emoji": "\u{1F4E6} ",
4107
+ "hidden": true,
4108
+ "semverBump": "patch",
4109
+ "changelog": {
4110
+ "title": "Dependency Upgrades",
4111
+ "hidden": false
4099
4112
  }
4100
4113
  },
4101
4114
  /* --- Not included in commitlint or changelog --- */
4102
- build: {
4103
- description: "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)",
4104
- title: "Build",
4105
- emoji: "\u{1F6E0} ",
4106
- hidden: true,
4107
- semverBump: "none",
4108
- changelog: {
4109
- title: "Build",
4110
- hidden: true
4115
+ "build": {
4116
+ "description": "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)",
4117
+ "title": "Build",
4118
+ "emoji": "\u{1F6E0} ",
4119
+ "hidden": true,
4120
+ "semverBump": "none",
4121
+ "changelog": {
4122
+ "title": "Build",
4123
+ "hidden": true
4111
4124
  }
4112
4125
  },
4113
- release: {
4114
- description: "Publishing a commit containing a newly released version",
4115
- title: "Publish Release",
4116
- emoji: "\u{1F680} ",
4117
- hidden: true,
4118
- semverBump: "none",
4119
- changelog: {
4120
- title: "Publish Release",
4121
- hidden: true
4126
+ "release": {
4127
+ "description": "Publishing a commit containing a newly released version",
4128
+ "title": "Publish Release",
4129
+ "emoji": "\u{1F680} ",
4130
+ "hidden": true,
4131
+ "semverBump": "none",
4132
+ "changelog": {
4133
+ "title": "Publish Release",
4134
+ "hidden": true
4122
4135
  }
4123
4136
  }
4124
4137
  };
@@ -4127,10 +4140,10 @@ var DEFAULT_COMMIT_QUESTIONS = {
4127
4140
  type: "select",
4128
4141
  title: "Commit Type",
4129
4142
  description: "Select the commit type that best describes your changes",
4130
- enum: Object.keys(DEFAULT_COMMIT_TYPES).filter(
4131
- (type) => DEFAULT_COMMIT_TYPES[type].hidden !== true
4143
+ enum: Object.keys(COMMIT_TYPES).filter(
4144
+ (type) => COMMIT_TYPES[type].hidden !== true
4132
4145
  ).reduce((ret, type) => {
4133
- ret[type] = DEFAULT_COMMIT_TYPES[type];
4146
+ ret[type] = COMMIT_TYPES[type];
4134
4147
  return ret;
4135
4148
  }, {}),
4136
4149
  defaultValue: "chore",
@@ -1494,12 +1494,24 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot3, s
1494
1494
  }
1495
1495
  }
1496
1496
  const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
1497
- result = applyDefaultConfig(
1498
- await stormWorkspaceConfigSchema.parseAsync(
1499
- _defu2.default.call(void 0, configEnv, configFile, defaultConfig)
1500
- )
1501
- );
1502
- result.workspaceRoot ??= _workspaceRoot;
1497
+ const configInput = _defu2.default.call(void 0, configEnv, configFile, defaultConfig);
1498
+ try {
1499
+ result = applyDefaultConfig(
1500
+ await stormWorkspaceConfigSchema.parseAsync(configInput)
1501
+ );
1502
+ result.workspaceRoot ??= _workspaceRoot;
1503
+ } catch (error) {
1504
+ throw new Error(
1505
+ `Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _63 => _63.message]) ? `: ${error.message}` : ""}
1506
+
1507
+ Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
1508
+ configInput
1509
+ )}`,
1510
+ {
1511
+ cause: error
1512
+ }
1513
+ );
1514
+ }
1503
1515
  } else {
1504
1516
  result = _static_cache.data;
1505
1517
  }
@@ -1566,7 +1578,7 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
1566
1578
  let options = _options;
1567
1579
  let config = {};
1568
1580
  try {
1569
- if (!_optionalChain([context, 'access', _63 => _63.projectsConfigurations, 'optionalAccess', _64 => _64.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
1581
+ if (!_optionalChain([context, 'access', _64 => _64.projectsConfigurations, 'optionalAccess', _65 => _65.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
1570
1582
  throw new Error(
1571
1583
  "The Build process failed because the context is not valid. Please run this command from a workspace."
1572
1584
  );
@@ -1589,7 +1601,7 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
1589
1601
  );
1590
1602
  config = await getConfig(workspaceRoot3);
1591
1603
  }
1592
- if (_optionalChain([executorOptions, 'optionalAccess', _65 => _65.hooks, 'optionalAccess', _66 => _66.applyDefaultOptions])) {
1604
+ if (_optionalChain([executorOptions, 'optionalAccess', _66 => _66.hooks, 'optionalAccess', _67 => _67.applyDefaultOptions])) {
1593
1605
  writeDebug("Running the applyDefaultOptions hook...", config);
1594
1606
  options = await Promise.resolve(
1595
1607
  executorOptions.hooks.applyDefaultOptions(options, config)
@@ -1617,7 +1629,7 @@ ${formatLogMessage(tokenized)}
1617
1629
  `,
1618
1630
  config
1619
1631
  );
1620
- if (_optionalChain([executorOptions, 'optionalAccess', _67 => _67.hooks, 'optionalAccess', _68 => _68.preProcess])) {
1632
+ if (_optionalChain([executorOptions, 'optionalAccess', _68 => _68.hooks, 'optionalAccess', _69 => _69.preProcess])) {
1621
1633
  writeDebug("Running the preProcess hook...", config);
1622
1634
  await Promise.resolve(
1623
1635
  executorOptions.hooks.preProcess(tokenized, config)
@@ -1625,7 +1637,7 @@ ${formatLogMessage(tokenized)}
1625
1637
  writeDebug("Completed the preProcess hook", config);
1626
1638
  }
1627
1639
  const ret = executorFn(tokenized, context, config);
1628
- if (_isFunction2(_optionalChain([ret, 'optionalAccess', _69 => _69.next]))) {
1640
+ if (_isFunction2(_optionalChain([ret, 'optionalAccess', _70 => _70.next]))) {
1629
1641
  const asyncGen = ret;
1630
1642
  for await (const iter of asyncGen) {
1631
1643
  void iter;
@@ -1634,7 +1646,7 @@ ${formatLogMessage(tokenized)}
1634
1646
  const result = await Promise.resolve(
1635
1647
  ret
1636
1648
  );
1637
- if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _70 => _70.error, 'optionalAccess', _71 => _71.message]) && typeof _optionalChain([result, 'optionalAccess', _72 => _72.error, 'optionalAccess', _73 => _73.message]) === "string" && _optionalChain([result, 'optionalAccess', _74 => _74.error, 'optionalAccess', _75 => _75.name]) && typeof _optionalChain([result, 'optionalAccess', _76 => _76.error, 'optionalAccess', _77 => _77.name]) === "string")) {
1649
+ if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _71 => _71.error, 'optionalAccess', _72 => _72.message]) && typeof _optionalChain([result, 'optionalAccess', _73 => _73.error, 'optionalAccess', _74 => _74.message]) === "string" && _optionalChain([result, 'optionalAccess', _75 => _75.error, 'optionalAccess', _76 => _76.name]) && typeof _optionalChain([result, 'optionalAccess', _77 => _77.error, 'optionalAccess', _78 => _78.name]) === "string")) {
1638
1650
  writeTrace(
1639
1651
  `Failure determined by the ${name} executor
1640
1652
  ${formatLogMessage(result)}`,
@@ -1642,10 +1654,10 @@ ${formatLogMessage(result)}`,
1642
1654
  );
1643
1655
  console.error(result);
1644
1656
  throw new Error(`The ${name} executor failed to run`, {
1645
- cause: _optionalChain([result, 'optionalAccess', _78 => _78.error])
1657
+ cause: _optionalChain([result, 'optionalAccess', _79 => _79.error])
1646
1658
  });
1647
1659
  }
1648
- if (_optionalChain([executorOptions, 'optionalAccess', _79 => _79.hooks, 'optionalAccess', _80 => _80.postProcess])) {
1660
+ if (_optionalChain([executorOptions, 'optionalAccess', _80 => _80.hooks, 'optionalAccess', _81 => _81.postProcess])) {
1649
1661
  writeDebug("Running the postProcess hook...", config);
1650
1662
  await Promise.resolve(executorOptions.hooks.postProcess(config));
1651
1663
  writeDebug("Completed the postProcess hook", config);
@@ -1675,7 +1687,7 @@ ${formatLogMessage(result)}`,
1675
1687
  };
1676
1688
  var _isFunction2 = (value) => {
1677
1689
  try {
1678
- return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _81 => _81.constructor]) && _optionalChain([value, 'optionalAccess', _82 => _82.call]) && _optionalChain([value, 'optionalAccess', _83 => _83.apply]));
1690
+ return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _82 => _82.constructor]) && _optionalChain([value, 'optionalAccess', _83 => _83.call]) && _optionalChain([value, 'optionalAccess', _84 => _84.apply]));
1679
1691
  } catch (e) {
1680
1692
  return false;
1681
1693
  }
@@ -1743,10 +1755,10 @@ async function cargoCommand(...args) {
1743
1755
  }
1744
1756
  function cargoCommandSync(args = "", options) {
1745
1757
  const normalizedOptions = {
1746
- stdio: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _84 => _84.stdio]), () => ( "inherit")),
1758
+ stdio: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _85 => _85.stdio]), () => ( "inherit")),
1747
1759
  env: {
1748
1760
  ...process.env,
1749
- ..._optionalChain([options, 'optionalAccess', _85 => _85.env])
1761
+ ..._optionalChain([options, 'optionalAccess', _86 => _86.env])
1750
1762
  }
1751
1763
  };
1752
1764
  try {
@@ -1779,7 +1791,7 @@ function cargoMetadata() {
1779
1791
  }
1780
1792
  function runProcess(processCmd, ...args) {
1781
1793
  const metadata = cargoMetadata();
1782
- const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess', _86 => _86.target_directory]), () => ( _devkit.joinPathFragments.call(void 0, _devkit.workspaceRoot, "dist")));
1794
+ const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess', _87 => _87.target_directory]), () => ( _devkit.joinPathFragments.call(void 0, _devkit.workspaceRoot, "dist")));
1783
1795
  return new Promise((resolve2) => {
1784
1796
  if (process.env.VERCEL) {
1785
1797
  return resolve2({ success: true });
@@ -2015,6 +2027,7 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
2015
2027
  assets: pendingAssets
2016
2028
  });
2017
2029
  await assetHandler.processAllAssetsOnce();
2030
+ writeTrace("Completed copying assets to the output directory", config);
2018
2031
  if (includeSrc === true) {
2019
2032
  writeDebug(
2020
2033
  `\u{1F4DD} Adding banner and writing source files: ${_chunkLP4I3FEYjs.joinPaths.call(void 0,
@@ -2079,7 +2092,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
2079
2092
  );
2080
2093
  const localPackages = [];
2081
2094
  for (const project of projectDependencies.dependencies.filter(
2082
- (dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _87 => _87.node, 'access', _88 => _88.data, 'optionalAccess', _89 => _89.root]) !== projectRoot && _optionalChain([dep, 'access', _90 => _90.node, 'access', _91 => _91.data, 'optionalAccess', _92 => _92.root]) !== workspaceRoot3
2095
+ (dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _88 => _88.node, 'access', _89 => _89.data, 'optionalAccess', _90 => _90.root]) !== projectRoot && _optionalChain([dep, 'access', _91 => _91.node, 'access', _92 => _92.data, 'optionalAccess', _93 => _93.root]) !== workspaceRoot3
2083
2096
  )) {
2084
2097
  const projectNode = project.node;
2085
2098
  if (projectNode.data.root) {
@@ -2111,13 +2124,13 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
2111
2124
  const projectJson = JSON.parse(projectJsonFile);
2112
2125
  const projectName2 = projectJson.name;
2113
2126
  const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
2114
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _93 => _93.projects, 'optionalAccess', _94 => _94[projectName2]])) {
2127
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _94 => _94.projects, 'optionalAccess', _95 => _95[projectName2]])) {
2115
2128
  throw new Error(
2116
2129
  "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."
2117
2130
  );
2118
2131
  }
2119
- const implicitDependencies = _optionalChain([projectConfigurations, 'access', _95 => _95.projects, 'optionalAccess', _96 => _96[projectName2], 'access', _97 => _97.implicitDependencies, 'optionalAccess', _98 => _98.reduce, 'call', _99 => _99((ret, dep) => {
2120
- if (_optionalChain([projectConfigurations, 'access', _100 => _100.projects, 'optionalAccess', _101 => _101[dep]])) {
2132
+ const implicitDependencies = _optionalChain([projectConfigurations, 'access', _96 => _96.projects, 'optionalAccess', _97 => _97[projectName2], 'access', _98 => _98.implicitDependencies, 'optionalAccess', _99 => _99.reduce, 'call', _100 => _100((ret, dep) => {
2133
+ if (_optionalChain([projectConfigurations, 'access', _101 => _101.projects, 'optionalAccess', _102 => _102[dep]])) {
2121
2134
  const depPackageJsonPath = _chunkLP4I3FEYjs.joinPaths.call(void 0,
2122
2135
  workspaceRoot3,
2123
2136
  projectConfigurations.projects[dep].root,
@@ -2137,13 +2150,13 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
2137
2150
  return ret;
2138
2151
  }, [])]);
2139
2152
  packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
2140
- if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess', _102 => _102.includes, 'call', _103 => _103(localPackage.name)]) && _optionalChain([packageJson, 'access', _104 => _104.devDependencies, 'optionalAccess', _105 => _105[localPackage.name]]) === void 0) {
2153
+ if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess', _103 => _103.includes, 'call', _104 => _104(localPackage.name)]) && _optionalChain([packageJson, 'access', _105 => _105.devDependencies, 'optionalAccess', _106 => _106[localPackage.name]]) === void 0) {
2141
2154
  ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
2142
2155
  }
2143
2156
  return ret;
2144
2157
  }, _nullishCoalesce(packageJson.dependencies, () => ( {})));
2145
2158
  packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
2146
- if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess', _106 => _106.includes, 'call', _107 => _107(localPackage.name)]) && _optionalChain([packageJson, 'access', _108 => _108.dependencies, 'optionalAccess', _109 => _109[localPackage.name]]) === void 0) {
2159
+ if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess', _107 => _107.includes, 'call', _108 => _108(localPackage.name)]) && _optionalChain([packageJson, 'access', _109 => _109.dependencies, 'optionalAccess', _110 => _110[localPackage.name]]) === void 0) {
2147
2160
  ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
2148
2161
  }
2149
2162
  return ret;
@@ -2238,7 +2251,7 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
2238
2251
 
2239
2252
  // ../esbuild/src/assets.ts
2240
2253
  async function copyBuildAssets(context) {
2241
- if (!_optionalChain([context, 'access', _110 => _110.result, 'optionalAccess', _111 => _111.errors, 'access', _112 => _112.length]) && _optionalChain([context, 'access', _113 => _113.options, 'access', _114 => _114.assets, 'optionalAccess', _115 => _115.length])) {
2254
+ if (!_optionalChain([context, 'access', _111 => _111.result, 'optionalAccess', _112 => _112.errors, 'access', _113 => _113.length]) && _optionalChain([context, 'access', _114 => _114.options, 'access', _115 => _115.assets, 'optionalAccess', _116 => _116.length])) {
2242
2255
  writeDebug(
2243
2256
  ` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
2244
2257
  context.workspaceConfig
@@ -2347,7 +2360,7 @@ async function resolveContext(userOptions) {
2347
2360
  const projectJson = JSON.parse(projectJsonFile);
2348
2361
  const projectName = projectJson.name || userOptions.name;
2349
2362
  const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
2350
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _116 => _116.projects, 'optionalAccess', _117 => _117[projectName]])) {
2363
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _117 => _117.projects, 'optionalAccess', _118 => _118[projectName]])) {
2351
2364
  throw new Error(
2352
2365
  "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."
2353
2366
  );
@@ -2645,7 +2658,7 @@ async function executeTsup(context) {
2645
2658
 
2646
2659
  // ../esbuild/src/build.ts
2647
2660
  async function reportResults(context) {
2648
- if (_optionalChain([context, 'access', _118 => _118.result, 'optionalAccess', _119 => _119.errors, 'access', _120 => _120.length]) === 0) {
2661
+ if (_optionalChain([context, 'access', _119 => _119.result, 'optionalAccess', _120 => _120.errors, 'access', _121 => _121.length]) === 0) {
2649
2662
  if (context.result.warnings.length > 0) {
2650
2663
  writeWarning(
2651
2664
  ` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
@@ -2656,7 +2669,7 @@ async function reportResults(context) {
2656
2669
  ` \u{1F4E6} The ${context.options.name} build completed successfully`,
2657
2670
  context.workspaceConfig
2658
2671
  );
2659
- } else if (_optionalChain([context, 'access', _121 => _121.result, 'optionalAccess', _122 => _122.errors]) && _optionalChain([context, 'access', _123 => _123.result, 'optionalAccess', _124 => _124.errors, 'access', _125 => _125.length]) > 0) {
2672
+ } else if (_optionalChain([context, 'access', _122 => _122.result, 'optionalAccess', _123 => _123.errors]) && _optionalChain([context, 'access', _124 => _124.result, 'optionalAccess', _125 => _125.errors, 'access', _126 => _126.length]) > 0) {
2660
2673
  writeError(
2661
2674
  ` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
2662
2675
  context.workspaceConfig
@@ -2735,16 +2748,16 @@ async function build2(options) {
2735
2748
  // ../workspace-tools/src/executors/esbuild/executor.ts
2736
2749
  async function esbuildExecutorFn(options, context, config) {
2737
2750
  writeInfo("\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
2738
- if (!_optionalChain([context, 'access', _126 => _126.projectsConfigurations, 'optionalAccess', _127 => _127.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _128 => _128.projectsConfigurations, 'access', _129 => _129.projects, 'access', _130 => _130[context.projectName], 'optionalAccess', _131 => _131.root])) {
2751
+ if (!_optionalChain([context, 'access', _127 => _127.projectsConfigurations, 'optionalAccess', _128 => _128.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _129 => _129.projectsConfigurations, 'access', _130 => _130.projects, 'access', _131 => _131[context.projectName], 'optionalAccess', _132 => _132.root])) {
2739
2752
  throw new Error(
2740
2753
  "The Build process failed because the context is not valid. Please run this command from a workspace."
2741
2754
  );
2742
2755
  }
2743
2756
  await build2({
2744
2757
  ...options,
2745
- projectRoot: _optionalChain([context, 'access', _132 => _132.projectsConfigurations, 'access', _133 => _133.projects, 'optionalAccess', _134 => _134[context.projectName], 'access', _135 => _135.root]),
2758
+ projectRoot: _optionalChain([context, 'access', _133 => _133.projectsConfigurations, 'access', _134 => _134.projects, 'optionalAccess', _135 => _135[context.projectName], 'access', _136 => _136.root]),
2746
2759
  name: context.projectName,
2747
- sourceRoot: _optionalChain([context, 'access', _136 => _136.projectsConfigurations, 'access', _137 => _137.projects, 'optionalAccess', _138 => _138[context.projectName], 'optionalAccess', _139 => _139.sourceRoot]),
2760
+ sourceRoot: _optionalChain([context, 'access', _137 => _137.projectsConfigurations, 'access', _138 => _138.projects, 'optionalAccess', _139 => _139[context.projectName], 'optionalAccess', _140 => _140.sourceRoot]),
2748
2761
  format: options.format,
2749
2762
  platform: options.format
2750
2763
  });
@@ -2869,15 +2882,15 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
2869
2882
  var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
2870
2883
  var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
2871
2884
  async function sizeLimitExecutorFn(options, context, config) {
2872
- if (!_optionalChain([context, 'optionalAccess', _140 => _140.projectName]) || !_optionalChain([context, 'access', _141 => _141.projectsConfigurations, 'optionalAccess', _142 => _142.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
2885
+ if (!_optionalChain([context, 'optionalAccess', _141 => _141.projectName]) || !_optionalChain([context, 'access', _142 => _142.projectsConfigurations, 'optionalAccess', _143 => _143.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
2873
2886
  throw new Error(
2874
2887
  "The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
2875
2888
  );
2876
2889
  }
2877
2890
  writeInfo(`\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
2878
2891
  _sizelimit2.default.call(void 0, [_file2.default, _esbuild3.default, _esbuildwhy2.default], {
2879
- checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _143 => _143.projectsConfigurations, 'access', _144 => _144.projects, 'access', _145 => _145[context.projectName], 'optionalAccess', _146 => _146.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
2880
- _nullishCoalesce(_optionalChain([context, 'access', _147 => _147.projectsConfigurations, 'access', _148 => _148.projects, 'access', _149 => _149[context.projectName], 'optionalAccess', _150 => _150.root]), () => ( "./")),
2892
+ checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _144 => _144.projectsConfigurations, 'access', _145 => _145.projects, 'access', _146 => _146[context.projectName], 'optionalAccess', _147 => _147.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
2893
+ _nullishCoalesce(_optionalChain([context, 'access', _148 => _148.projectsConfigurations, 'access', _149 => _149.projects, 'access', _150 => _150[context.projectName], 'optionalAccess', _151 => _151.root]), () => ( "./")),
2881
2894
  "src"
2882
2895
  )))
2883
2896
  }).then((result) => {
@@ -2949,7 +2962,7 @@ _chunkMWIFWHR4js.init_cjs_shims.call(void 0, );
2949
2962
  var _jiti = require('jiti');
2950
2963
  async function unbuildExecutorFn(options, context, config) {
2951
2964
  writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
2952
- if (!_optionalChain([context, 'access', _151 => _151.projectsConfigurations, 'optionalAccess', _152 => _152.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
2965
+ if (!_optionalChain([context, 'access', _152 => _152.projectsConfigurations, 'optionalAccess', _153 => _153.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
2953
2966
  throw new Error(
2954
2967
  "The Build process failed because the context is not valid. Please run this command from a workspace root directory."
2955
2968
  );
@@ -3068,7 +3081,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
3068
3081
  );
3069
3082
  config = await getConfig(workspaceRoot3);
3070
3083
  }
3071
- if (_optionalChain([generatorOptions, 'optionalAccess', _153 => _153.hooks, 'optionalAccess', _154 => _154.applyDefaultOptions])) {
3084
+ if (_optionalChain([generatorOptions, 'optionalAccess', _154 => _154.hooks, 'optionalAccess', _155 => _155.applyDefaultOptions])) {
3072
3085
  writeDebug("Running the applyDefaultOptions hook...", config);
3073
3086
  options = await Promise.resolve(
3074
3087
  generatorOptions.hooks.applyDefaultOptions(options, config)
@@ -3085,7 +3098,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
3085
3098
  { workspaceRoot: tree.root, config },
3086
3099
  applyWorkspaceBaseTokens
3087
3100
  );
3088
- if (_optionalChain([generatorOptions, 'optionalAccess', _155 => _155.hooks, 'optionalAccess', _156 => _156.preProcess])) {
3101
+ if (_optionalChain([generatorOptions, 'optionalAccess', _156 => _156.hooks, 'optionalAccess', _157 => _157.preProcess])) {
3089
3102
  writeDebug("Running the preProcess hook...", config);
3090
3103
  await Promise.resolve(
3091
3104
  generatorOptions.hooks.preProcess(tokenized, config)
@@ -3096,15 +3109,15 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
3096
3109
  generatorFn(tree, tokenized, config)
3097
3110
  );
3098
3111
  if (result) {
3099
- if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _157 => _157.error, 'optionalAccess', _158 => _158.message]) && typeof _optionalChain([result, 'optionalAccess', _159 => _159.error, 'optionalAccess', _160 => _160.message]) === "string" && _optionalChain([result, 'optionalAccess', _161 => _161.error, 'optionalAccess', _162 => _162.name]) && typeof _optionalChain([result, 'optionalAccess', _163 => _163.error, 'optionalAccess', _164 => _164.name]) === "string") {
3112
+ if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _158 => _158.error, 'optionalAccess', _159 => _159.message]) && typeof _optionalChain([result, 'optionalAccess', _160 => _160.error, 'optionalAccess', _161 => _161.message]) === "string" && _optionalChain([result, 'optionalAccess', _162 => _162.error, 'optionalAccess', _163 => _163.name]) && typeof _optionalChain([result, 'optionalAccess', _164 => _164.error, 'optionalAccess', _165 => _165.name]) === "string") {
3100
3113
  throw new Error(`The ${name} generator failed to run`, {
3101
- cause: _optionalChain([result, 'optionalAccess', _165 => _165.error])
3114
+ cause: _optionalChain([result, 'optionalAccess', _166 => _166.error])
3102
3115
  });
3103
3116
  } else if (result.success && result.data) {
3104
3117
  return result;
3105
3118
  }
3106
3119
  }
3107
- if (_optionalChain([generatorOptions, 'optionalAccess', _166 => _166.hooks, 'optionalAccess', _167 => _167.postProcess])) {
3120
+ if (_optionalChain([generatorOptions, 'optionalAccess', _167 => _167.hooks, 'optionalAccess', _168 => _168.postProcess])) {
3108
3121
  writeDebug("Running the postProcess hook...", config);
3109
3122
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
3110
3123
  writeDebug("Completed the postProcess hook", config);
@@ -3238,15 +3251,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3238
3251
  _devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
3239
3252
  let repository = {
3240
3253
  type: "github",
3241
- url: _optionalChain([config, 'optionalAccess', _168 => _168.repository]) || `https://github.com/${(typeof _optionalChain([config, 'optionalAccess', _169 => _169.organization]) === "string" ? _optionalChain([config, 'optionalAccess', _170 => _170.organization]) : _optionalChain([config, 'optionalAccess', _171 => _171.organization, 'optionalAccess', _172 => _172.name])) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _173 => _173.namespace]) || _optionalChain([config, 'optionalAccess', _174 => _174.name]) || "repository"}.git`
3254
+ url: _optionalChain([config, 'optionalAccess', _169 => _169.repository]) || `https://github.com/${(typeof _optionalChain([config, 'optionalAccess', _170 => _170.organization]) === "string" ? _optionalChain([config, 'optionalAccess', _171 => _171.organization]) : _optionalChain([config, 'optionalAccess', _172 => _172.organization, 'optionalAccess', _173 => _173.name])) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _174 => _174.namespace]) || _optionalChain([config, 'optionalAccess', _175 => _175.name]) || "repository"}.git`
3242
3255
  };
3243
3256
  let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
3244
3257
  if (tree.exists("package.json")) {
3245
3258
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
3246
- if (_optionalChain([packageJson, 'optionalAccess', _175 => _175.repository])) {
3259
+ if (_optionalChain([packageJson, 'optionalAccess', _176 => _176.repository])) {
3247
3260
  repository = packageJson.repository;
3248
3261
  }
3249
- if (_optionalChain([packageJson, 'optionalAccess', _176 => _176.description])) {
3262
+ if (_optionalChain([packageJson, 'optionalAccess', _177 => _177.description])) {
3250
3263
  description = packageJson.description;
3251
3264
  }
3252
3265
  }
@@ -3301,9 +3314,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3301
3314
  _devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
3302
3315
  ...json,
3303
3316
  pnpm: {
3304
- ..._optionalChain([json, 'optionalAccess', _177 => _177.pnpm]),
3317
+ ..._optionalChain([json, 'optionalAccess', _178 => _178.pnpm]),
3305
3318
  overrides: {
3306
- ..._optionalChain([json, 'optionalAccess', _178 => _178.pnpm, 'optionalAccess', _179 => _179.overrides]),
3319
+ ..._optionalChain([json, 'optionalAccess', _179 => _179.pnpm, 'optionalAccess', _180 => _180.overrides]),
3307
3320
  [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
3308
3321
  }
3309
3322
  }
@@ -3321,10 +3334,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3321
3334
  ]);
3322
3335
  if (tree.exists("package.json")) {
3323
3336
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
3324
- if (_optionalChain([packageJson, 'optionalAccess', _180 => _180.repository])) {
3337
+ if (_optionalChain([packageJson, 'optionalAccess', _181 => _181.repository])) {
3325
3338
  repository = packageJson.repository;
3326
3339
  }
3327
- if (_optionalChain([packageJson, 'optionalAccess', _181 => _181.description])) {
3340
+ if (_optionalChain([packageJson, 'optionalAccess', _182 => _182.description])) {
3328
3341
  description = packageJson.description;
3329
3342
  }
3330
3343
  }
@@ -3361,22 +3374,22 @@ function getOutputPath(options) {
3361
3374
  function createProjectTsConfigJson(tree, options) {
3362
3375
  const tsconfig = {
3363
3376
  extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
3364
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _182 => _182.tsconfigOptions]), () => ( {})),
3377
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _183 => _183.tsconfigOptions]), () => ( {})),
3365
3378
  compilerOptions: {
3366
3379
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
3367
3380
  outDir: _chunkLP4I3FEYjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
3368
3381
  noEmit: true,
3369
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _183 => _183.tsconfigOptions, 'optionalAccess', _184 => _184.compilerOptions]), () => ( {}))
3382
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _184 => _184.tsconfigOptions, 'optionalAccess', _185 => _185.compilerOptions]), () => ( {}))
3370
3383
  },
3371
- files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _185 => _185.tsconfigOptions, 'optionalAccess', _186 => _186.files]), () => ( []))],
3384
+ files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _186 => _186.tsconfigOptions, 'optionalAccess', _187 => _187.files]), () => ( []))],
3372
3385
  include: [
3373
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _187 => _187.tsconfigOptions, 'optionalAccess', _188 => _188.include]), () => ( [])),
3386
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _188 => _188.tsconfigOptions, 'optionalAccess', _189 => _189.include]), () => ( [])),
3374
3387
  "src/**/*.ts",
3375
3388
  "src/**/*.js",
3376
3389
  "bin/**/*"
3377
3390
  ],
3378
3391
  exclude: [
3379
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _189 => _189.tsconfigOptions, 'optionalAccess', _190 => _190.exclude]), () => ( [])),
3392
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _190 => _190.tsconfigOptions, 'optionalAccess', _191 => _191.exclude]), () => ( [])),
3380
3393
  "jest.config.ts",
3381
3394
  "src/**/*.spec.ts",
3382
3395
  "src/**/*.test.ts"
@@ -3386,8 +3399,8 @@ function createProjectTsConfigJson(tree, options) {
3386
3399
  }
3387
3400
  async function normalizeOptions(tree, options, config) {
3388
3401
  let importPath = options.importPath;
3389
- if (!importPath && _optionalChain([config, 'optionalAccess', _191 => _191.namespace])) {
3390
- importPath = `@${_optionalChain([config, 'optionalAccess', _192 => _192.namespace])}/${options.name}`;
3402
+ if (!importPath && _optionalChain([config, 'optionalAccess', _192 => _192.namespace])) {
3403
+ importPath = `@${_optionalChain([config, 'optionalAccess', _193 => _193.namespace])}/${options.name}`;
3391
3404
  }
3392
3405
  if (options.publishable) {
3393
3406
  if (!importPath) {
@@ -3552,7 +3565,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
3552
3565
  );
3553
3566
  }
3554
3567
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
3555
- _nullishCoalesce(_optionalChain([config, 'optionalAccess', _193 => _193.workspaceRoot]), () => ( findWorkspaceRoot())),
3568
+ _nullishCoalesce(_optionalChain([config, 'optionalAccess', _194 => _194.workspaceRoot]), () => ( findWorkspaceRoot())),
3556
3569
  options.outputFile.startsWith("./") ? "" : "./"
3557
3570
  );
3558
3571
  writeTrace(
@@ -3992,132 +4005,132 @@ _chunkMWIFWHR4js.init_cjs_shims.call(void 0, );
3992
4005
 
3993
4006
  // ../git-tools/src/types.ts
3994
4007
  _chunkMWIFWHR4js.init_cjs_shims.call(void 0, );
3995
- var DEFAULT_COMMIT_TYPES = {
4008
+ var COMMIT_TYPES = {
3996
4009
  /* --- Bumps version when selected --- */
3997
- chore: {
3998
- description: "Other changes that don't modify src or test files",
3999
- title: "Chore",
4000
- emoji: "\u2699\uFE0F ",
4001
- semverBump: "patch",
4002
- changelog: {
4003
- title: "Miscellaneous",
4004
- hidden: false
4010
+ "chore": {
4011
+ "description": "Other changes that don't modify src or test files",
4012
+ "title": "Chore",
4013
+ "emoji": "\u2699\uFE0F ",
4014
+ "semverBump": "patch",
4015
+ "changelog": {
4016
+ "title": "Miscellaneous",
4017
+ "hidden": false
4005
4018
  }
4006
4019
  },
4007
- fix: {
4008
- description: "A change that resolves an issue previously identified with the package",
4009
- title: "Bug Fix",
4010
- emoji: "\u{1FAB2} ",
4011
- semverBump: "patch",
4012
- changelog: {
4013
- title: "Bug Fixes",
4014
- hidden: false
4020
+ "fix": {
4021
+ "description": "A change that resolves an issue previously identified with the package",
4022
+ "title": "Bug Fix",
4023
+ "emoji": "\u{1FAB2} ",
4024
+ "semverBump": "patch",
4025
+ "changelog": {
4026
+ "title": "Bug Fixes",
4027
+ "hidden": false
4015
4028
  }
4016
4029
  },
4017
- feat: {
4018
- description: "A change that adds a new feature to the package",
4019
- title: "Feature",
4020
- emoji: "\u{1F511} ",
4021
- semverBump: "minor",
4022
- changelog: {
4023
- title: "Features",
4024
- hidden: false
4030
+ "feat": {
4031
+ "description": "A change that adds a new feature to the package",
4032
+ "title": "Feature",
4033
+ "emoji": "\u{1F511} ",
4034
+ "semverBump": "minor",
4035
+ "changelog": {
4036
+ "title": "Features",
4037
+ "hidden": false
4025
4038
  }
4026
4039
  },
4027
- ci: {
4028
- description: "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)",
4029
- title: "Continuous Integration",
4030
- emoji: "\u{1F9F0} ",
4031
- semverBump: "patch",
4032
- changelog: {
4033
- title: "Continuous Integration",
4034
- hidden: false
4040
+ "ci": {
4041
+ "description": "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)",
4042
+ "title": "Continuous Integration",
4043
+ "emoji": "\u{1F9F0} ",
4044
+ "semverBump": "patch",
4045
+ "changelog": {
4046
+ "title": "Continuous Integration",
4047
+ "hidden": false
4035
4048
  }
4036
4049
  },
4037
- refactor: {
4038
- description: "A code change that neither fixes a bug nor adds a feature",
4039
- title: "Code Refactoring",
4040
- emoji: "\u{1F9EA} ",
4041
- semverBump: "patch",
4042
- changelog: {
4043
- title: "Source Code Improvements",
4044
- hidden: false
4050
+ "refactor": {
4051
+ "description": "A code change that neither fixes a bug nor adds a feature",
4052
+ "title": "Code Refactoring",
4053
+ "emoji": "\u{1F9EA} ",
4054
+ "semverBump": "patch",
4055
+ "changelog": {
4056
+ "title": "Source Code Improvements",
4057
+ "hidden": false
4045
4058
  }
4046
4059
  },
4047
- style: {
4048
- description: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
4049
- title: "Style Improvements",
4050
- emoji: "\u{1F48E} ",
4051
- semverBump: "patch",
4052
- changelog: {
4053
- title: "Style Improvements",
4054
- hidden: false
4060
+ "style": {
4061
+ "description": "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
4062
+ "title": "Style Improvements",
4063
+ "emoji": "\u{1F48E} ",
4064
+ "semverBump": "patch",
4065
+ "changelog": {
4066
+ "title": "Style Improvements",
4067
+ "hidden": false
4055
4068
  }
4056
4069
  },
4057
- perf: {
4058
- description: "A code change that improves performance",
4059
- title: "Performance Improvement",
4060
- emoji: "\u23F1\uFE0F ",
4061
- semverBump: "patch",
4062
- changelog: {
4063
- title: "Performance Improvements",
4064
- hidden: false
4070
+ "perf": {
4071
+ "description": "A code change that improves performance",
4072
+ "title": "Performance Improvement",
4073
+ "emoji": "\u23F1\uFE0F ",
4074
+ "semverBump": "patch",
4075
+ "changelog": {
4076
+ "title": "Performance Improvements",
4077
+ "hidden": false
4065
4078
  }
4066
4079
  },
4067
4080
  /* --- Does not bump version when selected --- */
4068
- docs: {
4069
- description: "A change that only includes documentation updates",
4070
- title: "Documentation",
4071
- emoji: "\u{1F4DC} ",
4072
- semverBump: "none",
4073
- changelog: {
4074
- title: "Documentation",
4075
- hidden: false
4081
+ "docs": {
4082
+ "description": "A change that only includes documentation updates",
4083
+ "title": "Documentation",
4084
+ "emoji": "\u{1F4DC} ",
4085
+ "semverBump": "none",
4086
+ "changelog": {
4087
+ "title": "Documentation",
4088
+ "hidden": false
4076
4089
  }
4077
4090
  },
4078
- test: {
4079
- description: "Adding missing tests or correcting existing tests",
4080
- title: "Testing",
4081
- emoji: "\u{1F6A8} ",
4082
- semverBump: "none",
4083
- changelog: {
4084
- title: "Testing",
4085
- hidden: true
4091
+ "test": {
4092
+ "description": "Adding missing tests or correcting existing tests",
4093
+ "title": "Testing",
4094
+ "emoji": "\u{1F6A8} ",
4095
+ "semverBump": "none",
4096
+ "changelog": {
4097
+ "title": "Testing",
4098
+ "hidden": true
4086
4099
  }
4087
4100
  },
4088
4101
  /* --- Not included in commitlint but included in changelog --- */
4089
- deps: {
4090
- description: "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies",
4091
- title: "Dependencies",
4092
- emoji: "\u{1F4E6} ",
4093
- hidden: true,
4094
- semverBump: "patch",
4095
- changelog: {
4096
- title: "Dependency Upgrades",
4097
- hidden: false
4102
+ "deps": {
4103
+ "description": "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies",
4104
+ "title": "Dependencies",
4105
+ "emoji": "\u{1F4E6} ",
4106
+ "hidden": true,
4107
+ "semverBump": "patch",
4108
+ "changelog": {
4109
+ "title": "Dependency Upgrades",
4110
+ "hidden": false
4098
4111
  }
4099
4112
  },
4100
4113
  /* --- Not included in commitlint or changelog --- */
4101
- build: {
4102
- description: "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)",
4103
- title: "Build",
4104
- emoji: "\u{1F6E0} ",
4105
- hidden: true,
4106
- semverBump: "none",
4107
- changelog: {
4108
- title: "Build",
4109
- hidden: true
4114
+ "build": {
4115
+ "description": "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)",
4116
+ "title": "Build",
4117
+ "emoji": "\u{1F6E0} ",
4118
+ "hidden": true,
4119
+ "semverBump": "none",
4120
+ "changelog": {
4121
+ "title": "Build",
4122
+ "hidden": true
4110
4123
  }
4111
4124
  },
4112
- release: {
4113
- description: "Publishing a commit containing a newly released version",
4114
- title: "Publish Release",
4115
- emoji: "\u{1F680} ",
4116
- hidden: true,
4117
- semverBump: "none",
4118
- changelog: {
4119
- title: "Publish Release",
4120
- hidden: true
4125
+ "release": {
4126
+ "description": "Publishing a commit containing a newly released version",
4127
+ "title": "Publish Release",
4128
+ "emoji": "\u{1F680} ",
4129
+ "hidden": true,
4130
+ "semverBump": "none",
4131
+ "changelog": {
4132
+ "title": "Publish Release",
4133
+ "hidden": true
4121
4134
  }
4122
4135
  }
4123
4136
  };
@@ -4126,10 +4139,10 @@ var DEFAULT_COMMIT_QUESTIONS = {
4126
4139
  type: "select",
4127
4140
  title: "Commit Type",
4128
4141
  description: "Select the commit type that best describes your changes",
4129
- enum: Object.keys(DEFAULT_COMMIT_TYPES).filter(
4130
- (type) => DEFAULT_COMMIT_TYPES[type].hidden !== true
4142
+ enum: Object.keys(COMMIT_TYPES).filter(
4143
+ (type) => COMMIT_TYPES[type].hidden !== true
4131
4144
  ).reduce((ret, type) => {
4132
- ret[type] = DEFAULT_COMMIT_TYPES[type];
4145
+ ret[type] = COMMIT_TYPES[type];
4133
4146
  return ret;
4134
4147
  }, {}),
4135
4148
  defaultValue: "chore",
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-3MCIDYYV.js');
2
2
 
3
3
 
4
- var _chunk3NH7PSSMjs = require('./chunk-3NH7PSSM.js');
4
+ var _chunkNHZSYECCjs = require('./chunk-NHZSYECC.js');
5
5
  require('./chunk-LP4I3FEY.js');
6
6
  require('./chunk-MWIFWHR4.js');
7
7
 
8
8
 
9
- exports.initGeneratorFn = _chunk3NH7PSSMjs.initGeneratorFn;
9
+ exports.initGeneratorFn = _chunkNHZSYECCjs.initGeneratorFn;
@@ -1,7 +1,7 @@
1
1
  import "./chunk-5UXDEQBC.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-HRTH4WYB.mjs";
4
+ } from "./chunk-LR3RQK6D.mjs";
5
5
  import "./chunk-IYQFGVQK.mjs";
6
6
  import "./chunk-ULH77QLV.mjs";
7
7
  export {
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  var _chunkKFR27Y3Kjs = require('./chunk-KFR27Y3K.js');
5
5
 
6
6
 
7
- var _chunk3NH7PSSMjs = require('./chunk-3NH7PSSM.js');
7
+ var _chunkNHZSYECCjs = require('./chunk-NHZSYECC.js');
8
8
  require('./chunk-LP4I3FEY.js');
9
9
 
10
10
 
@@ -16,10 +16,10 @@ var _chunkMWIFWHR4js = require('./chunk-MWIFWHR4.js');
16
16
  // index.ts
17
17
  var index_exports = {};
18
18
  _chunkMWIFWHR4js.__export.call(void 0, index_exports, {
19
- initGeneratorFn: () => _chunk3NH7PSSMjs.initGeneratorFn
19
+ initGeneratorFn: () => _chunkNHZSYECCjs.initGeneratorFn
20
20
  });
21
21
  _chunkMWIFWHR4js.init_cjs_shims.call(void 0, );
22
22
  _chunkMWIFWHR4js.__reExport.call(void 0, index_exports, _chunkMWIFWHR4js.__toESM.call(void 0, _chunkKFR27Y3Kjs.require_components.call(void 0, )));
23
23
 
24
24
 
25
- exports.initGeneratorFn = _chunk3NH7PSSMjs.initGeneratorFn;
25
+ exports.initGeneratorFn = _chunkNHZSYECCjs.initGeneratorFn;
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-PQKN2KBC.mjs";
5
5
  import {
6
6
  initGeneratorFn
7
- } from "./chunk-HRTH4WYB.mjs";
7
+ } from "./chunk-LR3RQK6D.mjs";
8
8
  import "./chunk-IYQFGVQK.mjs";
9
9
  import {
10
10
  __export,
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk3NH7PSSMjs = require('../../../chunk-3NH7PSSM.js');
4
+ var _chunkNHZSYECCjs = require('../../../chunk-NHZSYECC.js');
5
5
  require('../../../chunk-LP4I3FEY.js');
6
6
  require('../../../chunk-MWIFWHR4.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunk3NH7PSSMjs.generator_default; exports.initGeneratorFn = _chunk3NH7PSSMjs.initGeneratorFn;
10
+ exports.default = _chunkNHZSYECCjs.generator_default; exports.initGeneratorFn = _chunkNHZSYECCjs.initGeneratorFn;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generator_default,
3
3
  initGeneratorFn
4
- } from "../../../chunk-HRTH4WYB.mjs";
4
+ } from "../../../chunk-LR3RQK6D.mjs";
5
5
  import "../../../chunk-IYQFGVQK.mjs";
6
6
  import "../../../chunk-ULH77QLV.mjs";
7
7
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/projen",
3
- "version": "0.15.37",
3
+ "version": "0.15.39",
4
4
  "type": "commonjs",
5
5
  "description": "Tools for managing Projen configuration automation within a Nx workspace.",
6
6
  "repository": {
@@ -142,5 +142,5 @@
142
142
  "publishConfig": { "access": "public" },
143
143
  "executors": "./executors.json",
144
144
  "generators": "./generators.json",
145
- "gitHead": "31afbd65b069e0b465461fad3f5c7e3ad5504daf"
145
+ "gitHead": "edec74f2b1c6174fae001ac240bb291296c84fab"
146
146
  }