@storm-software/workspace-tools 1.27.0 → 1.29.0

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/index.js CHANGED
@@ -12458,12 +12458,12 @@ var require_install_packages_task = __commonJS({
12458
12458
  var child_process_1 = require("child_process");
12459
12459
  var path_1 = require("path");
12460
12460
  var nx_1 = require_nx();
12461
- var { detectPackageManager, getPackageManagerCommand, joinPathFragments: joinPathFragments5 } = (0, nx_1.requireNx)();
12461
+ var { detectPackageManager, getPackageManagerCommand, joinPathFragments: joinPathFragments6 } = (0, nx_1.requireNx)();
12462
12462
  function installPackagesTask(tree, alwaysRun = false, cwd = "", packageManager = detectPackageManager(cwd)) {
12463
- if (!tree.listChanges().find((f) => f.path === joinPathFragments5(cwd, "package.json")) && !alwaysRun) {
12463
+ if (!tree.listChanges().find((f) => f.path === joinPathFragments6(cwd, "package.json")) && !alwaysRun) {
12464
12464
  return;
12465
12465
  }
12466
- const packageJsonValue = tree.read(joinPathFragments5(cwd, "package.json"), "utf-8");
12466
+ const packageJsonValue = tree.read(joinPathFragments6(cwd, "package.json"), "utf-8");
12467
12467
  let storedPackageJsonValue = global["__packageJsonInstallCache__"];
12468
12468
  if (storedPackageJsonValue != packageJsonValue || alwaysRun) {
12469
12469
  global["__packageJsonInstallCache__"] = packageJsonValue;
@@ -41784,7 +41784,7 @@ var require_project_name_and_root_utils = __commonJS({
41784
41784
  var nx_1 = require_nx();
41785
41785
  var get_workspace_layout_1 = require_get_workspace_layout();
41786
41786
  var names_1 = require_names();
41787
- var { joinPathFragments: joinPathFragments5, normalizePath, logger, readJson: readJson2, stripIndents, workspaceRoot } = (0, nx_1.requireNx)();
41787
+ var { joinPathFragments: joinPathFragments6, normalizePath, logger, readJson: readJson2, stripIndents, workspaceRoot } = (0, nx_1.requireNx)();
41788
41788
  var deprecationWarning = stripIndents`
41789
41789
  In Nx 18, generating projects will no longer derive the name and root.
41790
41790
  Please provide the exact project name and root in the future.`;
@@ -41860,14 +41860,14 @@ var require_project_name_and_root_utils = __commonJS({
41860
41860
  if (directory === relativeCwd || directory.startsWith(`${relativeCwd}/`)) {
41861
41861
  asProvidedProjectDirectory = directory;
41862
41862
  } else {
41863
- asProvidedProjectDirectory = joinPathFragments5(relativeCwd, directory);
41863
+ asProvidedProjectDirectory = joinPathFragments6(relativeCwd, directory);
41864
41864
  }
41865
41865
  } else if (options.rootProject) {
41866
41866
  asProvidedProjectDirectory = ".";
41867
41867
  } else {
41868
41868
  asProvidedProjectDirectory = relativeCwd;
41869
41869
  if (!relativeCwd.endsWith(asProvidedProjectName) && !relativeCwd.endsWith(options.name)) {
41870
- asProvidedProjectDirectory = joinPathFragments5(relativeCwd, asProvidedProjectName);
41870
+ asProvidedProjectDirectory = joinPathFragments6(relativeCwd, asProvidedProjectName);
41871
41871
  }
41872
41872
  }
41873
41873
  if (asProvidedProjectName.startsWith("@")) {
@@ -41900,7 +41900,7 @@ var require_project_name_and_root_utils = __commonJS({
41900
41900
  const derivedSimpleProjectName = name;
41901
41901
  let derivedProjectDirectory = derivedProjectDirectoryWithoutLayout;
41902
41902
  if (derivedProjectDirectoryWithoutLayout !== ".") {
41903
- derivedProjectDirectory = joinPathFragments5(layoutDirectory, derivedProjectDirectory);
41903
+ derivedProjectDirectory = joinPathFragments6(layoutDirectory, derivedProjectDirectory);
41904
41904
  }
41905
41905
  let derivedImportPath;
41906
41906
  if (options.projectType === "library") {
@@ -49563,7 +49563,7 @@ var require_dist2 = __commonJS({
49563
49563
  loadTsConfig: () => loadTsConfig2
49564
49564
  });
49565
49565
  module2.exports = __toCommonJS2(src_exports);
49566
- var import_path6 = __toESM2(require("path"), 1);
49566
+ var import_path5 = __toESM2(require("path"), 1);
49567
49567
  var import_fs5 = __toESM2(require("fs"), 1);
49568
49568
  var singleComment = Symbol("singleComment");
49569
49569
  var multiComment = Symbol("multiComment");
@@ -49659,10 +49659,10 @@ var require_dist2 = __commonJS({
49659
49659
  }
49660
49660
  }
49661
49661
  var req = false ? createRequire(import_meta.url) : require;
49662
- var findUp = (name, startDir, stopDir = import_path6.default.parse(startDir).root) => {
49662
+ var findUp = (name, startDir, stopDir = import_path5.default.parse(startDir).root) => {
49663
49663
  let dir = startDir;
49664
49664
  while (dir !== stopDir) {
49665
- const file = import_path6.default.join(dir, name);
49665
+ const file = import_path5.default.join(dir, name);
49666
49666
  if (import_fs5.default.existsSync(file))
49667
49667
  return file;
49668
49668
  if (!file.endsWith(".json")) {
@@ -49670,17 +49670,17 @@ var require_dist2 = __commonJS({
49670
49670
  if (import_fs5.default.existsSync(fileWithExt))
49671
49671
  return fileWithExt;
49672
49672
  }
49673
- dir = import_path6.default.dirname(dir);
49673
+ dir = import_path5.default.dirname(dir);
49674
49674
  }
49675
49675
  return null;
49676
49676
  };
49677
49677
  var resolveTsConfigFromFile = (cwd, filename) => {
49678
- if (import_path6.default.isAbsolute(filename))
49678
+ if (import_path5.default.isAbsolute(filename))
49679
49679
  return import_fs5.default.existsSync(filename) ? filename : null;
49680
49680
  return findUp(filename, cwd);
49681
49681
  };
49682
49682
  var resolveTsConfigFromExtends = (cwd, name) => {
49683
- if (import_path6.default.isAbsolute(name))
49683
+ if (import_path5.default.isAbsolute(name))
49684
49684
  return import_fs5.default.existsSync(name) ? name : null;
49685
49685
  if (name.startsWith("."))
49686
49686
  return findUp(name, cwd);
@@ -49689,14 +49689,14 @@ var require_dist2 = __commonJS({
49689
49689
  };
49690
49690
  var loadTsConfigInternal = (dir = process.cwd(), name = "tsconfig.json", isExtends = false) => {
49691
49691
  var _a, _b;
49692
- dir = import_path6.default.resolve(dir);
49692
+ dir = import_path5.default.resolve(dir);
49693
49693
  const id = isExtends ? resolveTsConfigFromExtends(dir, name) : resolveTsConfigFromFile(dir, name);
49694
49694
  if (!id)
49695
49695
  return null;
49696
49696
  const data = jsoncParse(import_fs5.default.readFileSync(id, "utf-8"));
49697
- const configDir = import_path6.default.dirname(id);
49697
+ const configDir = import_path5.default.dirname(id);
49698
49698
  if ((_a = data.compilerOptions) == null ? void 0 : _a.baseUrl) {
49699
- data.compilerOptions.baseUrl = import_path6.default.join(
49699
+ data.compilerOptions.baseUrl = import_path5.default.join(
49700
49700
  configDir,
49701
49701
  data.compilerOptions.baseUrl
49702
49702
  );
@@ -49779,11 +49779,11 @@ var require_dist3 = __commonJS({
49779
49779
  var import_esbuild = require("esbuild");
49780
49780
  var import_load_tsconfig = require_dist2();
49781
49781
  var import_fs5 = __toESM2(require("fs"), 1);
49782
- var import_path6 = __toESM2(require("path"), 1);
49782
+ var import_path5 = __toESM2(require("path"), 1);
49783
49783
  var getPkgType = () => {
49784
49784
  try {
49785
49785
  const pkg = JSON.parse(
49786
- import_fs5.default.readFileSync(import_path6.default.resolve("package.json"), "utf-8")
49786
+ import_fs5.default.readFileSync(import_path5.default.resolve("package.json"), "utf-8")
49787
49787
  );
49788
49788
  return pkg.type;
49789
49789
  } catch (error) {
@@ -49792,7 +49792,7 @@ var require_dist3 = __commonJS({
49792
49792
  function guessFormat(inputFile) {
49793
49793
  if (!usingDynamicImport)
49794
49794
  return "cjs";
49795
- const ext2 = import_path6.default.extname(inputFile);
49795
+ const ext2 = import_path5.default.extname(inputFile);
49796
49796
  const type = getPkgType();
49797
49797
  if (ext2 === ".js") {
49798
49798
  return type === "module" ? "esm" : "cjs";
@@ -75530,7 +75530,7 @@ var require_util6 = __commonJS({
75530
75530
  var normalize2 = createSafeHandler((url) => {
75531
75531
  });
75532
75532
  exports.normalize = normalize2;
75533
- function join8(aRoot, aPath) {
75533
+ function join7(aRoot, aPath) {
75534
75534
  const pathType = getURLType(aPath);
75535
75535
  const rootType = getURLType(aRoot);
75536
75536
  aRoot = ensureDirectory(aRoot);
@@ -75556,7 +75556,7 @@ var require_util6 = __commonJS({
75556
75556
  const newPath = withBase(aPath, withBase(aRoot, base));
75557
75557
  return computeRelativeURL(base, newPath);
75558
75558
  }
75559
- exports.join = join8;
75559
+ exports.join = join7;
75560
75560
  function relative(rootURL, targetURL) {
75561
75561
  const result = relativeIfPossible(rootURL, targetURL);
75562
75562
  return typeof result === "string" ? result : normalize2(targetURL);
@@ -75586,9 +75586,9 @@ var require_util6 = __commonJS({
75586
75586
  }
75587
75587
  let url = normalize2(sourceURL || "");
75588
75588
  if (sourceRoot)
75589
- url = join8(sourceRoot, url);
75589
+ url = join7(sourceRoot, url);
75590
75590
  if (sourceMapURL)
75591
- url = join8(trimFilename(sourceMapURL), url);
75591
+ url = join7(trimFilename(sourceMapURL), url);
75592
75592
  return url;
75593
75593
  }
75594
75594
  exports.computeSourceURL = computeSourceURL;
@@ -77354,7 +77354,7 @@ var require_source_map = __commonJS({
77354
77354
  var require_native = __commonJS({
77355
77355
  "node_modules/.pnpm/rollup@4.5.0/node_modules/rollup/dist/native.js"(exports, module2) {
77356
77356
  var { existsSync: existsSync5 } = require("node:fs");
77357
- var { join: join8 } = require("node:path");
77357
+ var { join: join7 } = require("node:path");
77358
77358
  var { platform, arch, report } = require("node:process");
77359
77359
  var isMusl = () => !report.getReport().header.glibcVersionRuntime;
77360
77360
  var bindingsByPlatformAndArch = {
@@ -77404,7 +77404,7 @@ If this is important to you, please consider supporting Rollup to make a native
77404
77404
  return imported.base;
77405
77405
  }
77406
77406
  var localName = `./rollup.${packageBase}.node`;
77407
- var { parse, parseAsync, xxhashBase64Url } = existsSync5(join8(__dirname, localName)) ? require(localName) : require(`@rollup/rollup-${packageBase}`);
77407
+ var { parse, parseAsync, xxhashBase64Url } = existsSync5(join7(__dirname, localName)) ? require(localName) : require(`@rollup/rollup-${packageBase}`);
77408
77408
  module2.exports.parse = parse;
77409
77409
  module2.exports.parseAsync = parseAsync;
77410
77410
  module2.exports.xxhashBase64Url = xxhashBase64Url;
@@ -110927,7 +110927,7 @@ ${commentStart} ----------------------------------------------------------------
110927
110927
 
110928
110928
  // packages/workspace-tools/src/executors/tsup/executor.ts
110929
110929
  var import_esbuild_decorators = __toESM(require_src());
110930
- var import_devkit = __toESM(require_devkit());
110930
+ var import_devkit2 = __toESM(require_devkit());
110931
110931
  var import_get_extra_dependencies = __toESM(require_get_extra_dependencies());
110932
110932
  var import_js = __toESM(require_src2());
110933
110933
  var import_normalize_options = __toESM(require_normalize_options());
@@ -117156,7 +117156,7 @@ glob.glob = glob;
117156
117156
 
117157
117157
  // packages/workspace-tools/src/executors/tsup/executor.ts
117158
117158
  var import_fileutils = require("nx/src/utils/fileutils");
117159
- var import_path4 = require("path");
117159
+ var import_path3 = require("path");
117160
117160
  var import_prettier = require("prettier");
117161
117161
  var import_tsup2 = __toESM(require_dist6());
117162
117162
  var ts = __toESM(require("typescript"));
@@ -117173,7 +117173,7 @@ function findFileName(filePath) {
117173
117173
  }
117174
117174
 
117175
117175
  // packages/workspace-tools/src/executors/tsup/get-config.ts
117176
- var import_path3 = require("path");
117176
+ var import_devkit = __toESM(require_devkit());
117177
117177
  var import_tsup = __toESM(require_dist6());
117178
117178
  function modernConfig({
117179
117179
  entry,
@@ -117198,7 +117198,7 @@ function modernConfig({
117198
117198
  generatePackageJson,
117199
117199
  dtsTsConfig
117200
117200
  }) {
117201
- let outputPath = (0, import_path3.join)(outDir, "dist", "modern");
117201
+ let outputPath = (0, import_devkit.joinPathFragments)(outDir, "dist", "modern");
117202
117202
  return {
117203
117203
  name: "modern",
117204
117204
  entry,
@@ -117277,7 +117277,7 @@ function legacyConfig({
117277
117277
  generatePackageJson,
117278
117278
  dtsTsConfig
117279
117279
  }) {
117280
- let outputPath = (0, import_path3.join)(outDir, "dist", "legacy");
117280
+ let outputPath = (0, import_devkit.joinPathFragments)(outDir, "dist", "legacy");
117281
117281
  return {
117282
117282
  name: "legacy",
117283
117283
  entry,
@@ -117343,14 +117343,14 @@ function workerConfig({
117343
117343
  apiReport = true,
117344
117344
  docModel = true,
117345
117345
  tsdocMetadata = true,
117346
- shims = false,
117346
+ shims = true,
117347
117347
  define: define2,
117348
117348
  env: env2,
117349
117349
  plugins,
117350
117350
  generatePackageJson,
117351
117351
  dtsTsConfig
117352
117352
  }) {
117353
- let outputPath = (0, import_path3.join)(outDir, "dist");
117353
+ let outputPath = (0, import_devkit.joinPathFragments)(outDir, "dist");
117354
117354
  return {
117355
117355
  name: "worker",
117356
117356
  entry,
@@ -117385,13 +117385,13 @@ function workerConfig({
117385
117385
  }
117386
117386
  }
117387
117387
  },
117388
- /*minify: debug ? false : "terser",
117388
+ minify: debug ? false : "terser",
117389
117389
  terserOptions: {
117390
117390
  compress: true,
117391
117391
  ecma: 2020,
117392
117392
  keep_classnames: true,
117393
117393
  keep_fnames: true
117394
- },*/
117394
+ },
117395
117395
  apiReport,
117396
117396
  docModel,
117397
117397
  tsdocMetadata,
@@ -117411,20 +117411,32 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
117411
117411
  }) {
117412
117412
  const entry = globSync(
117413
117413
  [
117414
- rest.entry ? rest.entry : (0, import_path3.join)(sourceRoot, "**/*.{ts,tsx}"),
117414
+ rest.entry ? rest.entry : (0, import_devkit.joinPathFragments)(
117415
+ sourceRoot.includes(workspaceRoot) ? sourceRoot : (0, import_devkit.joinPathFragments)(workspaceRoot, sourceRoot),
117416
+ "**/*.{ts,tsx}"
117417
+ ),
117415
117418
  ...additionalEntryPoints ?? []
117416
117419
  ],
117417
117420
  {
117418
117421
  withFileTypes: true
117419
117422
  }
117420
117423
  ).reduce((ret, filePath) => {
117421
- let propertyKey = (0, import_path3.join)(filePath.path, removeExtension(filePath.name)).replaceAll(workspaceRoot, "").replaceAll("\\", "/").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
117424
+ let propertyKey = (0, import_devkit.joinPathFragments)(
117425
+ filePath.path,
117426
+ removeExtension(filePath.name)
117427
+ ).replaceAll(workspaceRoot, "").replaceAll("\\", "/").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
117422
117428
  if (propertyKey) {
117423
117429
  while (propertyKey.startsWith("/")) {
117424
117430
  propertyKey = propertyKey.substring(1);
117425
117431
  }
117432
+ console.debug(
117433
+ `Trying to add entry point ${propertyKey} at "${(0, import_devkit.joinPathFragments)(
117434
+ filePath.path,
117435
+ filePath.name
117436
+ )}"`
117437
+ );
117426
117438
  if (!(propertyKey in ret)) {
117427
- ret[propertyKey] = (0, import_path3.join)(filePath.path, filePath.name);
117439
+ ret[propertyKey] = (0, import_devkit.joinPathFragments)(filePath.path, filePath.name);
117428
117440
  }
117429
117441
  }
117430
117442
  return ret;
@@ -117519,8 +117531,8 @@ ${Object.keys(options).map(
117519
117531
  if (!result.success) {
117520
117532
  throw new Error("The Build process failed trying to copy assets");
117521
117533
  }
117522
- const workspacePackageJson = (0, import_devkit.readJsonFile)(
117523
- (0, import_path4.join)(workspaceRoot, "package.json")
117534
+ const workspacePackageJson = (0, import_devkit2.readJsonFile)(
117535
+ (0, import_path3.join)(workspaceRoot, "package.json")
117524
117536
  );
117525
117537
  options.external = options.external || [];
117526
117538
  if (workspacePackageJson?.dependencies) {
@@ -117539,8 +117551,8 @@ ${Object.keys(options).map(
117539
117551
  options.external = implicitDependencies.reduce(
117540
117552
  (ret, key) => {
117541
117553
  if (context.projectsConfigurations.projects[key].root) {
117542
- const packageJson = (0, import_devkit.readJsonFile)(
117543
- (0, import_path4.join)(
117554
+ const packageJson = (0, import_devkit2.readJsonFile)(
117555
+ (0, import_path3.join)(
117544
117556
  context.root,
117545
117557
  context.projectsConfigurations.projects[key].root,
117546
117558
  "package.json"
@@ -117606,9 +117618,9 @@ ${externalDependencies.map((dep) => {
117606
117618
  endOfLine: "lf"
117607
117619
  };
117608
117620
  if (options.generatePackageJson !== false) {
117609
- const projectGraph = (0, import_devkit.readCachedProjectGraph)();
117610
- const pathToPackageJson = (0, import_path4.join)(context.root, projectRoot, "package.json");
117611
- const packageJson = (0, import_fileutils.fileExists)(pathToPackageJson) ? (0, import_devkit.readJsonFile)(pathToPackageJson) : { name: context.projectName, version: "0.0.1" };
117621
+ const projectGraph = (0, import_devkit2.readCachedProjectGraph)();
117622
+ const pathToPackageJson = (0, import_path3.join)(context.root, projectRoot, "package.json");
117623
+ const packageJson = (0, import_fileutils.fileExists)(pathToPackageJson) ? (0, import_devkit2.readJsonFile)(pathToPackageJson) : { name: context.projectName, version: "0.0.1" };
117612
117624
  delete packageJson.dependencies;
117613
117625
  externalDependencies.forEach((entry) => {
117614
117626
  const packageConfig = entry.node.data;
@@ -117632,13 +117644,31 @@ ${externalDependencies.map((dep) => {
117632
117644
  types: "./dist/modern/index.d.cts",
117633
117645
  default: "./dist/modern/index.cjs"
117634
117646
  },
117647
+ default: {
117648
+ types: "./dist/modern/**/*.d.ts",
117649
+ default: "./dist/modern/**/*.js"
117650
+ },
117651
+ "./*": {
117652
+ "import": {
117653
+ types: "./dist/modern/**/*.d.ts",
117654
+ default: "./dist/modern/**/*.js"
117655
+ },
117656
+ require: {
117657
+ types: "./dist/modern/**/*.d.cts",
117658
+ default: "./dist/modern/**/*.cjs"
117659
+ },
117660
+ "default": {
117661
+ types: "./dist/modern/**/*.d.ts",
117662
+ default: "./dist/modern/**/*.js"
117663
+ }
117664
+ },
117635
117665
  ...(options.additionalEntryPoints ?? []).map((entryPoint) => ({
117636
117666
  [removeExtension(entryPoint).replace(sourceRoot, "")]: {
117637
- types: (0, import_path4.join)(
117667
+ types: (0, import_path3.join)(
117638
117668
  "./dist/modern",
117639
117669
  `${removeExtension(entryPoint.replace(sourceRoot, ""))}.d.ts`
117640
117670
  ),
117641
- default: (0, import_path4.join)(
117671
+ default: (0, import_path3.join)(
117642
117672
  "./dist/modern",
117643
117673
  `${removeExtension(entryPoint.replace(sourceRoot, ""))}.js`
117644
117674
  )
@@ -117649,6 +117679,10 @@ ${externalDependencies.map((dep) => {
117649
117679
  };
117650
117680
  packageJson.funding ??= workspacePackageJson.funding;
117651
117681
  packageJson.types ??= "dist/legacy/index.d.ts";
117682
+ packageJson.typings ??= "dist/legacy/index.d.ts";
117683
+ packageJson.typescript ??= {
117684
+ definition: "dist/legacy/index.d.ts"
117685
+ };
117652
117686
  packageJson.main ??= "dist/legacy/index.cjs";
117653
117687
  packageJson.module ??= "dist/legacy/index.js";
117654
117688
  options.platform && options.platform !== "node" && (packageJson.browser ??= "dist/modern/index.global.js");
@@ -117657,15 +117691,15 @@ ${externalDependencies.map((dep) => {
117657
117691
  if (distSrc.startsWith("/")) {
117658
117692
  distSrc = distSrc.substring(1);
117659
117693
  }
117660
- packageJson.source ??= `${(0, import_path4.join)(distSrc, "index.ts").replaceAll(
117694
+ packageJson.source ??= `${(0, import_path3.join)(distSrc, "index.ts").replaceAll(
117661
117695
  "\\",
117662
117696
  "/"
117663
117697
  )}`;
117664
117698
  }
117665
117699
  packageJson.sideEffects ??= false;
117666
- packageJson.files ??= ["dist"];
117700
+ packageJson.files ??= ["dist/**/*"];
117667
117701
  if (options.includeSrc !== false && !packageJson.files.includes("src")) {
117668
- packageJson.files.push("src");
117702
+ packageJson.files.push("src/**/*");
117669
117703
  }
117670
117704
  packageJson.publishConfig ??= {
117671
117705
  access: "public"
@@ -117677,8 +117711,8 @@ ${externalDependencies.map((dep) => {
117677
117711
  packageJson.license ??= workspacePackageJson.license;
117678
117712
  packageJson.keywords ??= workspacePackageJson.keywords;
117679
117713
  packageJson.repository ??= workspacePackageJson.repository;
117680
- packageJson.repository.directory ??= projectRoot ? projectRoot : (0, import_path4.join)("packages", context.projectName);
117681
- const packageJsonPath = (0, import_path4.join)(
117714
+ packageJson.repository.directory ??= projectRoot ? projectRoot : (0, import_path3.join)("packages", context.projectName);
117715
+ const packageJsonPath = (0, import_path3.join)(
117682
117716
  context.root,
117683
117717
  options.outputPath,
117684
117718
  "package.json"
@@ -117694,10 +117728,10 @@ ${externalDependencies.map((dep) => {
117694
117728
  }
117695
117729
  if (options.includeSrc !== false) {
117696
117730
  const files = globSync([
117697
- (0, import_devkit.joinPathFragments)(context.root, options.outputPath, "src/**/*.ts"),
117698
- (0, import_devkit.joinPathFragments)(context.root, options.outputPath, "src/**/*.tsx"),
117699
- (0, import_devkit.joinPathFragments)(context.root, options.outputPath, "src/**/*.js"),
117700
- (0, import_devkit.joinPathFragments)(context.root, options.outputPath, "src/**/*.jsx")
117731
+ (0, import_devkit2.joinPathFragments)(context.root, options.outputPath, "src/**/*.ts"),
117732
+ (0, import_devkit2.joinPathFragments)(context.root, options.outputPath, "src/**/*.tsx"),
117733
+ (0, import_devkit2.joinPathFragments)(context.root, options.outputPath, "src/**/*.js"),
117734
+ (0, import_devkit2.joinPathFragments)(context.root, options.outputPath, "src/**/*.jsx")
117701
117735
  ]);
117702
117736
  await Promise.allSettled(
117703
117737
  files.map(
@@ -117799,15 +117833,15 @@ function getNormalizedTsConfig(workspaceRoot, outputPath, options) {
117799
117833
  declaration: true,
117800
117834
  declarationMap: true,
117801
117835
  emitDeclarationOnly: true,
117802
- declarationDir: (0, import_path4.join)(workspaceRoot, "tmp", ".tsup", "declaration")
117836
+ declarationDir: (0, import_path3.join)(workspaceRoot, "tmp", ".tsup", "declaration")
117803
117837
  }
117804
117838
  },
117805
117839
  ts.sys,
117806
- (0, import_path4.dirname)(options.tsConfig)
117840
+ (0, import_path3.dirname)(options.tsConfig)
117807
117841
  );
117808
117842
  tsConfig.options.pathsBasePath = workspaceRoot;
117809
117843
  if (tsConfig.options.incremental && !tsConfig.options.tsBuildInfoFile) {
117810
- tsConfig.options.tsBuildInfoFile = (0, import_devkit.joinPathFragments)(
117844
+ tsConfig.options.tsBuildInfoFile = (0, import_devkit2.joinPathFragments)(
117811
117845
  outputPath,
117812
117846
  "tsconfig.tsbuildinfo"
117813
117847
  );
@@ -117842,7 +117876,7 @@ var applyDefaultOptions = (options) => {
117842
117876
  options.additionalEntryPoints ??= [];
117843
117877
  options.assets ??= [];
117844
117878
  options.plugins ??= [];
117845
- options.includeSrc ??= true;
117879
+ options.includeSrc ??= false;
117846
117880
  options.clean ??= true;
117847
117881
  options.bundle ??= true;
117848
117882
  options.debug ??= false;
@@ -117852,6 +117886,7 @@ var applyDefaultOptions = (options) => {
117852
117886
  options.tsdocMetadata ??= true;
117853
117887
  options.define ??= {};
117854
117888
  options.env ??= {};
117889
+ options.verbose ??= !!process.env.CI;
117855
117890
  return options;
117856
117891
  };
117857
117892
  var executor_default = withRunExecutor(
@@ -117950,9 +117985,9 @@ var executor_default3 = withRunExecutor(
117950
117985
  );
117951
117986
 
117952
117987
  // packages/workspace-tools/src/generators/config-schema/generator.ts
117953
- var import_devkit2 = __toESM(require_devkit());
117988
+ var import_devkit3 = __toESM(require_devkit());
117954
117989
  var import_fs4 = require("fs");
117955
- var import_path5 = require("path");
117990
+ var import_path4 = require("path");
117956
117991
 
117957
117992
  // node_modules/.pnpm/zod-to-json-schema@3.22.1_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/errorMessages.js
117958
117993
  function addErrorMessage(res, key, errorMessage, refs) {
@@ -118978,7 +119013,7 @@ async function configSchemaGeneratorFn(tree, options) {
118978
119013
  const modules = await Promise.all(
118979
119014
  Object.keys(projectConfigurations).map(async (key) => {
118980
119015
  if (projectConfigurations[key]?.config) {
118981
- const configPath = (0, import_path5.join)(
119016
+ const configPath = (0, import_path4.join)(
118982
119017
  workspaceRoot,
118983
119018
  projectConfigurations[key].config
118984
119019
  );
@@ -119008,12 +119043,12 @@ async function configSchemaGeneratorFn(tree, options) {
119008
119043
  const ModulesSchema = unionType([workspaceSchema, StormConfigSchema]).describe(
119009
119044
  "The values set in the Storm config file. This file is expected to be named `storm.config.js` and be located in the root of the workspace"
119010
119045
  );
119011
- (0, import_devkit2.writeJson)(
119046
+ (0, import_devkit3.writeJson)(
119012
119047
  tree,
119013
- options.outputFile ? (0, import_path5.join)(workspaceRoot, options.outputFile) : (0, import_path5.join)(workspaceRoot, "storm.schema.json"),
119048
+ options.outputFile ? (0, import_path4.join)(workspaceRoot, options.outputFile) : (0, import_path4.join)(workspaceRoot, "storm.schema.json"),
119014
119049
  zodToJsonSchema(ModulesSchema, "StormConfig")
119015
119050
  );
119016
- await (0, import_devkit2.formatFiles)(tree);
119051
+ await (0, import_devkit3.formatFiles)(tree);
119017
119052
  return null;
119018
119053
  }
119019
119054
  var generator_default = withRunGenerator(
@@ -119022,7 +119057,7 @@ var generator_default = withRunGenerator(
119022
119057
  );
119023
119058
 
119024
119059
  // packages/workspace-tools/src/generators/init/init.ts
119025
- var import_devkit3 = __toESM(require_devkit());
119060
+ var import_devkit4 = __toESM(require_devkit());
119026
119061
 
119027
119062
  // packages/workspace-tools/src/utils/versions.ts
119028
119063
  var tsupVersion = "^7.2.0";
@@ -119046,7 +119081,7 @@ var pnpmVersion = "8.10.2";
119046
119081
 
119047
119082
  // packages/workspace-tools/src/generators/init/init.ts
119048
119083
  async function stormInitGenerator(tree, schema) {
119049
- const task = (0, import_devkit3.addDependenciesToPackageJson)(
119084
+ const task = (0, import_devkit4.addDependenciesToPackageJson)(
119050
119085
  tree,
119051
119086
  {
119052
119087
  "nx": nxVersion,
@@ -119059,16 +119094,16 @@ async function stormInitGenerator(tree, schema) {
119059
119094
  {}
119060
119095
  );
119061
119096
  if (!schema.skipFormat) {
119062
- await (0, import_devkit3.formatFiles)(tree);
119097
+ await (0, import_devkit4.formatFiles)(tree);
119063
119098
  }
119064
119099
  return task;
119065
119100
  }
119066
119101
 
119067
119102
  // packages/workspace-tools/src/generators/node-library/generator.ts
119068
- var import_devkit5 = __toESM(require_devkit());
119103
+ var import_devkit6 = __toESM(require_devkit());
119069
119104
 
119070
119105
  // packages/workspace-tools/src/base/typescript-library-generator.ts
119071
- var import_devkit4 = __toESM(require_devkit());
119106
+ var import_devkit5 = __toESM(require_devkit());
119072
119107
  var import_project_name_and_root_utils = __toESM(require_project_name_and_root_utils());
119073
119108
  var import_js2 = __toESM(require_src2());
119074
119109
  var import_init = __toESM(require_init());
@@ -119083,7 +119118,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema) {
119083
119118
  })
119084
119119
  );
119085
119120
  tasks.push(
119086
- (0, import_devkit4.addDependenciesToPackageJson)(
119121
+ (0, import_devkit5.addDependenciesToPackageJson)(
119087
119122
  tree,
119088
119123
  {},
119089
119124
  {
@@ -119099,16 +119134,16 @@ async function typeScriptLibraryGeneratorFn(tree, schema) {
119099
119134
  const projectConfig = {
119100
119135
  root: options.directory,
119101
119136
  projectType: "library",
119102
- sourceRoot: (0, import_devkit4.joinPathFragments)(options.directory, "src"),
119137
+ sourceRoot: (0, import_devkit5.joinPathFragments)(options.directory, "src"),
119103
119138
  targets: {
119104
119139
  build: {
119105
119140
  executor: schema.buildExecutor,
119106
119141
  outputs: ["{options.outputPath}"],
119107
119142
  options: {
119108
- entry: (0, import_devkit4.joinPathFragments)(options.projectRoot, "src", "index.ts"),
119143
+ entry: (0, import_devkit5.joinPathFragments)(options.projectRoot, "src", "index.ts"),
119109
119144
  outputPath: getOutputPath(options),
119110
- tsConfig: (0, import_devkit4.joinPathFragments)(options.projectRoot, "tsconfig.json"),
119111
- project: (0, import_devkit4.joinPathFragments)(options.projectRoot, "package.json"),
119145
+ tsConfig: (0, import_devkit5.joinPathFragments)(options.projectRoot, "tsconfig.json"),
119146
+ project: (0, import_devkit5.joinPathFragments)(options.projectRoot, "package.json"),
119112
119147
  defaultConfiguration: "production",
119113
119148
  assets: [
119114
119149
  {
@@ -119140,23 +119175,23 @@ async function typeScriptLibraryGeneratorFn(tree, schema) {
119140
119175
  };
119141
119176
  schema.platform && (projectConfig.targets.build.options.platform = schema.platform);
119142
119177
  createProjectTsConfigJson(tree, options);
119143
- (0, import_devkit4.addProjectConfiguration)(tree, options.name, projectConfig);
119178
+ (0, import_devkit5.addProjectConfiguration)(tree, options.name, projectConfig);
119144
119179
  let repository = {
119145
119180
  type: "github",
119146
119181
  url: "https://github.com/storm-software/storm-stack.git"
119147
119182
  };
119148
119183
  let description = schema.description ?? "\u26A1 A Storm package used to create modern, scalable web applications.";
119149
119184
  if (tree.exists("package.json")) {
119150
- const packageJson = (0, import_devkit4.readJson)(tree, "package.json");
119185
+ const packageJson = (0, import_devkit5.readJson)(tree, "package.json");
119151
119186
  packageJson?.repository && (repository = packageJson.repository);
119152
119187
  packageJson?.description && (description = packageJson.description);
119153
119188
  }
119154
- const packageJsonPath = (0, import_devkit4.joinPathFragments)(
119189
+ const packageJsonPath = (0, import_devkit5.joinPathFragments)(
119155
119190
  options.projectRoot,
119156
119191
  "package.json"
119157
119192
  );
119158
119193
  if (tree.exists(packageJsonPath)) {
119159
- (0, import_devkit4.updateJson)(tree, packageJsonPath, (json) => {
119194
+ (0, import_devkit5.updateJson)(tree, packageJsonPath, (json) => {
119160
119195
  json.name = options.importPath;
119161
119196
  json.version = "0.0.1";
119162
119197
  if (json.private && (options.publishable || options.rootProject)) {
@@ -119180,7 +119215,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema) {
119180
119215
  };
119181
119216
  });
119182
119217
  } else {
119183
- (0, import_devkit4.writeJson)(tree, packageJsonPath, {
119218
+ (0, import_devkit5.writeJson)(tree, packageJsonPath, {
119184
119219
  name: options.importPath,
119185
119220
  version: "0.0.1",
119186
119221
  description,
@@ -119196,7 +119231,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema) {
119196
119231
  });
119197
119232
  }
119198
119233
  if (tree.exists("package.json")) {
119199
- (0, import_devkit4.updateJson)(tree, "package.json", (json) => ({
119234
+ (0, import_devkit5.updateJson)(tree, "package.json", (json) => ({
119200
119235
  ...json,
119201
119236
  pnpm: {
119202
119237
  ...json?.pnpm,
@@ -119208,32 +119243,32 @@ async function typeScriptLibraryGeneratorFn(tree, schema) {
119208
119243
  }));
119209
119244
  }
119210
119245
  (0, import_js2.addTsConfigPath)(tree, options.importPath, [
119211
- (0, import_devkit4.joinPathFragments)(
119246
+ (0, import_devkit5.joinPathFragments)(
119212
119247
  options.projectRoot,
119213
119248
  "./src",
119214
119249
  "index." + (options.js ? "js" : "ts")
119215
119250
  )
119216
119251
  ]);
119217
- (0, import_js2.addTsConfigPath)(tree, (0, import_devkit4.joinPathFragments)(options.importPath, "/*"), [
119218
- (0, import_devkit4.joinPathFragments)(options.projectRoot, "./src", "/*")
119252
+ (0, import_js2.addTsConfigPath)(tree, (0, import_devkit5.joinPathFragments)(options.importPath, "/*"), [
119253
+ (0, import_devkit5.joinPathFragments)(options.projectRoot, "./src", "/*")
119219
119254
  ]);
119220
119255
  if (tree.exists("package.json")) {
119221
- const packageJson = (0, import_devkit4.readJson)(tree, "package.json");
119256
+ const packageJson = (0, import_devkit5.readJson)(tree, "package.json");
119222
119257
  packageJson?.repository && (repository = packageJson.repository);
119223
119258
  packageJson?.description && (description = packageJson.description);
119224
119259
  }
119225
- const tsconfigPath = (0, import_devkit4.joinPathFragments)(options.projectRoot, "tsconfig.json");
119260
+ const tsconfigPath = (0, import_devkit5.joinPathFragments)(options.projectRoot, "tsconfig.json");
119226
119261
  if (tree.exists(tsconfigPath)) {
119227
- (0, import_devkit4.updateJson)(tree, tsconfigPath, (json) => {
119262
+ (0, import_devkit5.updateJson)(tree, tsconfigPath, (json) => {
119228
119263
  json.composite ??= true;
119229
119264
  return json;
119230
119265
  });
119231
119266
  } else {
119232
- (0, import_devkit4.writeJson)(tree, tsconfigPath, {
119233
- extends: `${(0, import_devkit4.offsetFromRoot)(options.projectRoot)}tsconfig.base.json`,
119267
+ (0, import_devkit5.writeJson)(tree, tsconfigPath, {
119268
+ extends: `${(0, import_devkit5.offsetFromRoot)(options.projectRoot)}tsconfig.base.json`,
119234
119269
  composite: true,
119235
119270
  compilerOptions: {
119236
- outDir: `${(0, import_devkit4.offsetFromRoot)(options.projectRoot)}dist/out-tsc`
119271
+ outDir: `${(0, import_devkit5.offsetFromRoot)(options.projectRoot)}dist/out-tsc`
119237
119272
  },
119238
119273
  files: [],
119239
119274
  include: ["src/**/*.ts", "src/**/*.js"],
@@ -119242,21 +119277,21 @@ async function typeScriptLibraryGeneratorFn(tree, schema) {
119242
119277
  }
119243
119278
  const lintCallback = await addLint(tree, options);
119244
119279
  tasks.push(lintCallback);
119245
- await (0, import_devkit4.formatFiles)(tree);
119280
+ await (0, import_devkit5.formatFiles)(tree);
119246
119281
  return null;
119247
119282
  }
119248
119283
  async function addLint(tree, options) {
119249
- const { lintProjectGenerator } = (0, import_devkit4.ensurePackage)("@nx/eslint", nxVersion);
119284
+ const { lintProjectGenerator } = (0, import_devkit5.ensurePackage)("@nx/eslint", nxVersion);
119250
119285
  const { mapLintPattern } = (
119251
119286
  // nx-ignore-next-line
119252
119287
  require_lint_project()
119253
119288
  );
119254
- const projectConfiguration = (0, import_devkit4.readProjectConfiguration)(tree, options.name);
119289
+ const projectConfiguration = (0, import_devkit5.readProjectConfiguration)(tree, options.name);
119255
119290
  const task = lintProjectGenerator(tree, {
119256
119291
  project: options.name,
119257
119292
  linter: options.linter,
119258
119293
  skipFormat: true,
119259
- tsConfigPaths: [(0, import_devkit4.joinPathFragments)(options.projectRoot, "tsconfig.json")],
119294
+ tsConfigPaths: [(0, import_devkit5.joinPathFragments)(options.projectRoot, "tsconfig.json")],
119260
119295
  unitTestRunner: options.unitTestRunner,
119261
119296
  eslintFilePatterns: [
119262
119297
  mapLintPattern(
@@ -119327,26 +119362,38 @@ function getOutputPath(options) {
119327
119362
  } else {
119328
119363
  parts.push(options.projectRoot);
119329
119364
  }
119330
- return (0, import_devkit4.joinPathFragments)(...parts);
119365
+ return (0, import_devkit5.joinPathFragments)(...parts);
119331
119366
  }
119332
119367
  function createProjectTsConfigJson(tree, options) {
119333
119368
  const tsconfig = {
119334
119369
  extends: options.rootProject ? void 0 : (0, import_js2.getRelativePathToRootTsConfig)(tree, options.projectRoot),
119370
+ ...options?.tsConfigOptions ?? {},
119335
119371
  compilerOptions: {
119336
119372
  ...options.rootProject ? import_js2.tsConfigBaseOptions : {},
119337
- outDir: (0, import_devkit4.joinPathFragments)(
119338
- (0, import_devkit4.offsetFromRoot)(options.projectRoot),
119373
+ outDir: (0, import_devkit5.joinPathFragments)(
119374
+ (0, import_devkit5.offsetFromRoot)(options.projectRoot),
119339
119375
  "dist/out-tsc"
119340
119376
  ),
119341
- noEmit: true
119377
+ noEmit: true,
119378
+ ...options?.tsConfigOptions?.compilerOptions ?? {}
119342
119379
  },
119343
- files: [],
119344
- include: ["src/**/*.ts", "src/**/*.js", "bin/**/*"],
119345
- exclude: ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"]
119380
+ files: [...options?.tsConfigOptions?.files ?? []],
119381
+ include: [
119382
+ ...options?.tsConfigOptions?.include ?? [],
119383
+ "src/**/*.ts",
119384
+ "src/**/*.js",
119385
+ "bin/**/*"
119386
+ ],
119387
+ exclude: [
119388
+ ...options?.tsConfigOptions?.exclude ?? [],
119389
+ "jest.config.ts",
119390
+ "src/**/*.spec.ts",
119391
+ "src/**/*.test.ts"
119392
+ ]
119346
119393
  };
119347
- (0, import_devkit4.writeJson)(
119394
+ (0, import_devkit5.writeJson)(
119348
119395
  tree,
119349
- (0, import_devkit4.joinPathFragments)(options.projectRoot, "tsconfig.json"),
119396
+ (0, import_devkit5.joinPathFragments)(options.projectRoot, "tsconfig.json"),
119350
119397
  tsconfig
119351
119398
  );
119352
119399
  }
@@ -119362,7 +119409,7 @@ async function normalizeOptions2(tree, options) {
119362
119409
  if (options.publishable === false && options.buildable === false) {
119363
119410
  bundler = "none";
119364
119411
  }
119365
- const { Linter } = (0, import_devkit4.ensurePackage)("@nx/eslint", nxVersion);
119412
+ const { Linter } = (0, import_devkit5.ensurePackage)("@nx/eslint", nxVersion);
119366
119413
  const {
119367
119414
  projectName,
119368
119415
  names: projectNames,
@@ -119378,7 +119425,7 @@ async function normalizeOptions2(tree, options) {
119378
119425
  callingGenerator: "@nx/js:library"
119379
119426
  });
119380
119427
  options.rootProject = projectRoot === ".";
119381
- const normalized = (0, import_devkit4.names)(projectNames.projectFileName);
119428
+ const normalized = (0, import_devkit5.names)(projectNames.projectFileName);
119382
119429
  const fileName = normalized.fileName;
119383
119430
  return {
119384
119431
  js: false,
@@ -119406,7 +119453,7 @@ async function normalizeOptions2(tree, options) {
119406
119453
 
119407
119454
  // packages/workspace-tools/src/generators/node-library/generator.ts
119408
119455
  async function nodeLibraryGeneratorFn(tree, schema) {
119409
- const filesDir = (0, import_devkit5.joinPathFragments)(__dirname, "./files");
119456
+ const filesDir = (0, import_devkit6.joinPathFragments)(__dirname, "./files");
119410
119457
  const tsLibraryGeneratorOptions = {
119411
119458
  ...schema,
119412
119459
  platform: "node",
@@ -119416,10 +119463,10 @@ async function nodeLibraryGeneratorFn(tree, schema) {
119416
119463
  buildExecutor: "@storm-software/workspace-tools:tsup-node"
119417
119464
  };
119418
119465
  const options = await normalizeOptions2(tree, tsLibraryGeneratorOptions);
119419
- const { className, name, propertyName } = (0, import_devkit5.names)(
119466
+ const { className, name, propertyName } = (0, import_devkit6.names)(
119420
119467
  options.projectNames.projectFileName
119421
119468
  );
119422
- (0, import_devkit5.generateFiles)(tree, filesDir, options.projectRoot, {
119469
+ (0, import_devkit6.generateFiles)(tree, filesDir, options.projectRoot, {
119423
119470
  ...schema,
119424
119471
  dot: ".",
119425
119472
  className,
@@ -119431,27 +119478,27 @@ async function nodeLibraryGeneratorFn(tree, schema) {
119431
119478
  cliCommand: "nx",
119432
119479
  strict: void 0,
119433
119480
  tmpl: "",
119434
- offsetFromRoot: (0, import_devkit5.offsetFromRoot)(options.projectRoot),
119481
+ offsetFromRoot: (0, import_devkit6.offsetFromRoot)(options.projectRoot),
119435
119482
  buildable: options.bundler && options.bundler !== "none",
119436
119483
  hasUnitTestRunner: options.unitTestRunner !== "none"
119437
119484
  });
119438
119485
  await typeScriptLibraryGeneratorFn(tree, tsLibraryGeneratorOptions);
119439
- await (0, import_devkit5.formatFiles)(tree);
119486
+ await (0, import_devkit6.formatFiles)(tree);
119440
119487
  return null;
119441
119488
  }
119442
119489
  var generator_default2 = withRunGenerator(
119443
- "TypeScript Build (NodeJs Platform)",
119490
+ "TypeScript Library Creator (NodeJs Platform)",
119444
119491
  nodeLibraryGeneratorFn
119445
119492
  );
119446
119493
 
119447
119494
  // packages/workspace-tools/src/generators/preset/generator.ts
119448
- var import_devkit6 = __toESM(require_devkit());
119495
+ var import_devkit7 = __toESM(require_devkit());
119449
119496
  var path2 = __toESM(require("path"));
119450
119497
  async function presetGeneratorFn(tree, options) {
119451
119498
  const projectRoot = `.`;
119452
119499
  options.description ??= `\u26A1The ${options.namespace ? options.namespace : options.name} monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.`;
119453
119500
  options.namespace ??= options.organization;
119454
- (0, import_devkit6.addProjectConfiguration)(tree, `@${options.namespace}/${options.name}`, {
119501
+ (0, import_devkit7.addProjectConfiguration)(tree, `@${options.namespace}/${options.name}`, {
119455
119502
  root: projectRoot,
119456
119503
  projectType: "application",
119457
119504
  targets: {
@@ -119465,7 +119512,7 @@ async function presetGeneratorFn(tree, options) {
119465
119512
  }
119466
119513
  }
119467
119514
  });
119468
- (0, import_devkit6.updateJson)(tree, "package.json", (json) => {
119515
+ (0, import_devkit7.updateJson)(tree, "package.json", (json) => {
119469
119516
  json.scripts = json.scripts || {};
119470
119517
  json.version = "0.0.0";
119471
119518
  json.triggerEmptyDevReleaseByIncrementingThisNumber = 0;
@@ -119589,12 +119636,12 @@ async function presetGeneratorFn(tree, options) {
119589
119636
  };
119590
119637
  return json;
119591
119638
  });
119592
- (0, import_devkit6.generateFiles)(tree, path2.join(__dirname, "files"), projectRoot, {
119639
+ (0, import_devkit7.generateFiles)(tree, path2.join(__dirname, "files"), projectRoot, {
119593
119640
  ...options,
119594
119641
  pnpmVersion,
119595
119642
  nodeVersion
119596
119643
  });
119597
- await (0, import_devkit6.formatFiles)(tree);
119644
+ await (0, import_devkit7.formatFiles)(tree);
119598
119645
  let dependencies = {
119599
119646
  "@eslint/eslintrc": "^2.1.3",
119600
119647
  "@nx/devkit": "^17.0.3",
@@ -119660,11 +119707,11 @@ async function presetGeneratorFn(tree, options) {
119660
119707
  };
119661
119708
  }
119662
119709
  await Promise.resolve(
119663
- (0, import_devkit6.addDependenciesToPackageJson)(
119710
+ (0, import_devkit7.addDependenciesToPackageJson)(
119664
119711
  tree,
119665
119712
  dependencies,
119666
119713
  {},
119667
- (0, import_devkit6.joinPathFragments)(projectRoot, "package.json")
119714
+ (0, import_devkit7.joinPathFragments)(projectRoot, "package.json")
119668
119715
  )
119669
119716
  );
119670
119717
  return null;