@storm-software/projen 0.9.78 → 0.9.80

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,22 @@
2
2
 
3
3
  # Changelog for Storm Ops - Projen
4
4
 
5
+ ## [0.9.80](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.80) (2025-04-30)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate README markdown files
10
+ ([4b707da15](https://github.com/storm-software/storm-ops/commit/4b707da15))
11
+
12
+ ## [0.9.79](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.79) (2025-04-30)
13
+
14
+ ### Miscellaneous
15
+
16
+ - **esbuild:** Remove swc plugin for ESBuild
17
+ ([ad298c288](https://github.com/storm-software/storm-ops/commit/ad298c288))
18
+ - **monorepo:** Regenerate README markdown files
19
+ ([933d45f0b](https://github.com/storm-software/storm-ops/commit/933d45f0b))
20
+
5
21
  ## [0.9.78](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.78) (2025-04-30)
6
22
 
7
23
  ### Bug Fixes
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.9.77-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.9.79-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 -->
@@ -324,7 +324,7 @@ var COLOR_KEYS = [
324
324
  // ../config-tools/src/utilities/get-default-config.ts
325
325
  var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
326
326
  var _promises = require('fs/promises'); var _promises2 = _interopRequireDefault(_promises);
327
- var _path = require('path'); var path4 = _interopRequireWildcard(_path);
327
+ var _path = require('path'); var path3 = _interopRequireWildcard(_path);
328
328
 
329
329
  // ../config-tools/src/utilities/find-workspace-root.ts
330
330
  _chunkBG73ZJERjs.init_cjs_shims.call(void 0, );
@@ -2248,54 +2248,6 @@ var DEFAULT_BUILD_OPTIONS = {
2248
2248
  }
2249
2249
  };
2250
2250
 
2251
- // ../esbuild/src/plugins/resolve-paths.ts
2252
- _chunkBG73ZJERjs.init_cjs_shims.call(void 0, );
2253
-
2254
- function resolvePathsConfig(options, cwd, projectRoot) {
2255
- if (_optionalChain([options, 'optionalAccess', _109 => _109.compilerOptions, 'optionalAccess', _110 => _110.paths])) {
2256
- const paths = Object.entries(options.compilerOptions.paths);
2257
- const resolvedPaths = paths.map(([key, paths2]) => {
2258
- return [key, paths2.map((v) => path4.default.resolve(cwd, v))];
2259
- });
2260
- return Object.fromEntries(resolvedPaths);
2261
- }
2262
- if (options.extends) {
2263
- const extendsPath = path4.default.resolve(
2264
- projectRoot ? _chunkNNSWWAGPjs.joinPaths.call(void 0, cwd, projectRoot, options.extends) : _chunkNNSWWAGPjs.joinPaths.call(void 0, cwd, options.extends)
2265
- );
2266
- const extendsDir = path4.default.dirname(extendsPath);
2267
- const extendsConfig = _chunkBG73ZJERjs.__require.call(void 0, extendsPath);
2268
- return resolvePathsConfig(extendsConfig, extendsDir);
2269
- }
2270
- return [];
2271
- }
2272
- var resolvePathsPlugin = (context) => ({
2273
- name: "storm:resolve-paths",
2274
- setup(build3) {
2275
- const parentTsConfig = build3.initialOptions.tsconfig ? _chunkBG73ZJERjs.__require.call(void 0, _chunkNNSWWAGPjs.joinPaths.call(void 0,
2276
- context.workspaceConfig.workspaceRoot,
2277
- build3.initialOptions.tsconfig.replace(
2278
- context.workspaceConfig.workspaceRoot,
2279
- ""
2280
- )
2281
- )) : _chunkBG73ZJERjs.__require.call(void 0, _chunkNNSWWAGPjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, "tsconfig.json"));
2282
- const resolvedTsPaths = resolvePathsConfig(
2283
- parentTsConfig,
2284
- context.workspaceConfig.workspaceRoot,
2285
- context.options.projectRoot
2286
- );
2287
- const packagesRegex = new RegExp(
2288
- `^(${Object.keys(resolvedTsPaths).join("|")})$`
2289
- );
2290
- build3.onResolve({ filter: packagesRegex }, (args) => {
2291
- if (_optionalChain([build3, 'access', _111 => _111.initialOptions, 'access', _112 => _112.external, 'optionalAccess', _113 => _113.includes, 'call', _114 => _114(args.path)])) {
2292
- return { path: args.path, external: true };
2293
- }
2294
- return { path: `${resolvedTsPaths[args.path][0]}/index.ts` };
2295
- });
2296
- }
2297
- });
2298
-
2299
2251
  // ../esbuild/src/context.ts
2300
2252
  async function resolveContext(userOptions) {
2301
2253
  const projectRoot = userOptions.projectRoot;
@@ -2323,7 +2275,7 @@ async function resolveContext(userOptions) {
2323
2275
  const projectJson = JSON.parse(projectJsonFile);
2324
2276
  const projectName = projectJson.name || userOptions.name;
2325
2277
  const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
2326
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _115 => _115.projects, 'optionalAccess', _116 => _116[projectName]])) {
2278
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _109 => _109.projects, 'optionalAccess', _110 => _110[projectName]])) {
2327
2279
  throw new Error(
2328
2280
  "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."
2329
2281
  );
@@ -2375,10 +2327,7 @@ async function resolveContext(userOptions) {
2375
2327
  ),
2376
2328
  minify: resolvedOptions.minify || resolvedOptions.mode === "production"
2377
2329
  };
2378
- context.options.esbuildPlugins = [
2379
- resolvePathsPlugin(context),
2380
- ..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))
2381
- ];
2330
+ context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
2382
2331
  return context;
2383
2332
  }
2384
2333
 
@@ -2545,7 +2494,7 @@ var missingIgnore = [".prisma", "@prisma/client", "ts-toolbelt"];
2545
2494
  var depsCheckPlugin = (bundle) => ({
2546
2495
  name: "storm:deps-check",
2547
2496
  setup(build3) {
2548
- const pkgJsonPath = path4.default.join(process.cwd(), "package.json");
2497
+ const pkgJsonPath = path3.default.join(process.cwd(), "package.json");
2549
2498
  const pkgContents = _chunkBG73ZJERjs.__require.call(void 0, pkgJsonPath);
2550
2499
  const regDependencies = Object.keys(_nullishCoalesce(pkgContents["dependencies"], () => ( {})));
2551
2500
  const devDependencies = Object.keys(_nullishCoalesce(pkgContents["devDependencies"], () => ( {})));
@@ -2616,7 +2565,7 @@ async function executeTsup(context) {
2616
2565
 
2617
2566
  // ../esbuild/src/build.ts
2618
2567
  async function reportResults(context) {
2619
- if (_optionalChain([context, 'access', _117 => _117.result, 'optionalAccess', _118 => _118.errors, 'access', _119 => _119.length]) === 0) {
2568
+ if (_optionalChain([context, 'access', _111 => _111.result, 'optionalAccess', _112 => _112.errors, 'access', _113 => _113.length]) === 0) {
2620
2569
  if (context.result.warnings.length > 0) {
2621
2570
  writeWarning(
2622
2571
  ` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
@@ -2627,7 +2576,7 @@ async function reportResults(context) {
2627
2576
  ` \u{1F4E6} The ${context.options.name} build completed successfully`,
2628
2577
  context.workspaceConfig
2629
2578
  );
2630
- } else if (_optionalChain([context, 'access', _120 => _120.result, 'optionalAccess', _121 => _121.errors]) && _optionalChain([context, 'access', _122 => _122.result, 'optionalAccess', _123 => _123.errors, 'access', _124 => _124.length]) > 0) {
2579
+ } else if (_optionalChain([context, 'access', _114 => _114.result, 'optionalAccess', _115 => _115.errors]) && _optionalChain([context, 'access', _116 => _116.result, 'optionalAccess', _117 => _117.errors, 'access', _118 => _118.length]) > 0) {
2631
2580
  writeError(
2632
2581
  ` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
2633
2582
  context.workspaceConfig
@@ -2706,16 +2655,16 @@ async function build2(options) {
2706
2655
  // ../workspace-tools/src/executors/esbuild/executor.ts
2707
2656
  async function esbuildExecutorFn(options, context, config) {
2708
2657
  writeInfo("\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
2709
- if (!_optionalChain([context, 'access', _125 => _125.projectsConfigurations, 'optionalAccess', _126 => _126.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _127 => _127.projectsConfigurations, 'access', _128 => _128.projects, 'access', _129 => _129[context.projectName], 'optionalAccess', _130 => _130.root])) {
2658
+ if (!_optionalChain([context, 'access', _119 => _119.projectsConfigurations, 'optionalAccess', _120 => _120.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _121 => _121.projectsConfigurations, 'access', _122 => _122.projects, 'access', _123 => _123[context.projectName], 'optionalAccess', _124 => _124.root])) {
2710
2659
  throw new Error(
2711
2660
  "The Build process failed because the context is not valid. Please run this command from a workspace."
2712
2661
  );
2713
2662
  }
2714
2663
  await build2({
2715
2664
  ...options,
2716
- projectRoot: _optionalChain([context, 'access', _131 => _131.projectsConfigurations, 'access', _132 => _132.projects, 'optionalAccess', _133 => _133[context.projectName], 'access', _134 => _134.root]),
2665
+ projectRoot: _optionalChain([context, 'access', _125 => _125.projectsConfigurations, 'access', _126 => _126.projects, 'optionalAccess', _127 => _127[context.projectName], 'access', _128 => _128.root]),
2717
2666
  name: context.projectName,
2718
- sourceRoot: _optionalChain([context, 'access', _135 => _135.projectsConfigurations, 'access', _136 => _136.projects, 'optionalAccess', _137 => _137[context.projectName], 'optionalAccess', _138 => _138.sourceRoot]),
2667
+ sourceRoot: _optionalChain([context, 'access', _129 => _129.projectsConfigurations, 'access', _130 => _130.projects, 'optionalAccess', _131 => _131[context.projectName], 'optionalAccess', _132 => _132.sourceRoot]),
2719
2668
  format: options.format,
2720
2669
  platform: options.format
2721
2670
  });
@@ -2762,15 +2711,15 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
2762
2711
  var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
2763
2712
  var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
2764
2713
  async function sizeLimitExecutorFn(options, context, config) {
2765
- if (!_optionalChain([context, 'optionalAccess', _139 => _139.projectName]) || !_optionalChain([context, 'access', _140 => _140.projectsConfigurations, 'optionalAccess', _141 => _141.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
2714
+ if (!_optionalChain([context, 'optionalAccess', _133 => _133.projectName]) || !_optionalChain([context, 'access', _134 => _134.projectsConfigurations, 'optionalAccess', _135 => _135.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
2766
2715
  throw new Error(
2767
2716
  "The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
2768
2717
  );
2769
2718
  }
2770
2719
  writeInfo(`\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
2771
2720
  _sizelimit2.default.call(void 0, [_file2.default, _esbuild3.default, _esbuildwhy2.default], {
2772
- checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _142 => _142.projectsConfigurations, 'access', _143 => _143.projects, 'access', _144 => _144[context.projectName], 'optionalAccess', _145 => _145.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
2773
- _nullishCoalesce(_optionalChain([context, 'access', _146 => _146.projectsConfigurations, 'access', _147 => _147.projects, 'access', _148 => _148[context.projectName], 'optionalAccess', _149 => _149.root]), () => ( "./")),
2721
+ checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _136 => _136.projectsConfigurations, 'access', _137 => _137.projects, 'access', _138 => _138[context.projectName], 'optionalAccess', _139 => _139.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
2722
+ _nullishCoalesce(_optionalChain([context, 'access', _140 => _140.projectsConfigurations, 'access', _141 => _141.projects, 'access', _142 => _142[context.projectName], 'optionalAccess', _143 => _143.root]), () => ( "./")),
2774
2723
  "src"
2775
2724
  )))
2776
2725
  }).then((result) => {
@@ -2842,7 +2791,7 @@ _chunkBG73ZJERjs.init_cjs_shims.call(void 0, );
2842
2791
  var _jiti = require('jiti');
2843
2792
  async function unbuildExecutorFn(options, context, config) {
2844
2793
  writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
2845
- if (!_optionalChain([context, 'access', _150 => _150.projectsConfigurations, 'optionalAccess', _151 => _151.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
2794
+ if (!_optionalChain([context, 'access', _144 => _144.projectsConfigurations, 'optionalAccess', _145 => _145.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
2846
2795
  throw new Error(
2847
2796
  "The Build process failed because the context is not valid. Please run this command from a workspace root directory."
2848
2797
  );
@@ -2961,7 +2910,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
2961
2910
  );
2962
2911
  config = await getConfig(workspaceRoot3);
2963
2912
  }
2964
- if (_optionalChain([generatorOptions, 'optionalAccess', _152 => _152.hooks, 'optionalAccess', _153 => _153.applyDefaultOptions])) {
2913
+ if (_optionalChain([generatorOptions, 'optionalAccess', _146 => _146.hooks, 'optionalAccess', _147 => _147.applyDefaultOptions])) {
2965
2914
  writeDebug("Running the applyDefaultOptions hook...", config);
2966
2915
  options = await Promise.resolve(
2967
2916
  generatorOptions.hooks.applyDefaultOptions(options, config)
@@ -2978,7 +2927,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
2978
2927
  { workspaceRoot: tree.root, config },
2979
2928
  applyWorkspaceBaseTokens
2980
2929
  );
2981
- if (_optionalChain([generatorOptions, 'optionalAccess', _154 => _154.hooks, 'optionalAccess', _155 => _155.preProcess])) {
2930
+ if (_optionalChain([generatorOptions, 'optionalAccess', _148 => _148.hooks, 'optionalAccess', _149 => _149.preProcess])) {
2982
2931
  writeDebug("Running the preProcess hook...", config);
2983
2932
  await Promise.resolve(
2984
2933
  generatorOptions.hooks.preProcess(tokenized, config)
@@ -2989,15 +2938,15 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
2989
2938
  generatorFn(tree, tokenized, config)
2990
2939
  );
2991
2940
  if (result) {
2992
- if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _156 => _156.error, 'optionalAccess', _157 => _157.message]) && typeof _optionalChain([result, 'optionalAccess', _158 => _158.error, 'optionalAccess', _159 => _159.message]) === "string" && _optionalChain([result, 'optionalAccess', _160 => _160.error, 'optionalAccess', _161 => _161.name]) && typeof _optionalChain([result, 'optionalAccess', _162 => _162.error, 'optionalAccess', _163 => _163.name]) === "string") {
2941
+ if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _150 => _150.error, 'optionalAccess', _151 => _151.message]) && typeof _optionalChain([result, 'optionalAccess', _152 => _152.error, 'optionalAccess', _153 => _153.message]) === "string" && _optionalChain([result, 'optionalAccess', _154 => _154.error, 'optionalAccess', _155 => _155.name]) && typeof _optionalChain([result, 'optionalAccess', _156 => _156.error, 'optionalAccess', _157 => _157.name]) === "string") {
2993
2942
  throw new Error(`The ${name} generator failed to run`, {
2994
- cause: _optionalChain([result, 'optionalAccess', _164 => _164.error])
2943
+ cause: _optionalChain([result, 'optionalAccess', _158 => _158.error])
2995
2944
  });
2996
2945
  } else if (result.success && result.data) {
2997
2946
  return result;
2998
2947
  }
2999
2948
  }
3000
- if (_optionalChain([generatorOptions, 'optionalAccess', _165 => _165.hooks, 'optionalAccess', _166 => _166.postProcess])) {
2949
+ if (_optionalChain([generatorOptions, 'optionalAccess', _159 => _159.hooks, 'optionalAccess', _160 => _160.postProcess])) {
3001
2950
  writeDebug("Running the postProcess hook...", config);
3002
2951
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
3003
2952
  writeDebug("Completed the postProcess hook", config);
@@ -3192,15 +3141,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3192
3141
  _devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
3193
3142
  let repository = {
3194
3143
  type: "github",
3195
- url: _optionalChain([config, 'optionalAccess', _167 => _167.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _168 => _168.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _169 => _169.namespace]) || _optionalChain([config, 'optionalAccess', _170 => _170.name]) || "repository"}.git`
3144
+ url: _optionalChain([config, 'optionalAccess', _161 => _161.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _162 => _162.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _163 => _163.namespace]) || _optionalChain([config, 'optionalAccess', _164 => _164.name]) || "repository"}.git`
3196
3145
  };
3197
3146
  let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
3198
3147
  if (tree.exists("package.json")) {
3199
3148
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
3200
- if (_optionalChain([packageJson, 'optionalAccess', _171 => _171.repository])) {
3149
+ if (_optionalChain([packageJson, 'optionalAccess', _165 => _165.repository])) {
3201
3150
  repository = packageJson.repository;
3202
3151
  }
3203
- if (_optionalChain([packageJson, 'optionalAccess', _172 => _172.description])) {
3152
+ if (_optionalChain([packageJson, 'optionalAccess', _166 => _166.description])) {
3204
3153
  description = packageJson.description;
3205
3154
  }
3206
3155
  }
@@ -3255,9 +3204,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3255
3204
  _devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
3256
3205
  ...json,
3257
3206
  pnpm: {
3258
- ..._optionalChain([json, 'optionalAccess', _173 => _173.pnpm]),
3207
+ ..._optionalChain([json, 'optionalAccess', _167 => _167.pnpm]),
3259
3208
  overrides: {
3260
- ..._optionalChain([json, 'optionalAccess', _174 => _174.pnpm, 'optionalAccess', _175 => _175.overrides]),
3209
+ ..._optionalChain([json, 'optionalAccess', _168 => _168.pnpm, 'optionalAccess', _169 => _169.overrides]),
3261
3210
  [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
3262
3211
  }
3263
3212
  }
@@ -3275,10 +3224,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3275
3224
  ]);
3276
3225
  if (tree.exists("package.json")) {
3277
3226
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
3278
- if (_optionalChain([packageJson, 'optionalAccess', _176 => _176.repository])) {
3227
+ if (_optionalChain([packageJson, 'optionalAccess', _170 => _170.repository])) {
3279
3228
  repository = packageJson.repository;
3280
3229
  }
3281
- if (_optionalChain([packageJson, 'optionalAccess', _177 => _177.description])) {
3230
+ if (_optionalChain([packageJson, 'optionalAccess', _171 => _171.description])) {
3282
3231
  description = packageJson.description;
3283
3232
  }
3284
3233
  }
@@ -3315,22 +3264,22 @@ function getOutputPath(options) {
3315
3264
  function createProjectTsConfigJson(tree, options) {
3316
3265
  const tsconfig = {
3317
3266
  extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
3318
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _178 => _178.tsconfigOptions]), () => ( {})),
3267
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _172 => _172.tsconfigOptions]), () => ( {})),
3319
3268
  compilerOptions: {
3320
3269
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
3321
3270
  outDir: _chunkNNSWWAGPjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
3322
3271
  noEmit: true,
3323
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _179 => _179.tsconfigOptions, 'optionalAccess', _180 => _180.compilerOptions]), () => ( {}))
3272
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _173 => _173.tsconfigOptions, 'optionalAccess', _174 => _174.compilerOptions]), () => ( {}))
3324
3273
  },
3325
- files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _181 => _181.tsconfigOptions, 'optionalAccess', _182 => _182.files]), () => ( []))],
3274
+ files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _175 => _175.tsconfigOptions, 'optionalAccess', _176 => _176.files]), () => ( []))],
3326
3275
  include: [
3327
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _183 => _183.tsconfigOptions, 'optionalAccess', _184 => _184.include]), () => ( [])),
3276
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _177 => _177.tsconfigOptions, 'optionalAccess', _178 => _178.include]), () => ( [])),
3328
3277
  "src/**/*.ts",
3329
3278
  "src/**/*.js",
3330
3279
  "bin/**/*"
3331
3280
  ],
3332
3281
  exclude: [
3333
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _185 => _185.tsconfigOptions, 'optionalAccess', _186 => _186.exclude]), () => ( [])),
3282
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _179 => _179.tsconfigOptions, 'optionalAccess', _180 => _180.exclude]), () => ( [])),
3334
3283
  "jest.config.ts",
3335
3284
  "src/**/*.spec.ts",
3336
3285
  "src/**/*.test.ts"
@@ -3340,8 +3289,8 @@ function createProjectTsConfigJson(tree, options) {
3340
3289
  }
3341
3290
  async function normalizeOptions(tree, options, config) {
3342
3291
  let importPath = options.importPath;
3343
- if (!importPath && _optionalChain([config, 'optionalAccess', _187 => _187.namespace])) {
3344
- importPath = `@${_optionalChain([config, 'optionalAccess', _188 => _188.namespace])}/${options.name}`;
3292
+ if (!importPath && _optionalChain([config, 'optionalAccess', _181 => _181.namespace])) {
3293
+ importPath = `@${_optionalChain([config, 'optionalAccess', _182 => _182.namespace])}/${options.name}`;
3345
3294
  }
3346
3295
  if (options.publishable) {
3347
3296
  if (!importPath) {
@@ -3498,8 +3447,8 @@ async function configSchemaGeneratorFn(tree, options, config) {
3498
3447
  });
3499
3448
  writeTrace(jsonSchema, config);
3500
3449
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
3501
- _nullishCoalesce(_optionalChain([config, 'optionalAccess', _189 => _189.workspaceRoot]), () => ( findWorkspaceRoot())),
3502
- _optionalChain([options, 'access', _190 => _190.outputFile, 'optionalAccess', _191 => _191.startsWith, 'call', _192 => _192("./")]) ? "" : "./"
3450
+ _nullishCoalesce(_optionalChain([config, 'optionalAccess', _183 => _183.workspaceRoot]), () => ( findWorkspaceRoot())),
3451
+ _optionalChain([options, 'access', _184 => _184.outputFile, 'optionalAccess', _185 => _185.startsWith, 'call', _186 => _186("./")]) ? "" : "./"
3503
3452
  );
3504
3453
  writeTrace(
3505
3454
  `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
@@ -3836,7 +3785,7 @@ async function presetGeneratorFn(tree, options) {
3836
3785
  };
3837
3786
  return json;
3838
3787
  });
3839
- _devkit.generateFiles.call(void 0, tree, path4.join(__dirname, "files"), projectRoot, {
3788
+ _devkit.generateFiles.call(void 0, tree, path3.join(__dirname, "files"), projectRoot, {
3840
3789
  ...options,
3841
3790
  pnpmVersion,
3842
3791
  nodeVersion
@@ -2249,54 +2249,6 @@ var DEFAULT_BUILD_OPTIONS = {
2249
2249
  }
2250
2250
  };
2251
2251
 
2252
- // ../esbuild/src/plugins/resolve-paths.ts
2253
- init_esm_shims();
2254
- import path2 from "node:path";
2255
- function resolvePathsConfig(options, cwd, projectRoot) {
2256
- if (options?.compilerOptions?.paths) {
2257
- const paths = Object.entries(options.compilerOptions.paths);
2258
- const resolvedPaths = paths.map(([key, paths2]) => {
2259
- return [key, paths2.map((v) => path2.resolve(cwd, v))];
2260
- });
2261
- return Object.fromEntries(resolvedPaths);
2262
- }
2263
- if (options.extends) {
2264
- const extendsPath = path2.resolve(
2265
- projectRoot ? joinPaths(cwd, projectRoot, options.extends) : joinPaths(cwd, options.extends)
2266
- );
2267
- const extendsDir = path2.dirname(extendsPath);
2268
- const extendsConfig = __require(extendsPath);
2269
- return resolvePathsConfig(extendsConfig, extendsDir);
2270
- }
2271
- return [];
2272
- }
2273
- var resolvePathsPlugin = (context) => ({
2274
- name: "storm:resolve-paths",
2275
- setup(build3) {
2276
- const parentTsConfig = build3.initialOptions.tsconfig ? __require(joinPaths(
2277
- context.workspaceConfig.workspaceRoot,
2278
- build3.initialOptions.tsconfig.replace(
2279
- context.workspaceConfig.workspaceRoot,
2280
- ""
2281
- )
2282
- )) : __require(joinPaths(context.workspaceConfig.workspaceRoot, "tsconfig.json"));
2283
- const resolvedTsPaths = resolvePathsConfig(
2284
- parentTsConfig,
2285
- context.workspaceConfig.workspaceRoot,
2286
- context.options.projectRoot
2287
- );
2288
- const packagesRegex = new RegExp(
2289
- `^(${Object.keys(resolvedTsPaths).join("|")})$`
2290
- );
2291
- build3.onResolve({ filter: packagesRegex }, (args) => {
2292
- if (build3.initialOptions.external?.includes(args.path)) {
2293
- return { path: args.path, external: true };
2294
- }
2295
- return { path: `${resolvedTsPaths[args.path][0]}/index.ts` };
2296
- });
2297
- }
2298
- });
2299
-
2300
2252
  // ../esbuild/src/context.ts
2301
2253
  async function resolveContext(userOptions) {
2302
2254
  const projectRoot = userOptions.projectRoot;
@@ -2376,10 +2328,7 @@ async function resolveContext(userOptions) {
2376
2328
  ),
2377
2329
  minify: resolvedOptions.minify || resolvedOptions.mode === "production"
2378
2330
  };
2379
- context.options.esbuildPlugins = [
2380
- resolvePathsPlugin(context),
2381
- ...context.options.esbuildPlugins ?? []
2382
- ];
2331
+ context.options.esbuildPlugins = [...context.options.esbuildPlugins ?? []];
2383
2332
  return context;
2384
2333
  }
2385
2334
 
@@ -2517,7 +2466,7 @@ async function generatePackageJson(context) {
2517
2466
  // ../esbuild/src/plugins/deps-check.ts
2518
2467
  init_esm_shims();
2519
2468
  import { builtinModules as builtinModules2 } from "node:module";
2520
- import path3 from "node:path";
2469
+ import path2 from "node:path";
2521
2470
  var unusedIgnore = [
2522
2471
  // these are our dev dependencies
2523
2472
  /@types\/.*?/,
@@ -2546,7 +2495,7 @@ var missingIgnore = [".prisma", "@prisma/client", "ts-toolbelt"];
2546
2495
  var depsCheckPlugin = (bundle) => ({
2547
2496
  name: "storm:deps-check",
2548
2497
  setup(build3) {
2549
- const pkgJsonPath = path3.join(process.cwd(), "package.json");
2498
+ const pkgJsonPath = path2.join(process.cwd(), "package.json");
2550
2499
  const pkgContents = __require(pkgJsonPath);
2551
2500
  const regDependencies = Object.keys(pkgContents["dependencies"] ?? {});
2552
2501
  const devDependencies = Object.keys(pkgContents["devDependencies"] ?? {});
@@ -3689,7 +3638,7 @@ import {
3689
3638
  joinPathFragments as joinPathFragments4,
3690
3639
  updateJson as updateJson2
3691
3640
  } from "@nx/devkit";
3692
- import * as path4 from "node:path";
3641
+ import * as path3 from "node:path";
3693
3642
  async function presetGeneratorFn(tree, options) {
3694
3643
  const projectRoot = ".";
3695
3644
  options.description ??= `\u26A1The ${options.namespace ? options.namespace : options.name} monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.`;
@@ -3837,7 +3786,7 @@ async function presetGeneratorFn(tree, options) {
3837
3786
  };
3838
3787
  return json;
3839
3788
  });
3840
- generateFiles4(tree, path4.join(__dirname, "files"), projectRoot, {
3789
+ generateFiles4(tree, path3.join(__dirname, "files"), projectRoot, {
3841
3790
  ...options,
3842
3791
  pnpmVersion,
3843
3792
  nodeVersion
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-NG74QN4S.js');
2
2
 
3
3
 
4
- var _chunkIRRBMF6Ojs = require('./chunk-IRRBMF6O.js');
4
+ var _chunkRRTPMNWOjs = require('./chunk-RRTPMNWO.js');
5
5
  require('./chunk-NNSWWAGP.js');
6
6
  require('./chunk-BG73ZJER.js');
7
7
 
8
8
 
9
- exports.initGeneratorFn = _chunkIRRBMF6Ojs.initGeneratorFn;
9
+ exports.initGeneratorFn = _chunkRRTPMNWOjs.initGeneratorFn;
@@ -1,7 +1,7 @@
1
1
  import "./chunk-ZVRRJOP5.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-IQHRF4IX.mjs";
4
+ } from "./chunk-VHNXR7ZZ.mjs";
5
5
  import "./chunk-PEM26WKS.mjs";
6
6
  import "./chunk-SHIGQSVE.mjs";
7
7
  export {
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  var _chunkDUNMCAJEjs = require('./chunk-DUNMCAJE.js');
5
5
 
6
6
 
7
- var _chunkIRRBMF6Ojs = require('./chunk-IRRBMF6O.js');
7
+ var _chunkRRTPMNWOjs = require('./chunk-RRTPMNWO.js');
8
8
  require('./chunk-NNSWWAGP.js');
9
9
 
10
10
 
@@ -16,10 +16,10 @@ var _chunkBG73ZJERjs = require('./chunk-BG73ZJER.js');
16
16
  // index.ts
17
17
  var index_exports = {};
18
18
  _chunkBG73ZJERjs.__export.call(void 0, index_exports, {
19
- initGeneratorFn: () => _chunkIRRBMF6Ojs.initGeneratorFn
19
+ initGeneratorFn: () => _chunkRRTPMNWOjs.initGeneratorFn
20
20
  });
21
21
  _chunkBG73ZJERjs.init_cjs_shims.call(void 0, );
22
22
  _chunkBG73ZJERjs.__reExport.call(void 0, index_exports, _chunkBG73ZJERjs.__toESM.call(void 0, _chunkDUNMCAJEjs.require_components.call(void 0, )));
23
23
 
24
24
 
25
- exports.initGeneratorFn = _chunkIRRBMF6Ojs.initGeneratorFn;
25
+ exports.initGeneratorFn = _chunkRRTPMNWOjs.initGeneratorFn;
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-NVTKHBEW.mjs";
5
5
  import {
6
6
  initGeneratorFn
7
- } from "./chunk-IQHRF4IX.mjs";
7
+ } from "./chunk-VHNXR7ZZ.mjs";
8
8
  import "./chunk-PEM26WKS.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 _chunkIRRBMF6Ojs = require('../../../chunk-IRRBMF6O.js');
4
+ var _chunkRRTPMNWOjs = require('../../../chunk-RRTPMNWO.js');
5
5
  require('../../../chunk-NNSWWAGP.js');
6
6
  require('../../../chunk-BG73ZJER.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunkIRRBMF6Ojs.generator_default; exports.initGeneratorFn = _chunkIRRBMF6Ojs.initGeneratorFn;
10
+ exports.default = _chunkRRTPMNWOjs.generator_default; exports.initGeneratorFn = _chunkRRTPMNWOjs.initGeneratorFn;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generator_default,
3
3
  initGeneratorFn
4
- } from "../../../chunk-IQHRF4IX.mjs";
4
+ } from "../../../chunk-VHNXR7ZZ.mjs";
5
5
  import "../../../chunk-PEM26WKS.mjs";
6
6
  import "../../../chunk-SHIGQSVE.mjs";
7
7
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/projen",
3
- "version": "0.9.78",
3
+ "version": "0.9.80",
4
4
  "type": "commonjs",
5
5
  "description": "Tools for managing Projen configuration automation within a Nx workspace.",
6
6
  "repository": {
@@ -32,16 +32,28 @@
32
32
  "types": "./dist/index.d.mts",
33
33
  "default": "./dist/index.mjs"
34
34
  },
35
- "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
36
- "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
35
+ "require": {
36
+ "types": "./dist/index.d.ts",
37
+ "default": "./dist/index.js"
38
+ },
39
+ "default": {
40
+ "types": "./dist/index.d.ts",
41
+ "default": "./dist/index.js"
42
+ }
37
43
  },
38
44
  "./index": {
39
45
  "import": {
40
46
  "types": "./dist/index.d.mts",
41
47
  "default": "./dist/index.mjs"
42
48
  },
43
- "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
44
- "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
49
+ "require": {
50
+ "types": "./dist/index.d.ts",
51
+ "default": "./dist/index.js"
52
+ },
53
+ "default": {
54
+ "types": "./dist/index.d.ts",
55
+ "default": "./dist/index.js"
56
+ }
45
57
  },
46
58
  "./executors": {
47
59
  "import": {
@@ -123,9 +135,15 @@
123
135
  "untyped": "1.5.2"
124
136
  },
125
137
  "peerDependenciesMeta": {
126
- "@nx/devkit": { "optional": false },
127
- "nx": { "optional": false },
128
- "projen": { "optional": false }
138
+ "@nx/devkit": {
139
+ "optional": false
140
+ },
141
+ "nx": {
142
+ "optional": false
143
+ },
144
+ "projen": {
145
+ "optional": false
146
+ }
129
147
  },
130
148
  "dependencies": {
131
149
  "@aws/pdk": "^0.25.17",
@@ -139,7 +157,9 @@
139
157
  "tsup": "8.4.0",
140
158
  "untyped": "^1.5.2"
141
159
  },
142
- "publishConfig": { "access": "public" },
160
+ "publishConfig": {
161
+ "access": "public"
162
+ },
143
163
  "executors": "./executors.json",
144
164
  "generators": "./generators.json"
145
- }
165
+ }