@storm-software/build-tools 0.151.8 → 0.151.9

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.
Files changed (52) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-3Z3XGHR2.mjs → chunk-2XBT7L44.mjs} +2 -2
  3. package/dist/{chunk-PW2E4KBD.mjs → chunk-46D6MNXS.mjs} +1 -1
  4. package/dist/{chunk-HDBGACMY.js → chunk-AF2TCIHF.js} +8 -8
  5. package/dist/{chunk-G473ISDX.mjs → chunk-AFBMMFQN.mjs} +1 -1
  6. package/dist/{chunk-HXOL4XNP.mjs → chunk-BLY6BYC6.mjs} +1 -1
  7. package/dist/{chunk-ZDJWHRO7.mjs → chunk-ENFZY5GA.mjs} +1 -1
  8. package/dist/{chunk-NTFTBMMV.js → chunk-F4WUX2LJ.js} +2 -2
  9. package/dist/{chunk-LXDS235I.js → chunk-IVICX4OH.js} +8 -8
  10. package/dist/{chunk-ZPVBBSRY.mjs → chunk-PJ5CGKV4.mjs} +1 -1
  11. package/dist/{chunk-77VWOMEL.js → chunk-PWWAXIKO.js} +10 -10
  12. package/dist/{chunk-ZQA63YFS.js → chunk-QEEDXYKL.js} +9 -9
  13. package/dist/{chunk-WHADZWHO.mjs → chunk-UC4C5SCY.mjs} +1 -1
  14. package/dist/{chunk-BGIPYCLA.js → chunk-XBURNOOH.js} +84 -84
  15. package/dist/{chunk-CMTNPFIF.js → chunk-Y4N6UQVD.js} +43 -43
  16. package/dist/index.d.mts +2 -2
  17. package/dist/index.d.ts +2 -2
  18. package/dist/index.js +8 -8
  19. package/dist/index.mjs +7 -7
  20. package/dist/plugins/analyze.js +3 -3
  21. package/dist/plugins/analyze.mjs +2 -2
  22. package/dist/plugins/index.js +4 -4
  23. package/dist/plugins/index.mjs +3 -3
  24. package/dist/plugins/ts-resolve.js +3 -3
  25. package/dist/plugins/ts-resolve.mjs +2 -2
  26. package/dist/types-B4rGVLza.d.mts +267 -0
  27. package/dist/types-B4rGVLza.d.ts +267 -0
  28. package/dist/types.d.mts +2 -2
  29. package/dist/types.d.ts +2 -2
  30. package/dist/utilities/copy-assets.d.mts +2 -2
  31. package/dist/utilities/copy-assets.d.ts +2 -2
  32. package/dist/utilities/copy-assets.js +3 -3
  33. package/dist/utilities/copy-assets.mjs +2 -2
  34. package/dist/utilities/generate-package-json.d.mts +2 -2
  35. package/dist/utilities/generate-package-json.d.ts +2 -2
  36. package/dist/utilities/generate-package-json.js +3 -3
  37. package/dist/utilities/generate-package-json.mjs +2 -2
  38. package/dist/utilities/get-entry-points.d.mts +2 -2
  39. package/dist/utilities/get-entry-points.d.ts +2 -2
  40. package/dist/utilities/get-entry-points.js +3 -3
  41. package/dist/utilities/get-entry-points.mjs +2 -2
  42. package/dist/utilities/get-env.d.mts +2 -2
  43. package/dist/utilities/get-env.d.ts +2 -2
  44. package/dist/utilities/index.d.mts +2 -2
  45. package/dist/utilities/index.d.ts +2 -2
  46. package/dist/utilities/index.js +6 -6
  47. package/dist/utilities/index.mjs +5 -5
  48. package/dist/utilities/read-nx-config.js +3 -3
  49. package/dist/utilities/read-nx-config.mjs +2 -2
  50. package/package.json +1 -1
  51. package/dist/types-BTxn49UW.d.mts +0 -1322
  52. package/dist/types-BTxn49UW.d.ts +0 -1322
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.151.7-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.151.8-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 -->
@@ -265,7 +265,7 @@ If this sounds interesting, and you would like to help us in creating the next g
265
265
  var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
266
266
 
267
267
  // ../config/src/schema.ts
268
- import z from "zod";
268
+ import * as z from "zod/v4";
269
269
  var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
270
270
  var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
271
271
  var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
@@ -481,7 +481,7 @@ var stormWorkspaceConfigSchema = z.object({
481
481
  colors: ColorConfigSchema.or(ColorConfigMapSchema).describe(
482
482
  "Storm theme config values used for styling various package elements"
483
483
  ),
484
- extensions: z.record(z.any()).optional().default({}).describe("Configuration of each used extension")
484
+ extensions: z.record(z.string(), z.any()).optional().default({}).describe("Configuration of each used extension")
485
485
  }).describe(
486
486
  "Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
487
487
  );
@@ -2,7 +2,7 @@ import {
2
2
  joinPaths,
3
3
  writeDebug,
4
4
  writeTrace
5
- } from "./chunk-3Z3XGHR2.mjs";
5
+ } from "./chunk-2XBT7L44.mjs";
6
6
 
7
7
  // src/utilities/copy-assets.ts
8
8
  import { CopyAssetsHandler } from "@nx/js/src/utils/assets/copy-assets-handler";
@@ -3,12 +3,12 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkBGIPYCLAjs = require('./chunk-BGIPYCLA.js');
6
+ var _chunkXBURNOOHjs = require('./chunk-XBURNOOH.js');
7
7
 
8
8
  // src/utilities/get-entry-points.ts
9
9
  var _glob = require('glob');
10
10
  var getEntryPoints = async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
11
- const workspaceRoot = config.workspaceRoot || _chunkBGIPYCLAjs.findWorkspaceRoot.call(void 0, );
11
+ const workspaceRoot = config.workspaceRoot || _chunkXBURNOOHjs.findWorkspaceRoot.call(void 0, );
12
12
  const entryPoints = [];
13
13
  if (entry) {
14
14
  if (typeof entry === "string") {
@@ -21,7 +21,7 @@ var getEntryPoints = async (config, projectRoot, sourceRoot, entry, emitOnAll =
21
21
  }
22
22
  if (emitOnAll) {
23
23
  entryPoints.push(
24
- _chunkBGIPYCLAjs.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}")
24
+ _chunkXBURNOOHjs.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}")
25
25
  );
26
26
  }
27
27
  const results = await Promise.all(
@@ -34,12 +34,12 @@ var getEntryPoints = async (config, projectRoot, sourceRoot, entry, emitOnAll =
34
34
  });
35
35
  paths.push(
36
36
  ...files.reduce((ret, filePath) => {
37
- const result = _chunkBGIPYCLAjs.correctPaths.call(void 0,
38
- _chunkBGIPYCLAjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkBGIPYCLAjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkBGIPYCLAjs.correctPaths.call(void 0, projectRoot), "")
37
+ const result = _chunkXBURNOOHjs.correctPaths.call(void 0,
38
+ _chunkXBURNOOHjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkXBURNOOHjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkXBURNOOHjs.correctPaths.call(void 0, projectRoot), "")
39
39
  );
40
40
  if (result) {
41
- _chunkBGIPYCLAjs.writeDebug.call(void 0,
42
- `Trying to add entry point ${result} at "${_chunkBGIPYCLAjs.joinPaths.call(void 0,
41
+ _chunkXBURNOOHjs.writeDebug.call(void 0,
42
+ `Trying to add entry point ${result} at "${_chunkXBURNOOHjs.joinPaths.call(void 0,
43
43
  filePath.path,
44
44
  filePath.name
45
45
  )}"`,
@@ -53,7 +53,7 @@ var getEntryPoints = async (config, projectRoot, sourceRoot, entry, emitOnAll =
53
53
  }, [])
54
54
  );
55
55
  } else {
56
- _chunkBGIPYCLAjs.writeDebug.call(void 0, `Trying to add entry point ${entryPoint}"`, config);
56
+ _chunkXBURNOOHjs.writeDebug.call(void 0, `Trying to add entry point ${entryPoint}"`, config);
57
57
  if (!paths.includes(entryPoint)) {
58
58
  paths.push(entryPoint);
59
59
  }
@@ -2,7 +2,7 @@ import {
2
2
  findWorkspaceRoot,
3
3
  joinPaths,
4
4
  writeTrace
5
- } from "./chunk-3Z3XGHR2.mjs";
5
+ } from "./chunk-2XBT7L44.mjs";
6
6
 
7
7
  // src/utilities/generate-package-json.ts
8
8
  import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildable-libs-utils";
@@ -3,7 +3,7 @@ import {
3
3
  findWorkspaceRoot,
4
4
  joinPaths,
5
5
  writeDebug
6
- } from "./chunk-3Z3XGHR2.mjs";
6
+ } from "./chunk-2XBT7L44.mjs";
7
7
 
8
8
  // src/utilities/get-entry-points.ts
9
9
  import { glob } from "glob";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeInfo
3
- } from "./chunk-3Z3XGHR2.mjs";
3
+ } from "./chunk-2XBT7L44.mjs";
4
4
 
5
5
  // src/plugins/analyze.ts
6
6
  var formatBytes = (bytes) => {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkBGIPYCLAjs = require('./chunk-BGIPYCLA.js');
3
+ var _chunkXBURNOOHjs = require('./chunk-XBURNOOH.js');
4
4
 
5
5
  // src/plugins/analyze.ts
6
6
  var formatBytes = (bytes) => {
@@ -22,7 +22,7 @@ function analyze() {
22
22
  renderChunk(source, chunk) {
23
23
  const sourceBytes = formatBytes(source.length);
24
24
  const fileName = chunk.fileName;
25
- _chunkBGIPYCLAjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`);
25
+ _chunkXBURNOOHjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`);
26
26
  }
27
27
  };
28
28
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkBGIPYCLAjs = require('./chunk-BGIPYCLA.js');
3
+ var _chunkXBURNOOHjs = require('./chunk-XBURNOOH.js');
4
4
 
5
5
  // src/plugins/ts-resolve.ts
6
6
  var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
@@ -26,8 +26,8 @@ var tsResolvePlugin = ({
26
26
  return {
27
27
  name: `storm:ts-resolve`,
28
28
  async resolveId(source, importer) {
29
- _chunkBGIPYCLAjs.writeDebug.call(void 0, `ts-resolve - resolveId source: ${source}`);
30
- _chunkBGIPYCLAjs.writeDebug.call(void 0, `ts-resolve - resolveId importer: ${importer}`);
29
+ _chunkXBURNOOHjs.writeDebug.call(void 0, `ts-resolve - resolveId source: ${source}`);
30
+ _chunkXBURNOOHjs.writeDebug.call(void 0, `ts-resolve - resolveId importer: ${importer}`);
31
31
  if (!importer) {
32
32
  return null;
33
33
  }
@@ -38,7 +38,7 @@ var tsResolvePlugin = ({
38
38
  return false;
39
39
  }
40
40
  if (ignore && ignore(source, importer)) {
41
- _chunkBGIPYCLAjs.writeDebug.call(void 0, `ts-resolve - ignored ${source}`);
41
+ _chunkXBURNOOHjs.writeDebug.call(void 0, `ts-resolve - ignored ${source}`);
42
42
  return null;
43
43
  }
44
44
  if (resolveOnly) {
@@ -47,12 +47,12 @@ var tsResolvePlugin = ({
47
47
  return v.test(source);
48
48
  });
49
49
  if (!shouldResolve) {
50
- _chunkBGIPYCLAjs.writeDebug.call(void 0, `ts-resolve - skipped by matching resolveOnly ${source}`);
50
+ _chunkXBURNOOHjs.writeDebug.call(void 0, `ts-resolve - skipped by matching resolveOnly ${source}`);
51
51
  return null;
52
52
  }
53
53
  }
54
54
  if (_path2.default.isAbsolute(source)) {
55
- _chunkBGIPYCLAjs.writeDebug.call(void 0, `ts-resolve - skipped absolute path: ${source}`);
55
+ _chunkXBURNOOHjs.writeDebug.call(void 0, `ts-resolve - skipped absolute path: ${source}`);
56
56
  return null;
57
57
  }
58
58
  const basedir = importer ? await _fs2.default.promises.realpath(_path2.default.dirname(importer)) : process.cwd();
@@ -81,10 +81,10 @@ var tsResolvePlugin = ({
81
81
  });
82
82
  }
83
83
  if (id) {
84
- _chunkBGIPYCLAjs.writeDebug.call(void 0, `ts-resolve - resolved ${source} to ${id}`);
84
+ _chunkXBURNOOHjs.writeDebug.call(void 0, `ts-resolve - resolved ${source} to ${id}`);
85
85
  return id;
86
86
  }
87
- _chunkBGIPYCLAjs.writeDebug.call(void 0, `ts-resolve - mark ${source} as external`);
87
+ _chunkXBURNOOHjs.writeDebug.call(void 0, `ts-resolve - mark ${source} as external`);
88
88
  return false;
89
89
  }
90
90
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeDebug
3
- } from "./chunk-3Z3XGHR2.mjs";
3
+ } from "./chunk-2XBT7L44.mjs";
4
4
 
5
5
  // src/plugins/ts-resolve.ts
6
6
  import fs from "node:fs";
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkBGIPYCLAjs = require('./chunk-BGIPYCLA.js');
5
+ var _chunkXBURNOOHjs = require('./chunk-XBURNOOH.js');
6
6
 
7
7
  // src/utilities/generate-package-json.ts
8
8
  var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
@@ -42,7 +42,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
42
42
  )) {
43
43
  const projectNode = project.node;
44
44
  if (projectNode.data.root) {
45
- const projectPackageJsonPath = _chunkBGIPYCLAjs.joinPaths.call(void 0,
45
+ const projectPackageJsonPath = _chunkXBURNOOHjs.joinPaths.call(void 0,
46
46
  workspaceRoot,
47
47
  projectNode.data.root,
48
48
  "package.json"
@@ -60,11 +60,11 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
60
60
  }
61
61
  }
62
62
  if (localPackages.length > 0) {
63
- _chunkBGIPYCLAjs.writeTrace.call(void 0,
63
+ _chunkXBURNOOHjs.writeTrace.call(void 0,
64
64
  `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
65
65
  );
66
66
  const projectJsonFile = await _promises.readFile.call(void 0,
67
- _chunkBGIPYCLAjs.joinPaths.call(void 0, projectRoot, "project.json"),
67
+ _chunkXBURNOOHjs.joinPaths.call(void 0, projectRoot, "project.json"),
68
68
  "utf8"
69
69
  );
70
70
  const projectJson = JSON.parse(projectJsonFile);
@@ -77,7 +77,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
77
77
  }
78
78
  const implicitDependencies = _optionalChain([projectConfigurations, 'access', _9 => _9.projects, 'optionalAccess', _10 => _10[projectName2], 'access', _11 => _11.implicitDependencies, 'optionalAccess', _12 => _12.reduce, 'call', _13 => _13((ret, dep) => {
79
79
  if (_optionalChain([projectConfigurations, 'access', _14 => _14.projects, 'optionalAccess', _15 => _15[dep]])) {
80
- const depPackageJsonPath = _chunkBGIPYCLAjs.joinPaths.call(void 0,
80
+ const depPackageJsonPath = _chunkXBURNOOHjs.joinPaths.call(void 0,
81
81
  workspaceRoot,
82
82
  projectConfigurations.projects[dep].root,
83
83
  "package.json"
@@ -108,14 +108,14 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
108
108
  return ret;
109
109
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
110
110
  } else {
111
- _chunkBGIPYCLAjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
111
+ _chunkXBURNOOHjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
112
112
  }
113
113
  return packageJson;
114
114
  };
115
115
  var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
116
- const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkBGIPYCLAjs.findWorkspaceRoot.call(void 0, );
116
+ const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkXBURNOOHjs.findWorkspaceRoot.call(void 0, );
117
117
  const workspacePackageJsonContent = await _promises.readFile.call(void 0,
118
- _chunkBGIPYCLAjs.joinPaths.call(void 0, workspaceRoot, "package.json"),
118
+ _chunkXBURNOOHjs.joinPaths.call(void 0, workspaceRoot, "package.json"),
119
119
  "utf8"
120
120
  );
121
121
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
@@ -126,7 +126,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
126
126
  if (distSrc.startsWith("/")) {
127
127
  distSrc = distSrc.substring(1);
128
128
  }
129
- packageJson.source ??= `${_chunkBGIPYCLAjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
129
+ packageJson.source ??= `${_chunkXBURNOOHjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
130
130
  }
131
131
  packageJson.files ??= ["dist/**/*"];
132
132
  if (includeSrc === true && !packageJson.files.includes("src")) {
@@ -151,7 +151,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
151
151
  packageJson.contributors = [packageJson.author];
152
152
  }
153
153
  packageJson.repository ??= workspacePackageJson.repository;
154
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkBGIPYCLAjs.joinPaths.call(void 0, "packages", projectName);
154
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkXBURNOOHjs.joinPaths.call(void 0, "packages", projectName);
155
155
  return packageJson;
156
156
  };
157
157
  var addPackageJsonExport = (file, type = "module", sourceRoot) => {
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkBGIPYCLAjs = require('./chunk-BGIPYCLA.js');
5
+ var _chunkXBURNOOHjs = require('./chunk-XBURNOOH.js');
6
6
 
7
7
  // src/utilities/copy-assets.ts
8
8
  var _copyassetshandler = require('@nx/js/src/utils/assets/copy-assets-handler');
@@ -34,9 +34,9 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
34
34
  output: "src/"
35
35
  });
36
36
  }
37
- _chunkBGIPYCLAjs.writeTrace.call(void 0,
37
+ _chunkXBURNOOHjs.writeTrace.call(void 0,
38
38
  `\u{1F4DD} Copying the following assets to the output directory:
39
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkBGIPYCLAjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
39
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkXBURNOOHjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
40
40
  config
41
41
  );
42
42
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
@@ -47,18 +47,18 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
47
47
  });
48
48
  await assetHandler.processAllAssetsOnce();
49
49
  if (includeSrc === true) {
50
- _chunkBGIPYCLAjs.writeDebug.call(void 0,
51
- `\u{1F4DD} Adding banner and writing source files: ${_chunkBGIPYCLAjs.joinPaths.call(void 0,
50
+ _chunkXBURNOOHjs.writeDebug.call(void 0,
51
+ `\u{1F4DD} Adding banner and writing source files: ${_chunkXBURNOOHjs.joinPaths.call(void 0,
52
52
  outputPath,
53
53
  "src"
54
54
  )}`,
55
55
  config
56
56
  );
57
57
  const files = await _glob.glob.call(void 0, [
58
- _chunkBGIPYCLAjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
59
- _chunkBGIPYCLAjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
60
- _chunkBGIPYCLAjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
61
- _chunkBGIPYCLAjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
58
+ _chunkXBURNOOHjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
59
+ _chunkXBURNOOHjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
60
+ _chunkXBURNOOHjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
61
+ _chunkXBURNOOHjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
62
62
  ]);
63
63
  await Promise.allSettled(
64
64
  files.map(
@@ -15,7 +15,7 @@ import {
15
15
  stormWorkspaceConfigSchema,
16
16
  writeTrace,
17
17
  writeWarning
18
- } from "./chunk-3Z3XGHR2.mjs";
18
+ } from "./chunk-2XBT7L44.mjs";
19
19
 
20
20
  // ../config-tools/src/config-file/get-config-file.ts
21
21
  import { loadConfig } from "c12";