@storm-software/projen 0.21.28 → 0.21.30

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,27 @@
2
2
 
3
3
  # Changelog for Storm Ops - Projen
4
4
 
5
+ ## [0.21.29](https://github.com/storm-software/storm-ops/releases/tag/projen%400.21.29) (11/12/2025)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate README markdown files
10
+ ([89dfbdb7f](https://github.com/storm-software/storm-ops/commit/89dfbdb7f))
11
+
12
+ ### Updated Dependencies
13
+
14
+ - Updated **workspace-tools** to **v1.292.29**
15
+ - Updated **config-tools** to **v1.188.29**
16
+ - Updated **config** to **v1.134.29**
17
+
18
+ ## [0.21.28](https://github.com/storm-software/storm-ops/releases/tag/projen%400.21.28) (11/12/2025)
19
+
20
+ ### Updated Dependencies
21
+
22
+ - Updated **workspace-tools** to **v1.292.28**
23
+ - Updated **config-tools** to **v1.188.28**
24
+ - Updated **config** to **v1.134.28**
25
+
5
26
  ## [0.21.27](https://github.com/storm-software/storm-ops/releases/tag/projen%400.21.27) (11/12/2025)
6
27
 
7
28
  ### 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.21.25-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.21.29-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 -->
@@ -40,6 +40,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
40
40
 
41
41
  <!-- START doctoc -->
42
42
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
43
+
43
44
  ## Table of Contents
44
45
 
45
46
  - [Storm Projen Tools](#storm-projen-tools)
@@ -3119,6 +3119,64 @@ var executor_default6 = withRunExecutor(
3119
3119
  }
3120
3120
  );
3121
3121
 
3122
+ // ../workspace-tools/src/executors/napi/executor.ts
3123
+ init_esm_shims();
3124
+ import { createJiti } from "jiti";
3125
+ import { fileExists } from "nx/src/utils/fileutils";
3126
+ async function napiExecutor(options, context, config) {
3127
+ const jiti = createJiti(config.workspaceRoot, {
3128
+ fsCache: config.skipCache ? false : joinPaths(
3129
+ config.workspaceRoot,
3130
+ config.directories.cache || "node_modules/.cache/storm",
3131
+ "jiti"
3132
+ ),
3133
+ interopDefault: true
3134
+ });
3135
+ const { NapiCli } = await jiti.import(
3136
+ jiti.esmResolve("@napi-rs/cli")
3137
+ );
3138
+ if (!context.projectGraph?.nodes[context.projectName ?? ""]) {
3139
+ throw new Error(
3140
+ "The Napi Build process failed because the project could not be found in the project graph. Please run this command from a workspace root directory."
3141
+ );
3142
+ }
3143
+ const projectRoot = context.projectGraph?.nodes[context.projectName ?? ""].data.root;
3144
+ const packageJson = joinPaths(projectRoot ?? ".", "package.json");
3145
+ if (!fileExists(packageJson)) {
3146
+ throw new Error(`Could not find package.json at ${packageJson}`);
3147
+ }
3148
+ const napi = new NapiCli();
3149
+ const buildOptions = { ...options };
3150
+ const metadata = cargoMetadata();
3151
+ buildOptions.outputDir = options.outputPath;
3152
+ buildOptions.packageJsonPath = options.packageJsonPath || packageJson;
3153
+ buildOptions.targetDir = options.targetDir || metadata?.target_directory || joinPaths(config.workspaceRoot, "dist", "target");
3154
+ if (process.env.VERCEL) {
3155
+ return { success: true };
3156
+ }
3157
+ const { task } = await napi.build(buildOptions);
3158
+ return { success: true, terminalOutput: await task };
3159
+ }
3160
+ var executor_default7 = withRunExecutor(
3161
+ "Napi - Build Bindings",
3162
+ napiExecutor,
3163
+ {
3164
+ skipReadingConfig: false,
3165
+ hooks: {
3166
+ applyDefaultOptions: (options) => {
3167
+ options.outputPath ??= "dist/{projectRoot}/target";
3168
+ options.toolchain ??= "stable";
3169
+ options.dtsCache ??= true;
3170
+ options.platform ??= true;
3171
+ options.constEnum ??= false;
3172
+ options.jsBinding ??= "binding.js";
3173
+ options.dts ??= "binding.d.ts";
3174
+ return options;
3175
+ }
3176
+ }
3177
+ }
3178
+ );
3179
+
3122
3180
  // ../workspace-tools/src/executors/npm-publish/executor.ts
3123
3181
  init_esm_shims();
3124
3182
 
@@ -3265,7 +3323,7 @@ async function sizeLimitExecutorFn(options, context, config) {
3265
3323
  success: true
3266
3324
  };
3267
3325
  }
3268
- var executor_default7 = withRunExecutor(
3326
+ var executor_default8 = withRunExecutor(
3269
3327
  "Size-Limit Performance Test Executor",
3270
3328
  sizeLimitExecutorFn,
3271
3329
  {
@@ -3598,7 +3656,7 @@ async function tsdownExecutorFn(options, context, config) {
3598
3656
  success: true
3599
3657
  };
3600
3658
  }
3601
- var executor_default8 = withRunExecutor(
3659
+ var executor_default9 = withRunExecutor(
3602
3660
  "Storm TSDown build",
3603
3661
  tsdownExecutorFn,
3604
3662
  {
@@ -3637,7 +3695,7 @@ async function typiaExecutorFn(options, _, config) {
3637
3695
  success: true
3638
3696
  };
3639
3697
  }
3640
- var executor_default9 = withRunExecutor(
3698
+ var executor_default10 = withRunExecutor(
3641
3699
  "Typia runtime validation generator",
3642
3700
  typiaExecutorFn,
3643
3701
  {
@@ -3657,7 +3715,7 @@ var executor_default9 = withRunExecutor(
3657
3715
  // ../workspace-tools/src/executors/unbuild/executor.ts
3658
3716
  init_esm_shims();
3659
3717
  import { defu as defu6 } from "defu";
3660
- import { createJiti } from "jiti";
3718
+ import { createJiti as createJiti2 } from "jiti";
3661
3719
  async function unbuildExecutorFn(options, context, config) {
3662
3720
  writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
3663
3721
  if (!context.projectsConfigurations?.projects || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
@@ -3675,7 +3733,7 @@ async function unbuildExecutorFn(options, context, config) {
3675
3733
  "The Build process failed because the project's source root is not valid. Please run this command from a workspace root directory."
3676
3734
  );
3677
3735
  }
3678
- const jiti = createJiti(config.workspaceRoot, {
3736
+ const jiti = createJiti2(config.workspaceRoot, {
3679
3737
  fsCache: config.skipCache ? false : joinPaths(
3680
3738
  config.workspaceRoot,
3681
3739
  config.directories.cache || "node_modules/.cache/storm",
@@ -3727,7 +3785,7 @@ async function unbuildExecutorFn(options, context, config) {
3727
3785
  success: true
3728
3786
  };
3729
3787
  }
3730
- var executor_default10 = withRunExecutor(
3788
+ var executor_default11 = withRunExecutor(
3731
3789
  "TypeScript Unbuild build",
3732
3790
  unbuildExecutorFn,
3733
3791
  {
@@ -3118,6 +3118,64 @@ var executor_default6 = withRunExecutor(
3118
3118
  }
3119
3119
  );
3120
3120
 
3121
+ // ../workspace-tools/src/executors/napi/executor.ts
3122
+ _chunkANVGCRXXjs.init_cjs_shims.call(void 0, );
3123
+ var _jiti = require('jiti');
3124
+ var _fileutils = require('nx/src/utils/fileutils');
3125
+ async function napiExecutor(options, context, config) {
3126
+ const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
3127
+ fsCache: config.skipCache ? false : _chunkWFD75WAFjs.joinPaths.call(void 0,
3128
+ config.workspaceRoot,
3129
+ config.directories.cache || "node_modules/.cache/storm",
3130
+ "jiti"
3131
+ ),
3132
+ interopDefault: true
3133
+ });
3134
+ const { NapiCli } = await jiti.import(
3135
+ jiti.esmResolve("@napi-rs/cli")
3136
+ );
3137
+ if (!_optionalChain([context, 'access', _142 => _142.projectGraph, 'optionalAccess', _143 => _143.nodes, 'access', _144 => _144[_nullishCoalesce(context.projectName, () => ( ""))]])) {
3138
+ throw new Error(
3139
+ "The Napi Build process failed because the project could not be found in the project graph. Please run this command from a workspace root directory."
3140
+ );
3141
+ }
3142
+ const projectRoot = _optionalChain([context, 'access', _145 => _145.projectGraph, 'optionalAccess', _146 => _146.nodes, 'access', _147 => _147[_nullishCoalesce(context.projectName, () => ( ""))], 'access', _148 => _148.data, 'access', _149 => _149.root]);
3143
+ const packageJson = _chunkWFD75WAFjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
3144
+ if (!_fileutils.fileExists.call(void 0, packageJson)) {
3145
+ throw new Error(`Could not find package.json at ${packageJson}`);
3146
+ }
3147
+ const napi = new NapiCli();
3148
+ const buildOptions = { ...options };
3149
+ const metadata = cargoMetadata();
3150
+ buildOptions.outputDir = options.outputPath;
3151
+ buildOptions.packageJsonPath = options.packageJsonPath || packageJson;
3152
+ buildOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _150 => _150.target_directory]) || _chunkWFD75WAFjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
3153
+ if (process.env.VERCEL) {
3154
+ return { success: true };
3155
+ }
3156
+ const { task } = await napi.build(buildOptions);
3157
+ return { success: true, terminalOutput: await task };
3158
+ }
3159
+ var executor_default7 = withRunExecutor(
3160
+ "Napi - Build Bindings",
3161
+ napiExecutor,
3162
+ {
3163
+ skipReadingConfig: false,
3164
+ hooks: {
3165
+ applyDefaultOptions: (options) => {
3166
+ options.outputPath ??= "dist/{projectRoot}/target";
3167
+ options.toolchain ??= "stable";
3168
+ options.dtsCache ??= true;
3169
+ options.platform ??= true;
3170
+ options.constEnum ??= false;
3171
+ options.jsBinding ??= "binding.js";
3172
+ options.dts ??= "binding.d.ts";
3173
+ return options;
3174
+ }
3175
+ }
3176
+ }
3177
+ );
3178
+
3121
3179
  // ../workspace-tools/src/executors/npm-publish/executor.ts
3122
3180
  _chunkANVGCRXXjs.init_cjs_shims.call(void 0, );
3123
3181
 
@@ -3243,15 +3301,15 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
3243
3301
  var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
3244
3302
  var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
3245
3303
  async function sizeLimitExecutorFn(options, context, config) {
3246
- if (!_optionalChain([context, 'optionalAccess', _142 => _142.projectName]) || !_optionalChain([context, 'access', _143 => _143.projectsConfigurations, 'optionalAccess', _144 => _144.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
3304
+ if (!_optionalChain([context, 'optionalAccess', _151 => _151.projectName]) || !_optionalChain([context, 'access', _152 => _152.projectsConfigurations, 'optionalAccess', _153 => _153.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
3247
3305
  throw new Error(
3248
3306
  "The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
3249
3307
  );
3250
3308
  }
3251
3309
  writeInfo(`\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
3252
3310
  _sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
3253
- checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _145 => _145.projectsConfigurations, 'access', _146 => _146.projects, 'access', _147 => _147[context.projectName], 'optionalAccess', _148 => _148.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
3254
- _nullishCoalesce(_optionalChain([context, 'access', _149 => _149.projectsConfigurations, 'access', _150 => _150.projects, 'access', _151 => _151[context.projectName], 'optionalAccess', _152 => _152.root]), () => ( "./")),
3311
+ checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _154 => _154.projectsConfigurations, 'access', _155 => _155.projects, 'access', _156 => _156[context.projectName], 'optionalAccess', _157 => _157.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
3312
+ _nullishCoalesce(_optionalChain([context, 'access', _158 => _158.projectsConfigurations, 'access', _159 => _159.projects, 'access', _160 => _160[context.projectName], 'optionalAccess', _161 => _161.root]), () => ( "./")),
3255
3313
  "src"
3256
3314
  )))
3257
3315
  }).then((result) => {
@@ -3264,7 +3322,7 @@ async function sizeLimitExecutorFn(options, context, config) {
3264
3322
  success: true
3265
3323
  };
3266
3324
  }
3267
- var executor_default7 = withRunExecutor(
3325
+ var executor_default8 = withRunExecutor(
3268
3326
  "Size-Limit Performance Test Executor",
3269
3327
  sizeLimitExecutorFn,
3270
3328
  {
@@ -3355,7 +3413,7 @@ var resolveOptions = async (userOptions) => {
3355
3413
  const projectJson = JSON.parse(projectJsonFile);
3356
3414
  const projectName = projectJson.name;
3357
3415
  const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
3358
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _153 => _153.projects, 'optionalAccess', _154 => _154[projectName]])) {
3416
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _162 => _162.projects, 'optionalAccess', _163 => _163[projectName]])) {
3359
3417
  throw new Error(
3360
3418
  "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."
3361
3419
  );
@@ -3577,7 +3635,7 @@ async function build3(options) {
3577
3635
  // ../workspace-tools/src/executors/tsdown/executor.ts
3578
3636
  async function tsdownExecutorFn(options, context, config) {
3579
3637
  writeInfo("\u{1F4E6} Running Storm TSDown executor on the workspace", config);
3580
- if (!_optionalChain([context, 'access', _155 => _155.projectsConfigurations, 'optionalAccess', _156 => _156.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _157 => _157.projectsConfigurations, 'access', _158 => _158.projects, 'access', _159 => _159[context.projectName], 'optionalAccess', _160 => _160.root])) {
3638
+ if (!_optionalChain([context, 'access', _164 => _164.projectsConfigurations, 'optionalAccess', _165 => _165.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _166 => _166.projectsConfigurations, 'access', _167 => _167.projects, 'access', _168 => _168[context.projectName], 'optionalAccess', _169 => _169.root])) {
3581
3639
  throw new Error(
3582
3640
  "The Build process failed because the context is not valid. Please run this command from a workspace."
3583
3641
  );
@@ -3586,10 +3644,10 @@ async function tsdownExecutorFn(options, context, config) {
3586
3644
  ...options,
3587
3645
  projectRoot: (
3588
3646
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3589
- _optionalChain([context, 'access', _161 => _161.projectsConfigurations, 'access', _162 => _162.projects, 'optionalAccess', _163 => _163[context.projectName], 'access', _164 => _164.root])
3647
+ _optionalChain([context, 'access', _170 => _170.projectsConfigurations, 'access', _171 => _171.projects, 'optionalAccess', _172 => _172[context.projectName], 'access', _173 => _173.root])
3590
3648
  ),
3591
3649
  name: context.projectName,
3592
- sourceRoot: _optionalChain([context, 'access', _165 => _165.projectsConfigurations, 'access', _166 => _166.projects, 'optionalAccess', _167 => _167[context.projectName], 'optionalAccess', _168 => _168.sourceRoot]),
3650
+ sourceRoot: _optionalChain([context, 'access', _174 => _174.projectsConfigurations, 'access', _175 => _175.projects, 'optionalAccess', _176 => _176[context.projectName], 'optionalAccess', _177 => _177.sourceRoot]),
3593
3651
  format: options.format,
3594
3652
  platform: options.platform
3595
3653
  });
@@ -3597,7 +3655,7 @@ async function tsdownExecutorFn(options, context, config) {
3597
3655
  success: true
3598
3656
  };
3599
3657
  }
3600
- var executor_default8 = withRunExecutor(
3658
+ var executor_default9 = withRunExecutor(
3601
3659
  "Storm TSDown build",
3602
3660
  tsdownExecutorFn,
3603
3661
  {
@@ -3636,7 +3694,7 @@ async function typiaExecutorFn(options, _, config) {
3636
3694
  success: true
3637
3695
  };
3638
3696
  }
3639
- var executor_default9 = withRunExecutor(
3697
+ var executor_default10 = withRunExecutor(
3640
3698
  "Typia runtime validation generator",
3641
3699
  typiaExecutorFn,
3642
3700
  {
@@ -3656,10 +3714,10 @@ var executor_default9 = withRunExecutor(
3656
3714
  // ../workspace-tools/src/executors/unbuild/executor.ts
3657
3715
  _chunkANVGCRXXjs.init_cjs_shims.call(void 0, );
3658
3716
 
3659
- var _jiti = require('jiti');
3717
+
3660
3718
  async function unbuildExecutorFn(options, context, config) {
3661
3719
  writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
3662
- if (!_optionalChain([context, 'access', _169 => _169.projectsConfigurations, 'optionalAccess', _170 => _170.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
3720
+ if (!_optionalChain([context, 'access', _178 => _178.projectsConfigurations, 'optionalAccess', _179 => _179.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
3663
3721
  throw new Error(
3664
3722
  "The Build process failed because the context is not valid. Please run this command from a workspace root directory."
3665
3723
  );
@@ -3726,7 +3784,7 @@ async function unbuildExecutorFn(options, context, config) {
3726
3784
  success: true
3727
3785
  };
3728
3786
  }
3729
- var executor_default10 = withRunExecutor(
3787
+ var executor_default11 = withRunExecutor(
3730
3788
  "TypeScript Unbuild build",
3731
3789
  unbuildExecutorFn,
3732
3790
  {
@@ -3778,7 +3836,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
3778
3836
  );
3779
3837
  config = await getConfig(workspaceRoot2);
3780
3838
  }
3781
- if (_optionalChain([generatorOptions, 'optionalAccess', _171 => _171.hooks, 'optionalAccess', _172 => _172.applyDefaultOptions])) {
3839
+ if (_optionalChain([generatorOptions, 'optionalAccess', _180 => _180.hooks, 'optionalAccess', _181 => _181.applyDefaultOptions])) {
3782
3840
  writeDebug("Running the applyDefaultOptions hook...", config);
3783
3841
  options = await Promise.resolve(
3784
3842
  generatorOptions.hooks.applyDefaultOptions(options, config)
@@ -3795,7 +3853,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
3795
3853
  { workspaceRoot: tree.root, config },
3796
3854
  applyWorkspaceBaseTokens
3797
3855
  );
3798
- if (_optionalChain([generatorOptions, 'optionalAccess', _173 => _173.hooks, 'optionalAccess', _174 => _174.preProcess])) {
3856
+ if (_optionalChain([generatorOptions, 'optionalAccess', _182 => _182.hooks, 'optionalAccess', _183 => _183.preProcess])) {
3799
3857
  writeDebug("Running the preProcess hook...", config);
3800
3858
  await Promise.resolve(
3801
3859
  generatorOptions.hooks.preProcess(tokenized, config)
@@ -3806,15 +3864,15 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
3806
3864
  generatorFn(tree, tokenized, config)
3807
3865
  );
3808
3866
  if (result) {
3809
- if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _175 => _175.error, 'optionalAccess', _176 => _176.message]) && typeof _optionalChain([result, 'optionalAccess', _177 => _177.error, 'optionalAccess', _178 => _178.message]) === "string" && _optionalChain([result, 'optionalAccess', _179 => _179.error, 'optionalAccess', _180 => _180.name]) && typeof _optionalChain([result, 'optionalAccess', _181 => _181.error, 'optionalAccess', _182 => _182.name]) === "string") {
3867
+ if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _184 => _184.error, 'optionalAccess', _185 => _185.message]) && typeof _optionalChain([result, 'optionalAccess', _186 => _186.error, 'optionalAccess', _187 => _187.message]) === "string" && _optionalChain([result, 'optionalAccess', _188 => _188.error, 'optionalAccess', _189 => _189.name]) && typeof _optionalChain([result, 'optionalAccess', _190 => _190.error, 'optionalAccess', _191 => _191.name]) === "string") {
3810
3868
  throw new Error(`The ${name} generator failed to run`, {
3811
- cause: _optionalChain([result, 'optionalAccess', _183 => _183.error])
3869
+ cause: _optionalChain([result, 'optionalAccess', _192 => _192.error])
3812
3870
  });
3813
3871
  } else if (result.success && result.data) {
3814
3872
  return result;
3815
3873
  }
3816
3874
  }
3817
- if (_optionalChain([generatorOptions, 'optionalAccess', _184 => _184.hooks, 'optionalAccess', _185 => _185.postProcess])) {
3875
+ if (_optionalChain([generatorOptions, 'optionalAccess', _193 => _193.hooks, 'optionalAccess', _194 => _194.postProcess])) {
3818
3876
  writeDebug("Running the postProcess hook...", config);
3819
3877
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
3820
3878
  writeDebug("Completed the postProcess hook", config);
@@ -3948,15 +4006,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3948
4006
  _devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
3949
4007
  let repository = {
3950
4008
  type: "github",
3951
- url: _optionalChain([config, 'optionalAccess', _186 => _186.repository]) || `https://github.com/${(typeof _optionalChain([config, 'optionalAccess', _187 => _187.organization]) === "string" ? _optionalChain([config, 'optionalAccess', _188 => _188.organization]) : _optionalChain([config, 'optionalAccess', _189 => _189.organization, 'optionalAccess', _190 => _190.name])) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _191 => _191.namespace]) || _optionalChain([config, 'optionalAccess', _192 => _192.name]) || "repository"}.git`
4009
+ url: _optionalChain([config, 'optionalAccess', _195 => _195.repository]) || `https://github.com/${(typeof _optionalChain([config, 'optionalAccess', _196 => _196.organization]) === "string" ? _optionalChain([config, 'optionalAccess', _197 => _197.organization]) : _optionalChain([config, 'optionalAccess', _198 => _198.organization, 'optionalAccess', _199 => _199.name])) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _200 => _200.namespace]) || _optionalChain([config, 'optionalAccess', _201 => _201.name]) || "repository"}.git`
3952
4010
  };
3953
4011
  let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
3954
4012
  if (tree.exists("package.json")) {
3955
4013
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
3956
- if (_optionalChain([packageJson, 'optionalAccess', _193 => _193.repository])) {
4014
+ if (_optionalChain([packageJson, 'optionalAccess', _202 => _202.repository])) {
3957
4015
  repository = packageJson.repository;
3958
4016
  }
3959
- if (_optionalChain([packageJson, 'optionalAccess', _194 => _194.description])) {
4017
+ if (_optionalChain([packageJson, 'optionalAccess', _203 => _203.description])) {
3960
4018
  description = packageJson.description;
3961
4019
  }
3962
4020
  }
@@ -4011,9 +4069,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
4011
4069
  _devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
4012
4070
  ...json,
4013
4071
  pnpm: {
4014
- ..._optionalChain([json, 'optionalAccess', _195 => _195.pnpm]),
4072
+ ..._optionalChain([json, 'optionalAccess', _204 => _204.pnpm]),
4015
4073
  overrides: {
4016
- ..._optionalChain([json, 'optionalAccess', _196 => _196.pnpm, 'optionalAccess', _197 => _197.overrides]),
4074
+ ..._optionalChain([json, 'optionalAccess', _205 => _205.pnpm, 'optionalAccess', _206 => _206.overrides]),
4017
4075
  [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
4018
4076
  }
4019
4077
  }
@@ -4031,10 +4089,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
4031
4089
  ]);
4032
4090
  if (tree.exists("package.json")) {
4033
4091
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
4034
- if (_optionalChain([packageJson, 'optionalAccess', _198 => _198.repository])) {
4092
+ if (_optionalChain([packageJson, 'optionalAccess', _207 => _207.repository])) {
4035
4093
  repository = packageJson.repository;
4036
4094
  }
4037
- if (_optionalChain([packageJson, 'optionalAccess', _199 => _199.description])) {
4095
+ if (_optionalChain([packageJson, 'optionalAccess', _208 => _208.description])) {
4038
4096
  description = packageJson.description;
4039
4097
  }
4040
4098
  }
@@ -4071,22 +4129,22 @@ function getOutputPath(options) {
4071
4129
  function createProjectTsConfigJson(tree, options) {
4072
4130
  const tsconfig = {
4073
4131
  extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
4074
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _200 => _200.tsconfigOptions]), () => ( {})),
4132
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _209 => _209.tsconfigOptions]), () => ( {})),
4075
4133
  compilerOptions: {
4076
4134
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
4077
4135
  outDir: _chunkWFD75WAFjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
4078
4136
  noEmit: true,
4079
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _201 => _201.tsconfigOptions, 'optionalAccess', _202 => _202.compilerOptions]), () => ( {}))
4137
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _210 => _210.tsconfigOptions, 'optionalAccess', _211 => _211.compilerOptions]), () => ( {}))
4080
4138
  },
4081
- files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _203 => _203.tsconfigOptions, 'optionalAccess', _204 => _204.files]), () => ( []))],
4139
+ files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _212 => _212.tsconfigOptions, 'optionalAccess', _213 => _213.files]), () => ( []))],
4082
4140
  include: [
4083
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _205 => _205.tsconfigOptions, 'optionalAccess', _206 => _206.include]), () => ( [])),
4141
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _214 => _214.tsconfigOptions, 'optionalAccess', _215 => _215.include]), () => ( [])),
4084
4142
  "src/**/*.ts",
4085
4143
  "src/**/*.js",
4086
4144
  "bin/**/*"
4087
4145
  ],
4088
4146
  exclude: [
4089
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _207 => _207.tsconfigOptions, 'optionalAccess', _208 => _208.exclude]), () => ( [])),
4147
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _216 => _216.tsconfigOptions, 'optionalAccess', _217 => _217.exclude]), () => ( [])),
4090
4148
  "jest.config.ts",
4091
4149
  "src/**/*.spec.ts",
4092
4150
  "src/**/*.test.ts"
@@ -4096,8 +4154,8 @@ function createProjectTsConfigJson(tree, options) {
4096
4154
  }
4097
4155
  async function normalizeOptions(tree, options, config) {
4098
4156
  let importPath = options.importPath;
4099
- if (!importPath && _optionalChain([config, 'optionalAccess', _209 => _209.namespace])) {
4100
- importPath = `@${_optionalChain([config, 'optionalAccess', _210 => _210.namespace])}/${options.name}`;
4157
+ if (!importPath && _optionalChain([config, 'optionalAccess', _218 => _218.namespace])) {
4158
+ importPath = `@${_optionalChain([config, 'optionalAccess', _219 => _219.namespace])}/${options.name}`;
4101
4159
  }
4102
4160
  if (options.publishable) {
4103
4161
  if (!importPath) {
@@ -4263,7 +4321,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
4263
4321
  );
4264
4322
  }
4265
4323
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
4266
- _nullishCoalesce(_optionalChain([config, 'optionalAccess', _211 => _211.workspaceRoot]), () => ( findWorkspaceRoot())),
4324
+ _nullishCoalesce(_optionalChain([config, 'optionalAccess', _220 => _220.workspaceRoot]), () => ( findWorkspaceRoot())),
4267
4325
  options.outputFile.startsWith("./") ? "" : "./"
4268
4326
  );
4269
4327
  writeTrace(
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-2J4V6NGV.js');
2
2
 
3
3
 
4
- var _chunkUXVQWB4Xjs = require('./chunk-UXVQWB4X.js');
4
+ var _chunkP7DQ7AYGjs = require('./chunk-P7DQ7AYG.js');
5
5
  require('./chunk-WFD75WAF.js');
6
6
  require('./chunk-ANVGCRXX.js');
7
7
 
8
8
 
9
- exports.initGeneratorFn = _chunkUXVQWB4Xjs.initGeneratorFn;
9
+ exports.initGeneratorFn = _chunkP7DQ7AYGjs.initGeneratorFn;
@@ -1,7 +1,7 @@
1
1
  import "./chunk-KY3TNWTP.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-V7KK2D6Z.mjs";
4
+ } from "./chunk-INHBPPR3.mjs";
5
5
  import "./chunk-JKJGW5KU.mjs";
6
6
  import "./chunk-ETGYWVYC.mjs";
7
7
  export {
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  var _chunkTLCUVFDEjs = require('./chunk-TLCUVFDE.js');
5
5
 
6
6
 
7
- var _chunkUXVQWB4Xjs = require('./chunk-UXVQWB4X.js');
7
+ var _chunkP7DQ7AYGjs = require('./chunk-P7DQ7AYG.js');
8
8
  require('./chunk-WFD75WAF.js');
9
9
 
10
10
 
@@ -16,10 +16,10 @@ var _chunkANVGCRXXjs = require('./chunk-ANVGCRXX.js');
16
16
  // index.ts
17
17
  var index_exports = {};
18
18
  _chunkANVGCRXXjs.__export.call(void 0, index_exports, {
19
- initGeneratorFn: () => _chunkUXVQWB4Xjs.initGeneratorFn
19
+ initGeneratorFn: () => _chunkP7DQ7AYGjs.initGeneratorFn
20
20
  });
21
21
  _chunkANVGCRXXjs.init_cjs_shims.call(void 0, );
22
22
  _chunkANVGCRXXjs.__reExport.call(void 0, index_exports, _chunkANVGCRXXjs.__toESM.call(void 0, _chunkTLCUVFDEjs.require_components.call(void 0, )));
23
23
 
24
24
 
25
- exports.initGeneratorFn = _chunkUXVQWB4Xjs.initGeneratorFn;
25
+ exports.initGeneratorFn = _chunkP7DQ7AYGjs.initGeneratorFn;
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-EZ2VCTAW.mjs";
5
5
  import {
6
6
  initGeneratorFn
7
- } from "./chunk-V7KK2D6Z.mjs";
7
+ } from "./chunk-INHBPPR3.mjs";
8
8
  import "./chunk-JKJGW5KU.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 _chunkUXVQWB4Xjs = require('../../../chunk-UXVQWB4X.js');
4
+ var _chunkP7DQ7AYGjs = require('../../../chunk-P7DQ7AYG.js');
5
5
  require('../../../chunk-WFD75WAF.js');
6
6
  require('../../../chunk-ANVGCRXX.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunkUXVQWB4Xjs.generator_default; exports.initGeneratorFn = _chunkUXVQWB4Xjs.initGeneratorFn;
10
+ exports.default = _chunkP7DQ7AYGjs.generator_default; exports.initGeneratorFn = _chunkP7DQ7AYGjs.initGeneratorFn;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generator_default,
3
3
  initGeneratorFn
4
- } from "../../../chunk-V7KK2D6Z.mjs";
4
+ } from "../../../chunk-INHBPPR3.mjs";
5
5
  import "../../../chunk-JKJGW5KU.mjs";
6
6
  import "../../../chunk-ETGYWVYC.mjs";
7
7
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/projen",
3
- "version": "0.21.28",
3
+ "version": "0.21.30",
4
4
  "type": "commonjs",
5
5
  "description": "Tools for managing Projen configuration automation within a Nx workspace.",
6
6
  "repository": {
@@ -115,9 +115,9 @@
115
115
  ],
116
116
  "peerDependencies": {
117
117
  "@nx/devkit": "^22.0.3",
118
- "@storm-software/config": "1.134.27",
119
- "@storm-software/config-tools": "1.188.27",
120
- "@storm-software/workspace-tools": "1.292.27",
118
+ "@storm-software/config": "1.134.29",
119
+ "@storm-software/config-tools": "1.188.29",
120
+ "@storm-software/workspace-tools": "1.292.29",
121
121
  "projen": "^0.91.6",
122
122
  "tsup": "8.4.0",
123
123
  "untyped": "1.5.2"
@@ -142,5 +142,5 @@
142
142
  "publishConfig": { "access": "public" },
143
143
  "executors": "./executors.json",
144
144
  "generators": "./generators.json",
145
- "gitHead": "fb8e2634c4a094f22dce9c0bb87a38be0e569cc0"
145
+ "gitHead": "9cb94503bd31113afe1893deb47dba3808c80e13"
146
146
  }