@storm-software/projen 0.21.284 → 0.21.288

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.
@@ -2652,59 +2652,10 @@ var executor_default7 = withRunExecutor(
2652
2652
  // ../workspace-tools/src/executors/npm-publish/executor.ts
2653
2653
  _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
2654
2654
 
2655
- // ../pnpm-tools/src/index.ts
2656
- _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
2657
-
2658
- // ../pnpm-tools/src/helpers/index.ts
2659
- _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
2660
-
2661
- // ../pnpm-tools/src/helpers/catalog.ts
2662
- _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
2663
-
2664
- // ../npm-tools/src/constants.ts
2665
- _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
2666
-
2667
- // ../npm-tools/src/helpers/get-version.ts
2668
- _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
2669
-
2670
- var _semver = require('semver');
2671
- var _stripansi = require('strip-ansi'); var _stripansi2 = _interopRequireDefault(_stripansi);
2672
-
2673
- // ../npm-tools/src/helpers/get-registry.ts
2674
- _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
2675
-
2676
-
2677
- // ../pnpm-tools/src/helpers/catalog.ts
2678
-
2679
-
2680
- // ../pnpm-tools/src/helpers/format.ts
2681
- _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
2682
-
2683
- // ../pnpm-tools/src/helpers/pnpm-workspace.ts
2684
- _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
2685
-
2686
-
2687
- var _yaml = require('yaml');
2688
-
2689
- // ../pnpm-tools/src/helpers/replace-deps-aliases.ts
2690
- _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
2691
-
2692
-
2693
-
2694
-
2695
2655
 
2696
2656
 
2697
2657
  var _prettier = require('prettier');
2698
2658
 
2699
- // ../pnpm-tools/src/types.ts
2700
- _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
2701
-
2702
- // ../workspace-tools/src/executors/npm-publish/executor.ts
2703
-
2704
-
2705
-
2706
-
2707
-
2708
2659
  // ../workspace-tools/src/utils/github.ts
2709
2660
  _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
2710
2661
 
@@ -2800,6 +2751,13 @@ var addProjectTag = (project, variant, value, options = {
2800
2751
  }
2801
2752
  };
2802
2753
 
2754
+ // ../workspace-tools/src/utils/package-manager.ts
2755
+ _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
2756
+
2757
+
2758
+
2759
+
2760
+
2803
2761
  // ../workspace-tools/src/executors/npm-publish/executor.ts
2804
2762
  var LARGE_BUFFER2 = 1024 * 1e6;
2805
2763
 
@@ -3209,15 +3167,15 @@ function getDefaultOptions(config) {
3209
3167
  ...config
3210
3168
  };
3211
3169
  }
3212
- function toTSDownFormat(format4) {
3213
- if (!format4 || Array.isArray(format4) && format4.length === 0) {
3170
+ function toTSDownFormat(format3) {
3171
+ if (!format3 || Array.isArray(format3) && format3.length === 0) {
3214
3172
  return ["cjs", "es"];
3215
- } else if (format4 === "esm") {
3173
+ } else if (format3 === "esm") {
3216
3174
  return "es";
3217
- } else if (Array.isArray(format4)) {
3218
- return format4.map((f) => f === "esm" ? "es" : f);
3175
+ } else if (Array.isArray(format3)) {
3176
+ return format3.map((f) => f === "esm" ? "es" : f);
3219
3177
  }
3220
- return format4;
3178
+ return format3;
3221
3179
  }
3222
3180
 
3223
3181
  // ../tsdown/src/build.ts
@@ -3760,7 +3718,16 @@ _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
3760
3718
  var typesNodeVersion = "20.9.0";
3761
3719
  var nxVersion = "^18.0.4";
3762
3720
  var nodeVersion = "20.11.0";
3763
- var pnpmVersion = "8.10.2";
3721
+ var pnpmVersion = "10.3.0";
3722
+ var npmVersion = "10.9.0";
3723
+ var yarnVersion = "4.6.0";
3724
+ var bunVersion = "1.2.0";
3725
+ var packageManagerVersions = {
3726
+ npm: npmVersion,
3727
+ yarn: yarnVersion,
3728
+ pnpm: pnpmVersion,
3729
+ bun: bunVersion
3730
+ };
3764
3731
 
3765
3732
  // ../workspace-tools/src/base/typescript-library-generator.ts
3766
3733
  async function typeScriptLibraryGeneratorFn(tree, options, config) {
@@ -3891,16 +3858,45 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3891
3858
  });
3892
3859
  }
3893
3860
  if (tree.exists("package.json") && normalized.importPath) {
3894
- _devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
3895
- ...json,
3896
- pnpm: {
3897
- ..._optionalChain([json, 'optionalAccess', _212 => _212.pnpm]),
3898
- overrides: {
3899
- ..._optionalChain([json, 'optionalAccess', _213 => _213.pnpm, 'optionalAccess', _214 => _214.overrides]),
3900
- [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
3901
- }
3861
+ _devkit.updateJson.call(void 0, tree, "package.json", (json) => {
3862
+ if (_optionalChain([config, 'optionalAccess', _212 => _212.packageManager]) === "yarn") {
3863
+ return {
3864
+ ...json,
3865
+ resolutions: {
3866
+ ..._optionalChain([json, 'optionalAccess', _213 => _213.resolutions]),
3867
+ [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
3868
+ }
3869
+ };
3870
+ }
3871
+ if (_optionalChain([config, 'optionalAccess', _214 => _214.packageManager]) === "npm") {
3872
+ return {
3873
+ ...json,
3874
+ overrides: {
3875
+ ..._optionalChain([json, 'optionalAccess', _215 => _215.overrides]),
3876
+ [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
3877
+ }
3878
+ };
3879
+ }
3880
+ if (_optionalChain([config, 'optionalAccess', _216 => _216.packageManager]) === "bun") {
3881
+ return {
3882
+ ...json,
3883
+ overrides: {
3884
+ ..._optionalChain([json, 'optionalAccess', _217 => _217.overrides]),
3885
+ [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
3886
+ }
3887
+ };
3902
3888
  }
3903
- }));
3889
+ return {
3890
+ ...json,
3891
+ pnpm: {
3892
+ ..._optionalChain([json, 'optionalAccess', _218 => _218.pnpm]),
3893
+ overrides: {
3894
+ ..._optionalChain([json, 'optionalAccess', _219 => _219.pnpm, 'optionalAccess', _220 => _220.overrides]),
3895
+ [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
3896
+ }
3897
+ }
3898
+ };
3899
+ });
3904
3900
  }
3905
3901
  _js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
3906
3902
  _chunkLPFAFSFEjs.joinPaths.call(void 0,
@@ -3914,10 +3910,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3914
3910
  ]);
3915
3911
  if (tree.exists("package.json")) {
3916
3912
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
3917
- if (_optionalChain([packageJson, 'optionalAccess', _215 => _215.repository])) {
3913
+ if (_optionalChain([packageJson, 'optionalAccess', _221 => _221.repository])) {
3918
3914
  repository = packageJson.repository;
3919
3915
  }
3920
- if (_optionalChain([packageJson, 'optionalAccess', _216 => _216.description])) {
3916
+ if (_optionalChain([packageJson, 'optionalAccess', _222 => _222.description])) {
3921
3917
  description = packageJson.description;
3922
3918
  }
3923
3919
  }
@@ -3954,22 +3950,22 @@ function getOutputPath(options) {
3954
3950
  function createProjectTsConfigJson(tree, options) {
3955
3951
  const tsconfig = {
3956
3952
  extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
3957
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _217 => _217.tsconfigOptions]), () => ( {})),
3953
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _223 => _223.tsconfigOptions]), () => ( {})),
3958
3954
  compilerOptions: {
3959
3955
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
3960
3956
  outDir: _chunkLPFAFSFEjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
3961
3957
  noEmit: true,
3962
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _218 => _218.tsconfigOptions, 'optionalAccess', _219 => _219.compilerOptions]), () => ( {}))
3958
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _224 => _224.tsconfigOptions, 'optionalAccess', _225 => _225.compilerOptions]), () => ( {}))
3963
3959
  },
3964
- files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _220 => _220.tsconfigOptions, 'optionalAccess', _221 => _221.files]), () => ( []))],
3960
+ files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _226 => _226.tsconfigOptions, 'optionalAccess', _227 => _227.files]), () => ( []))],
3965
3961
  include: [
3966
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _222 => _222.tsconfigOptions, 'optionalAccess', _223 => _223.include]), () => ( [])),
3962
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _228 => _228.tsconfigOptions, 'optionalAccess', _229 => _229.include]), () => ( [])),
3967
3963
  "src/**/*.ts",
3968
3964
  "src/**/*.js",
3969
3965
  "bin/**/*"
3970
3966
  ],
3971
3967
  exclude: [
3972
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _224 => _224.tsconfigOptions, 'optionalAccess', _225 => _225.exclude]), () => ( [])),
3968
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _230 => _230.tsconfigOptions, 'optionalAccess', _231 => _231.exclude]), () => ( [])),
3973
3969
  "jest.config.ts",
3974
3970
  "src/**/*.spec.ts",
3975
3971
  "src/**/*.test.ts"
@@ -3979,8 +3975,8 @@ function createProjectTsConfigJson(tree, options) {
3979
3975
  }
3980
3976
  async function normalizeOptions(tree, options, config) {
3981
3977
  let importPath = options.importPath;
3982
- if (!importPath && _optionalChain([config, 'optionalAccess', _226 => _226.namespace])) {
3983
- importPath = `@${_optionalChain([config, 'optionalAccess', _227 => _227.namespace])}/${options.name}`;
3978
+ if (!importPath && _optionalChain([config, 'optionalAccess', _232 => _232.namespace])) {
3979
+ importPath = `@${_optionalChain([config, 'optionalAccess', _233 => _233.namespace])}/${options.name}`;
3984
3980
  }
3985
3981
  if (options.publishable) {
3986
3982
  if (!importPath) {
@@ -4146,7 +4142,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
4146
4142
  );
4147
4143
  }
4148
4144
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
4149
- _nullishCoalesce(_optionalChain([config, 'optionalAccess', _228 => _228.workspaceRoot]), () => ( findWorkspaceRoot())),
4145
+ _nullishCoalesce(_optionalChain([config, 'optionalAccess', _234 => _234.workspaceRoot]), () => ( findWorkspaceRoot())),
4150
4146
  options.outputFile.startsWith("./") ? "" : "./"
4151
4147
  );
4152
4148
  writeTrace(
@@ -4337,8 +4333,54 @@ _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
4337
4333
 
4338
4334
 
4339
4335
 
4336
+
4337
+
4338
+ // ../workspace-tools/src/utils/lock-file.ts
4339
+ _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
4340
+
4341
+
4342
+
4343
+
4344
+
4345
+
4346
+
4347
+
4348
+
4349
+
4350
+ var _npmparser = require('nx/src/plugins/js/lock-file/npm-parser');
4351
+
4352
+
4353
+
4354
+ var _pnpmparser = require('nx/src/plugins/js/lock-file/pnpm-parser');
4355
+
4356
+
4357
+
4358
+ var _yarnparser = require('nx/src/plugins/js/lock-file/yarn-parser');
4359
+ var YARN_LOCK_FILE = "yarn.lock";
4360
+ var NPM_LOCK_FILE = "package-lock.json";
4361
+ var PNPM_LOCK_FILE = "pnpm-lock.yaml";
4362
+ var BUN_LOCK_FILE = "bun.lock";
4363
+ var YARN_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, YARN_LOCK_FILE);
4364
+ var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE);
4365
+ var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
4366
+ var BUN_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, BUN_LOCK_FILE);
4367
+ var LOCK_FILE_BY_PACKAGE_MANAGER = {
4368
+ npm: "package-lock.json",
4369
+ yarn: "yarn.lock",
4370
+ pnpm: "pnpm-lock.yaml",
4371
+ bun: "bun.lock"
4372
+ };
4373
+ function getLockFileName(packageManager) {
4374
+ return LOCK_FILE_BY_PACKAGE_MANAGER[packageManager];
4375
+ }
4376
+
4377
+ // ../workspace-tools/src/generators/preset/generator.ts
4340
4378
  async function presetGeneratorFn(tree, options) {
4341
4379
  const projectRoot = ".";
4380
+ const packageManager = _nullishCoalesce(options.packageManager, () => ( "pnpm"));
4381
+ const packageManagerVersion = packageManagerVersions[packageManager];
4382
+ const pmc = _devkit.getPackageManagerCommand.call(void 0, packageManager);
4383
+ const lockFileName = getLockFileName(packageManager);
4342
4384
  options.description ??= `\u26A1The ${options.namespace ? options.namespace : options.name} monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.`;
4343
4385
  options.namespace ??= options.organization;
4344
4386
  _devkit.addProjectConfiguration.call(void 0, tree, `@${options.namespace}/${options.name}`, {
@@ -4406,11 +4448,6 @@ async function presetGeneratorFn(tree, options) {
4406
4448
  type: "github",
4407
4449
  url: `${options.repositoryUrl}.git`
4408
4450
  };
4409
- json.packageManager ??= "pnpm@10.3.0";
4410
- json.engines ??= {
4411
- node: ">=20.11.0",
4412
- pnpm: ">=10.3.0"
4413
- };
4414
4451
  json.prettier = "@storm-software/prettier/config.json";
4415
4452
  json.nx ??= {
4416
4453
  includedScripts: [
@@ -4427,14 +4464,14 @@ async function presetGeneratorFn(tree, options) {
4427
4464
  "release"
4428
4465
  ]
4429
4466
  };
4430
- json.scripts.adr = "pnpm log4brains adr new";
4431
- json.scripts["adr-preview"] = "pnpm log4brains preview";
4432
- json.scripts.prepare = "pnpm add lefthook -w && pnpm lefthook install";
4433
- json.scripts.preinstall = "npx -y only-allow pnpm";
4434
- json.scripts["install-csb"] = "corepack enable && pnpm install --no-frozen-lockfile";
4467
+ json.scripts.adr = pmc.run("log4brains", "adr new");
4468
+ json.scripts["adr-preview"] = pmc.run("log4brains", "preview");
4469
+ json.scripts.prepare = `${pmc.addDev} lefthook && ${packageManager} lefthook install`;
4470
+ json.scripts.preinstall = `npx -y only-allow ${packageManager}`;
4471
+ json.scripts["install-csb"] = packageManager === "bun" ? "bun install" : `corepack enable && ${pmc.install}`;
4435
4472
  json.scripts.clean = "rimraf dist && rimraf --glob packages/**/dist && rimraf --glob tools/**/dist && rimraf --glob docs/**/dist && rimraf --glob apps/**/dist && rimraf --glob libs/**/dist";
4436
- json.scripts.nuke = "nx clear-cache && rimraf .nx/cache && rimraf .nx/workspace-data && pnpm clean && rimraf pnpm-lock.yaml && rimraf --glob packages/**/node_modules && rimraf --glob tools/**/node_modules && rimraf node_modules";
4437
- json.scripts.prebuild = "pnpm clean";
4473
+ json.scripts.nuke = `nx clear-cache && rimraf .nx/cache && rimraf .nx/workspace-data && ${packageManager} clean && rimraf ${lockFileName} && rimraf --glob packages/**/node_modules && rimraf --glob tools/**/node_modules && rimraf node_modules`;
4474
+ json.scripts.prebuild = `${packageManager} clean`;
4438
4475
  json.scripts.build = "nx affected -t build --parallel=5";
4439
4476
  json.scripts["build-all"] = "nx run-many -t build --all --parallel=5";
4440
4477
  json.scripts["build-prod"] = "nx run-many -t build --all --prod --parallel=5";
@@ -4449,45 +4486,53 @@ async function presetGeneratorFn(tree, options) {
4449
4486
  }
4450
4487
  json.scripts.nx = "nx";
4451
4488
  json.scripts.graph = "nx graph";
4452
- json.scripts.lint = "pnpm storm-lint all --skip-cspell --skip-alex";
4453
4489
  if (options.includeApps) {
4454
4490
  json.scripts.start = "nx serve";
4455
- json.scripts.storybook = "pnpm storybook dev -p 6006";
4491
+ json.scripts.storybook = pmc.run("storybook", "dev -p 6006");
4456
4492
  }
4457
4493
  json.scripts.help = "nx help";
4458
4494
  json.scripts["dep-graph"] = "nx dep-graph";
4459
4495
  json.scripts["local-registry"] = `nx local-registry @${options.namespace}/${options.name}`;
4460
4496
  json.scripts.e2e = "nx e2e";
4461
4497
  if (options.includeApps) {
4462
- json.scripts.test = "nx test && pnpm test-storybook";
4463
- json.scripts["test-storybook"] = "pnpm test-storybook";
4498
+ json.scripts.test = `nx test && ${packageManager} test-storybook`;
4499
+ json.scripts["test-storybook"] = `${packageManager} test-storybook`;
4464
4500
  } else {
4465
4501
  json.scripts.test = "nx test";
4466
4502
  }
4467
- json.scripts.lint = "pnpm storm-lint all --skip-cspell --skip-alex";
4468
- json.scripts.commit = "pnpm storm-git commit";
4469
- json.scripts["api-extractor"] = 'pnpm storm-docs api-extractor --outputPath="docs/api-reference" --clean';
4470
- json.scripts.release = "pnpm storm-git release";
4503
+ json.scripts.commit = pmc.run("storm-git", "commit");
4504
+ json.scripts["api-extractor"] = pmc.run(
4505
+ "storm-docs",
4506
+ 'api-extractor --outputPath="docs/api-reference" --clean'
4507
+ );
4508
+ json.scripts.release = pmc.run("storm-git", "release");
4471
4509
  json.scripts.format = "nx format:write";
4472
- json.scripts["format-sherif"] = "pnpm exec sherif -f -i typescript -i react -i react-dom";
4473
- json.scripts["format-toml"] = 'pnpm exec taplo format --config="./node_modules/@storm-software/linting-tools/taplo/config.toml" --cache-path="./node_modules/.cache/storm/taplo"';
4474
- json.scripts["format-readme"] = 'pnpm storm-git readme --templates="tools/readme-templates"';
4475
- json.scripts["format-prettier"] = "pnpm exec prettier --write --ignore-unknown --no-error-on-unmatched-pattern --cache && git update-index";
4476
- json.scripts.lint = "pnpm storm-lint all --skip-cspell";
4477
- json.scripts["lint-knip"] = "pnpm exec knip";
4478
- json.scripts["lint-sherif"] = "pnpm exec sherif -i typescript -i react -i react-dom";
4479
- json.scripts["lint-ls"] = 'pnpm exec ls-lint --config="./node_modules/@storm-software/linting-tools/ls-lint/ls-lint.yml"';
4480
- json.packageManager ??= `pnpm@${pnpmVersion}`;
4510
+ json.scripts["format-sherif"] = `${pmc.exec} sherif -f -i typescript -i react -i react-dom`;
4511
+ json.scripts["format-toml"] = `${pmc.exec} taplo format --config="./node_modules/@storm-software/linting-tools/taplo/config.toml" --cache-path="./node_modules/.cache/storm/taplo"`;
4512
+ json.scripts["format-readme"] = pmc.run(
4513
+ "storm-git",
4514
+ 'readme --templates="tools/readme-templates"'
4515
+ );
4516
+ json.scripts["format-prettier"] = `${pmc.exec} prettier --write --ignore-unknown --no-error-on-unmatched-pattern --cache && git update-index`;
4517
+ json.scripts.lint = pmc.run("storm-lint", "all --skip-cspell");
4518
+ json.scripts["lint-knip"] = `${pmc.exec} knip`;
4519
+ json.scripts["lint-sherif"] = `${pmc.exec} sherif -i typescript -i react -i react-dom`;
4520
+ json.scripts["lint-ls"] = `${pmc.exec} ls-lint --config="./node_modules/@storm-software/linting-tools/ls-lint/ls-lint.yml"`;
4521
+ json.packageManager ??= `${packageManager}@${packageManagerVersion}`;
4481
4522
  json.engines = {
4482
4523
  node: `>=${nodeVersion}`,
4483
- pnpm: `>=${pnpmVersion}`
4524
+ [packageManager]: `>=${packageManagerVersion}`
4484
4525
  };
4485
4526
  return json;
4486
4527
  });
4487
4528
  _devkit.generateFiles.call(void 0, tree, path2.join(__dirname, "files"), projectRoot, {
4488
4529
  ...options,
4530
+ packageManager,
4531
+ packageManagerVersion,
4489
4532
  pnpmVersion,
4490
- nodeVersion
4533
+ nodeVersion,
4534
+ lockFileName,
4535
+ exec: pmc.exec
4491
4536
  });
4492
4537
  await _devkit.formatFiles.call(void 0, tree);
4493
4538
  let dependencies = {
@@ -4974,34 +5019,6 @@ _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
4974
5019
  _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
4975
5020
  var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
4976
5021
 
4977
- // ../workspace-tools/src/utils/lock-file.ts
4978
- _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
4979
-
4980
-
4981
-
4982
-
4983
-
4984
-
4985
-
4986
-
4987
-
4988
-
4989
- var _npmparser = require('nx/src/plugins/js/lock-file/npm-parser');
4990
-
4991
-
4992
-
4993
- var _pnpmparser = require('nx/src/plugins/js/lock-file/pnpm-parser');
4994
-
4995
-
4996
-
4997
- var _yarnparser = require('nx/src/plugins/js/lock-file/yarn-parser');
4998
- var YARN_LOCK_FILE = "yarn.lock";
4999
- var NPM_LOCK_FILE = "package-lock.json";
5000
- var PNPM_LOCK_FILE = "pnpm-lock.yaml";
5001
- var YARN_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, YARN_LOCK_FILE);
5002
- var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE);
5003
- var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
5004
-
5005
5022
  // ../workspace-tools/src/utils/nx-json.ts
5006
5023
  _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
5007
5024
 
@@ -5013,15 +5030,12 @@ var recommended_default = {
5013
5030
  allProjectFiles: ["sharedGlobals", "{projectRoot}/**/*"],
5014
5031
  default: ["sharedGlobals", "{projectRoot}/**/*"],
5015
5032
  sharedGlobals: [
5016
- "{workspaceRoot}/.github/workflows/*.yml",
5017
- "{workspaceRoot}/assets/**/*",
5018
5033
  "{workspaceRoot}/tsconfig.json",
5019
- "{workspaceRoot}/tsconfig.base.json",
5034
+ "{workspaceRoot}/tsconfig.*.json",
5020
5035
  "{workspaceRoot}/.npm@(rc|ignore)",
5021
5036
  "{workspaceRoot}/package.json",
5022
5037
  "{workspaceRoot}/{pnpm-workspace,pnpm-lock,package-lock,yarn-lock}.@(yaml|yml)",
5023
- "{workspaceRoot}/bun.lockb",
5024
- "{workspaceRoot}/LICENSE",
5038
+ "{workspaceRoot}/bun.lock{,b}",
5025
5039
  "{workspaceRoot}/.git@(attributes|ignore)",
5026
5040
  "{workspaceRoot}/{nx.json,.nxignore}",
5027
5041
  "{workspaceRoot}/storm-workspace{,.*}.@(json|yaml|toml)",
@@ -5029,7 +5043,6 @@ var recommended_default = {
5029
5043
  "{workspaceRoot}/storm-workspace.config.[jt]s",
5030
5044
  "{workspaceRoot}/.storm-workspace/config{,.*}.[jt]s",
5031
5045
  "{workspaceRoot}/devenv.@(lock|nix|yaml)",
5032
- "{workspaceRoot}/{flake,shell,devShell}.nix",
5033
5046
  "{workspaceRoot}/.envrc",
5034
5047
  "{workspaceRoot}/.env{,.local,.*}"
5035
5048
  ],
@@ -5136,14 +5149,12 @@ var recommended_default = {
5136
5149
  "{workspaceRoot}/Cargo.lock",
5137
5150
  "{workspaceRoot}/.cargo/config.toml",
5138
5151
  "{workspaceRoot}/rust-toolchain",
5139
- "{workspaceRoot}/rustfmt.toml",
5140
- "{workspaceRoot}/deny.toml",
5141
5152
  "{projectRoot}/Cargo.toml",
5142
5153
  "{projectRoot}/.cargo/config.toml",
5143
5154
  {
5144
5155
  runtime: "node -p '`${process.platform}_${process.arch}`'"
5145
5156
  },
5146
- "{projectRoot}/{project.json,CHANGELOG.md}",
5157
+ "{projectRoot}/project.json",
5147
5158
  "{projectRoot}/.env{,.local}",
5148
5159
  "{projectRoot}/**/*.rs",
5149
5160
  "{projectRoot}/**/*.@(proto|acid|acidic|prisma)",
@@ -5162,14 +5173,22 @@ var recommended_default = {
5162
5173
  "{projectRoot}/package.json",
5163
5174
  "{projectRoot}/tsconfig.json",
5164
5175
  "{projectRoot}/tsconfig.*.json",
5165
- "{projectRoot}/{project.json,README.md,CHANGELOG.md}",
5176
+ "{projectRoot}/project.json",
5166
5177
  "{projectRoot}/.env{,.*}",
5167
- "{projectRoot}/docs/**/*",
5168
- "{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
5178
+ "!{projectRoot}/docs/**/*",
5179
+ "!{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
5169
5180
  "{projectRoot}/**/*.@(proto|acid|acidic|prisma)",
5170
5181
  "{projectRoot}/src/**/*.@(cts|mts|ts|tsx|graphql|gql|js|cjs|mjs|jsx|json|jsonc|yaml|yml|toml|md|mdx)",
5171
5182
  "{projectRoot}/{build,tsup,tsdown,vite,contentlayer,powerlines,shell-shock,earthquake}.*.[jt]s?(x)",
5172
5183
  "{projectRoot}/{bin,tools,helpers,scripts}/**/*"
5184
+ ],
5185
+ ci: [
5186
+ "sharedGlobals",
5187
+ "{workspaceRoot}/.github/workflows/*.yml",
5188
+ "{workspaceRoot}/assets/**/*",
5189
+ "{workspaceRoot}/devenv.@(lock|nix|yaml)",
5190
+ "{workspaceRoot}/.devenv{,.flake.nix}",
5191
+ "{workspaceRoot}/.direnv"
5173
5192
  ]
5174
5193
  },
5175
5194
  targetDefaults: {
@@ -5180,8 +5199,8 @@ var recommended_default = {
5180
5199
  executor: "nx:run-commands",
5181
5200
  options: {
5182
5201
  commands: [
5183
- "pnpm exec rimraf --glob {projectRoot}/dist",
5184
- "pnpm exec rimraf dist/{projectRoot}"
5202
+ "pnpm rimraf --glob {projectRoot}/dist",
5203
+ "pnpm rimraf dist/{projectRoot}"
5185
5204
  ]
5186
5205
  }
5187
5206
  },
@@ -5201,7 +5220,7 @@ var recommended_default = {
5201
5220
  version: {
5202
5221
  currentVersionResolver: "git-tag",
5203
5222
  specifierSource: "conventional-commits",
5204
- groupPreVersionCommand: "pnpm build",
5223
+ groupPreVersionCommand: "build",
5205
5224
  manifestRootsToUpdate: [
5206
5225
  "{projectRoot}",
5207
5226
  {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-ZHJYQ2IO.js');
2
2
 
3
3
 
4
- var _chunkUNR2I6XJjs = require('./chunk-UNR2I6XJ.js');
4
+ var _chunkZUACEWHUjs = require('./chunk-ZUACEWHU.js');
5
5
  require('./chunk-LPFAFSFE.js');
6
6
  require('./chunk-R2MQDB4D.js');
7
7
 
8
8
 
9
- exports.initGeneratorFn = _chunkUNR2I6XJjs.initGeneratorFn;
9
+ exports.initGeneratorFn = _chunkZUACEWHUjs.initGeneratorFn;
@@ -1,7 +1,7 @@
1
1
  import "./chunk-VVAZVN4H.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-GMQD7Z6L.mjs";
4
+ } from "./chunk-NQQMHBY7.mjs";
5
5
  import "./chunk-BWWQRX5J.mjs";
6
6
  import "./chunk-Y5DMMZCO.mjs";
7
7
  export {
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  var _chunkYFZ636VYjs = require('./chunk-YFZ636VY.js');
5
5
 
6
6
 
7
- var _chunkUNR2I6XJjs = require('./chunk-UNR2I6XJ.js');
7
+ var _chunkZUACEWHUjs = require('./chunk-ZUACEWHU.js');
8
8
  require('./chunk-LPFAFSFE.js');
9
9
 
10
10
 
@@ -16,10 +16,10 @@ var _chunkR2MQDB4Djs = require('./chunk-R2MQDB4D.js');
16
16
  // index.ts
17
17
  var index_exports = {};
18
18
  _chunkR2MQDB4Djs.__export.call(void 0, index_exports, {
19
- initGeneratorFn: () => _chunkUNR2I6XJjs.initGeneratorFn
19
+ initGeneratorFn: () => _chunkZUACEWHUjs.initGeneratorFn
20
20
  });
21
21
  _chunkR2MQDB4Djs.init_cjs_shims.call(void 0, );
22
22
  _chunkR2MQDB4Djs.__reExport.call(void 0, index_exports, _chunkR2MQDB4Djs.__toESM.call(void 0, _chunkYFZ636VYjs.require_components.call(void 0, )));
23
23
 
24
24
 
25
- exports.initGeneratorFn = _chunkUNR2I6XJjs.initGeneratorFn;
25
+ exports.initGeneratorFn = _chunkZUACEWHUjs.initGeneratorFn;
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-UG6AKL55.mjs";
5
5
  import {
6
6
  initGeneratorFn
7
- } from "./chunk-GMQD7Z6L.mjs";
7
+ } from "./chunk-NQQMHBY7.mjs";
8
8
  import "./chunk-BWWQRX5J.mjs";
9
9
  import {
10
10
  __export,
@@ -109,6 +109,7 @@ var StormNxWorkspace = (_class = class extends _nxworkspace.NxWorkspace {
109
109
  "{workspaceRoot}/package.json",
110
110
  "{workspaceRoot}/{pnpm-workspace,pnpm-lock,package-lock,yarn-lock}.@(yaml|yml)",
111
111
  "{workspaceRoot}/bun.lockb",
112
+ "{workspaceRoot}/bun.lock",
112
113
  "{workspaceRoot}/LICENSE",
113
114
  "{workspaceRoot}/.git@(attributes|ignore)",
114
115
  "{workspaceRoot}/{nx.json,.nxignore}",
@@ -109,6 +109,7 @@ var StormNxWorkspace = class extends NxWorkspace {
109
109
  "{workspaceRoot}/package.json",
110
110
  "{workspaceRoot}/{pnpm-workspace,pnpm-lock,package-lock,yarn-lock}.@(yaml|yml)",
111
111
  "{workspaceRoot}/bun.lockb",
112
+ "{workspaceRoot}/bun.lock",
112
113
  "{workspaceRoot}/LICENSE",
113
114
  "{workspaceRoot}/.git@(attributes|ignore)",
114
115
  "{workspaceRoot}/{nx.json,.nxignore}",
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkUNR2I6XJjs = require('../../../chunk-UNR2I6XJ.js');
4
+ var _chunkZUACEWHUjs = require('../../../chunk-ZUACEWHU.js');
5
5
  require('../../../chunk-LPFAFSFE.js');
6
6
  require('../../../chunk-R2MQDB4D.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunkUNR2I6XJjs.generator_default; exports.initGeneratorFn = _chunkUNR2I6XJjs.initGeneratorFn;
10
+ exports.default = _chunkZUACEWHUjs.generator_default; exports.initGeneratorFn = _chunkZUACEWHUjs.initGeneratorFn;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generator_default,
3
3
  initGeneratorFn
4
- } from "../../../chunk-GMQD7Z6L.mjs";
4
+ } from "../../../chunk-NQQMHBY7.mjs";
5
5
  import "../../../chunk-BWWQRX5J.mjs";
6
6
  import "../../../chunk-Y5DMMZCO.mjs";
7
7
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/projen",
3
- "version": "0.21.284",
3
+ "version": "0.21.288",
4
4
  "description": "Tools for managing Projen configuration automation within a Nx workspace.",
5
5
  "keywords": [
6
6
  "iac",
@@ -115,9 +115,9 @@
115
115
  "dependencies": {
116
116
  "@aws/pdk": "^0.25.17",
117
117
  "@nx/devkit": "23.0.1",
118
- "@storm-software/config": "^1.138.38",
119
- "@storm-software/config-tools": "^1.190.101",
120
- "@storm-software/workspace-tools": "^1.296.81"
118
+ "@storm-software/config": "^1.138.42",
119
+ "@storm-software/config-tools": "^1.190.105",
120
+ "@storm-software/workspace-tools": "^1.296.85"
121
121
  },
122
122
  "devDependencies": {
123
123
  "@types/node": "^25.9.5",
@@ -134,5 +134,5 @@
134
134
  "publishConfig": { "access": "public" },
135
135
  "executors": "./executors.json",
136
136
  "generators": "./generators.json",
137
- "gitHead": "7735deb945f520b42918d9cae9f8b5023c540a3e"
137
+ "gitHead": "70318372ffbd8ee82540b78449a2755cf4584958"
138
138
  }