@storm-software/build-tools 0.137.14 → 0.138.1

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 (34) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-ZWBJ3QXO.mjs → chunk-3I3WDWZ4.mjs} +1 -1
  3. package/dist/{chunk-FDACGSY7.js → chunk-BMUAGPU5.js} +42 -42
  4. package/dist/{chunk-WCO3QBPU.mjs → chunk-BTS6RV2K.mjs} +1 -1
  5. package/dist/{chunk-H5YNRELM.js → chunk-CEH4HHHO.js} +8 -8
  6. package/dist/{chunk-AT5VQPU7.mjs → chunk-D5GFMWKZ.mjs} +1 -1
  7. package/dist/{chunk-F4C6GWFZ.mjs → chunk-ELVC2LRB.mjs} +1 -1
  8. package/dist/{chunk-4ZNMJSP6.mjs → chunk-FHPOA3EV.mjs} +1 -1
  9. package/dist/{chunk-CB3Z4QR7.js → chunk-GB3YOGNY.js} +121 -18
  10. package/dist/{chunk-G76F7ULX.mjs → chunk-JE2JDOPY.mjs} +1 -1
  11. package/dist/{chunk-JESRJ2VN.mjs → chunk-NQMCGFF4.mjs} +125 -22
  12. package/dist/{chunk-VFF57LZ3.js → chunk-NUZNCYWN.js} +2 -2
  13. package/dist/{chunk-QPK3TT3Z.js → chunk-XI75QFWK.js} +8 -8
  14. package/dist/{chunk-K6V4UWY4.js → chunk-XUMVVPIR.js} +5 -5
  15. package/dist/{chunk-EZUWL7BX.js → chunk-ZAPXFKYH.js} +8 -8
  16. package/dist/index.js +8 -8
  17. package/dist/index.mjs +7 -7
  18. package/dist/plugins/analyze.js +3 -3
  19. package/dist/plugins/analyze.mjs +2 -2
  20. package/dist/plugins/index.js +4 -4
  21. package/dist/plugins/index.mjs +3 -3
  22. package/dist/plugins/ts-resolve.js +3 -3
  23. package/dist/plugins/ts-resolve.mjs +2 -2
  24. package/dist/utilities/copy-assets.js +3 -3
  25. package/dist/utilities/copy-assets.mjs +2 -2
  26. package/dist/utilities/generate-package-json.js +3 -3
  27. package/dist/utilities/generate-package-json.mjs +2 -2
  28. package/dist/utilities/get-entry-points.js +3 -3
  29. package/dist/utilities/get-entry-points.mjs +2 -2
  30. package/dist/utilities/index.js +6 -6
  31. package/dist/utilities/index.mjs +5 -5
  32. package/dist/utilities/read-nx-config.js +3 -3
  33. package/dist/utilities/read-nx-config.mjs +2 -2
  34. package/package.json +1 -1
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.137.13-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.138.1-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 -->
@@ -2,7 +2,7 @@ import {
2
2
  findWorkspaceRoot,
3
3
  joinPaths,
4
4
  writeTrace
5
- } from "./chunk-JESRJ2VN.mjs";
5
+ } from "./chunk-NQMCGFF4.mjs";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-O6YSETKJ.mjs";
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- var _chunkCB3Z4QR7js = require('./chunk-CB3Z4QR7.js');
17
+ var _chunkGB3YOGNYjs = require('./chunk-GB3YOGNY.js');
18
18
 
19
19
 
20
20
  var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
@@ -23,7 +23,7 @@ var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
23
23
  var _c12 = require('c12');
24
24
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
25
25
  var getConfigFileByName = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
26
- const workspacePath = filePath || _chunkCB3Z4QR7js.findWorkspaceRoot.call(void 0, filePath);
26
+ const workspacePath = filePath || _chunkGB3YOGNYjs.findWorkspaceRoot.call(void 0, filePath);
27
27
  const configs = await Promise.all([
28
28
  _c12.loadConfig.call(void 0, {
29
29
  cwd: workspacePath,
@@ -32,7 +32,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, a
32
32
  envName: _optionalChain([fileName, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]),
33
33
  jitiOptions: {
34
34
  debug: false,
35
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkCB3Z4QR7js.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
35
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkGB3YOGNYjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
36
36
  },
37
37
  ...options
38
38
  }),
@@ -43,7 +43,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, a
43
43
  envName: _optionalChain([fileName, 'optionalAccess', _3 => _3.toUpperCase, 'call', _4 => _4()]),
44
44
  jitiOptions: {
45
45
  debug: false,
46
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkCB3Z4QR7js.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
46
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkGB3YOGNYjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
47
47
  },
48
48
  configFile: fileName,
49
49
  ...options
@@ -52,12 +52,12 @@ var getConfigFileByName = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, a
52
52
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
53
53
  }, "getConfigFileByName");
54
54
  var getConfigFile = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
55
- const workspacePath = filePath ? filePath : _chunkCB3Z4QR7js.findWorkspaceRoot.call(void 0, filePath);
55
+ const workspacePath = filePath ? filePath : _chunkGB3YOGNYjs.findWorkspaceRoot.call(void 0, filePath);
56
56
  const result = await getConfigFileByName("storm", workspacePath);
57
57
  let config = result.config;
58
58
  const configFile = result.configFile;
59
59
  if (config && configFile && Object.keys(config).length > 0) {
60
- _chunkCB3Z4QR7js.writeTrace.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
60
+ _chunkGB3YOGNYjs.writeTrace.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
61
61
  logLevel: "all"
62
62
  });
63
63
  }
@@ -65,7 +65,7 @@ var getConfigFile = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (
65
65
  const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
66
66
  for (const result2 of results) {
67
67
  if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
68
- _chunkCB3Z4QR7js.writeTrace.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
68
+ _chunkGB3YOGNYjs.writeTrace.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
69
69
  logLevel: "all"
70
70
  });
71
71
  config = _defu2.default.call(void 0, _nullishCoalesce(result2.config, () => ( {})), _nullishCoalesce(config, () => ( {})));
@@ -112,15 +112,15 @@ var getConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, () => {
112
112
  licensing: process.env[`${prefix}LICENSING`] || void 0,
113
113
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
114
114
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
115
- configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkCB3Z4QR7js.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
116
- workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkCB3Z4QR7js.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
115
+ configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkGB3YOGNYjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
116
+ workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkGB3YOGNYjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
117
117
  directories: {
118
- cache: process.env[`${prefix}CACHE_DIR`] ? _chunkCB3Z4QR7js.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
119
- data: process.env[`${prefix}DATA_DIR`] ? _chunkCB3Z4QR7js.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
120
- config: process.env[`${prefix}CONFIG_DIR`] ? _chunkCB3Z4QR7js.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
121
- temp: process.env[`${prefix}TEMP_DIR`] ? _chunkCB3Z4QR7js.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
122
- log: process.env[`${prefix}LOG_DIR`] ? _chunkCB3Z4QR7js.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
123
- build: process.env[`${prefix}BUILD_DIR`] ? _chunkCB3Z4QR7js.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
118
+ cache: process.env[`${prefix}CACHE_DIR`] ? _chunkGB3YOGNYjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
119
+ data: process.env[`${prefix}DATA_DIR`] ? _chunkGB3YOGNYjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
120
+ config: process.env[`${prefix}CONFIG_DIR`] ? _chunkGB3YOGNYjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
121
+ temp: process.env[`${prefix}TEMP_DIR`] ? _chunkGB3YOGNYjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
122
+ log: process.env[`${prefix}LOG_DIR`] ? _chunkGB3YOGNYjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
123
+ build: process.env[`${prefix}BUILD_DIR`] ? _chunkGB3YOGNYjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
124
124
  },
125
125
  skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
126
126
  env: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}ENV`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
@@ -143,23 +143,23 @@ var getConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, () => {
143
143
  cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
144
144
  container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
145
145
  },
146
- logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? _chunkCB3Z4QR7js.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
146
+ logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? _chunkGB3YOGNYjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
147
147
  };
148
- const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkCB3Z4QR7js.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
148
+ const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkGB3YOGNYjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
149
149
  config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
150
150
  ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
151
151
  return ret;
152
152
  }, {}) : getThemeColorConfigEnv(prefix);
153
- if (config.docs === _chunkCB3Z4QR7js.STORM_DEFAULT_DOCS) {
154
- if (config.homepage === _chunkCB3Z4QR7js.STORM_DEFAULT_HOMEPAGE) {
155
- config.docs = `${_chunkCB3Z4QR7js.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
153
+ if (config.docs === _chunkGB3YOGNYjs.STORM_DEFAULT_DOCS) {
154
+ if (config.homepage === _chunkGB3YOGNYjs.STORM_DEFAULT_HOMEPAGE) {
155
+ config.docs = `${_chunkGB3YOGNYjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
156
156
  } else {
157
157
  config.docs = `${config.homepage}/docs`;
158
158
  }
159
159
  }
160
- if (config.licensing === _chunkCB3Z4QR7js.STORM_DEFAULT_LICENSING) {
161
- if (config.homepage === _chunkCB3Z4QR7js.STORM_DEFAULT_HOMEPAGE) {
162
- config.licensing = `${_chunkCB3Z4QR7js.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
160
+ if (config.licensing === _chunkGB3YOGNYjs.STORM_DEFAULT_LICENSING) {
161
+ if (config.homepage === _chunkGB3YOGNYjs.STORM_DEFAULT_HOMEPAGE) {
162
+ config.licensing = `${_chunkGB3YOGNYjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
163
163
  } else {
164
164
  config.licensing = `${config.homepage}/docs`;
165
165
  }
@@ -297,31 +297,31 @@ var setConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (config)
297
297
  process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
298
298
  }
299
299
  if (config.configFile) {
300
- process.env[`${prefix}CONFIG_FILE`] = _chunkCB3Z4QR7js.correctPaths.call(void 0, config.configFile);
300
+ process.env[`${prefix}CONFIG_FILE`] = _chunkGB3YOGNYjs.correctPaths.call(void 0, config.configFile);
301
301
  }
302
302
  if (config.workspaceRoot) {
303
- process.env[`${prefix}WORKSPACE_ROOT`] = _chunkCB3Z4QR7js.correctPaths.call(void 0, config.workspaceRoot);
304
- process.env.NX_WORKSPACE_ROOT = _chunkCB3Z4QR7js.correctPaths.call(void 0, config.workspaceRoot);
305
- process.env.NX_WORKSPACE_ROOT_PATH = _chunkCB3Z4QR7js.correctPaths.call(void 0, config.workspaceRoot);
303
+ process.env[`${prefix}WORKSPACE_ROOT`] = _chunkGB3YOGNYjs.correctPaths.call(void 0, config.workspaceRoot);
304
+ process.env.NX_WORKSPACE_ROOT = _chunkGB3YOGNYjs.correctPaths.call(void 0, config.workspaceRoot);
305
+ process.env.NX_WORKSPACE_ROOT_PATH = _chunkGB3YOGNYjs.correctPaths.call(void 0, config.workspaceRoot);
306
306
  }
307
307
  if (config.directories) {
308
308
  if (!config.skipCache && config.directories.cache) {
309
- process.env[`${prefix}CACHE_DIR`] = _chunkCB3Z4QR7js.correctPaths.call(void 0, config.directories.cache);
309
+ process.env[`${prefix}CACHE_DIR`] = _chunkGB3YOGNYjs.correctPaths.call(void 0, config.directories.cache);
310
310
  }
311
311
  if (config.directories.data) {
312
- process.env[`${prefix}DATA_DIR`] = _chunkCB3Z4QR7js.correctPaths.call(void 0, config.directories.data);
312
+ process.env[`${prefix}DATA_DIR`] = _chunkGB3YOGNYjs.correctPaths.call(void 0, config.directories.data);
313
313
  }
314
314
  if (config.directories.config) {
315
- process.env[`${prefix}CONFIG_DIR`] = _chunkCB3Z4QR7js.correctPaths.call(void 0, config.directories.config);
315
+ process.env[`${prefix}CONFIG_DIR`] = _chunkGB3YOGNYjs.correctPaths.call(void 0, config.directories.config);
316
316
  }
317
317
  if (config.directories.temp) {
318
- process.env[`${prefix}TEMP_DIR`] = _chunkCB3Z4QR7js.correctPaths.call(void 0, config.directories.temp);
318
+ process.env[`${prefix}TEMP_DIR`] = _chunkGB3YOGNYjs.correctPaths.call(void 0, config.directories.temp);
319
319
  }
320
320
  if (config.directories.log) {
321
- process.env[`${prefix}LOG_DIR`] = _chunkCB3Z4QR7js.correctPaths.call(void 0, config.directories.log);
321
+ process.env[`${prefix}LOG_DIR`] = _chunkGB3YOGNYjs.correctPaths.call(void 0, config.directories.log);
322
322
  }
323
323
  if (config.directories.build) {
324
- process.env[`${prefix}BUILD_DIR`] = _chunkCB3Z4QR7js.correctPaths.call(void 0, config.directories.build);
324
+ process.env[`${prefix}BUILD_DIR`] = _chunkGB3YOGNYjs.correctPaths.call(void 0, config.directories.build);
325
325
  }
326
326
  }
327
327
  if (config.skipCache !== void 0) {
@@ -375,8 +375,8 @@ var setConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (config)
375
375
  if (config.logLevel) {
376
376
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
377
377
  process.env.LOG_LEVEL = String(config.logLevel);
378
- process.env.NX_VERBOSE_LOGGING = String(_chunkCB3Z4QR7js.getLogLevel.call(void 0, config.logLevel) >= _chunkCB3Z4QR7js.LogLevel.DEBUG ? true : false);
379
- process.env.RUST_BACKTRACE = _chunkCB3Z4QR7js.getLogLevel.call(void 0, config.logLevel) >= _chunkCB3Z4QR7js.LogLevel.DEBUG ? "full" : "none";
378
+ process.env.NX_VERBOSE_LOGGING = String(_chunkGB3YOGNYjs.getLogLevel.call(void 0, config.logLevel) >= _chunkGB3YOGNYjs.LogLevel.DEBUG ? true : false);
379
+ process.env.RUST_BACKTRACE = _chunkGB3YOGNYjs.getLogLevel.call(void 0, config.logLevel) >= _chunkGB3YOGNYjs.LogLevel.DEBUG ? "full" : "none";
380
380
  }
381
381
  process.env[`${prefix}CONFIG`] = JSON.stringify(config);
382
382
  for (const key of Object.keys(_nullishCoalesce(config.extensions, () => ( {})))) {
@@ -489,17 +489,17 @@ var createStormConfig = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, asy
489
489
  if (!_optionalChain([_static_cache, 'optionalAccess', _29 => _29.data]) || !_optionalChain([_static_cache, 'optionalAccess', _30 => _30.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
490
490
  let _workspaceRoot = workspaceRoot;
491
491
  if (!_workspaceRoot) {
492
- _workspaceRoot = _chunkCB3Z4QR7js.findWorkspaceRoot.call(void 0, );
492
+ _workspaceRoot = _chunkGB3YOGNYjs.findWorkspaceRoot.call(void 0, );
493
493
  }
494
494
  const configEnv = getConfigEnv();
495
- const defaultConfig = await _chunkCB3Z4QR7js.getDefaultConfig.call(void 0, _workspaceRoot);
495
+ const defaultConfig = await _chunkGB3YOGNYjs.getDefaultConfig.call(void 0, _workspaceRoot);
496
496
  const configFile = await getConfigFile(_workspaceRoot);
497
497
  if (!configFile && !skipLogs) {
498
- _chunkCB3Z4QR7js.writeWarning.call(void 0, "No Storm config file found in the current workspace. Please ensure this is the expected behavior - you can add a `storm.json` file to the root of your workspace if it is not.\n", {
498
+ _chunkGB3YOGNYjs.writeWarning.call(void 0, "No Storm config file found in the current workspace. Please ensure this is the expected behavior - you can add a `storm.json` file to the root of your workspace if it is not.\n", {
499
499
  logLevel: "all"
500
500
  });
501
501
  }
502
- result = await _chunkCB3Z4QR7js.StormConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
502
+ result = await _chunkGB3YOGNYjs.StormConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
503
503
  result.workspaceRoot ??= _workspaceRoot;
504
504
  } else {
505
505
  result = _static_cache.data;
@@ -534,8 +534,8 @@ var loadStormConfig = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async
534
534
  const config = await createStormConfig(void 0, void 0, workspaceRoot, skipLogs);
535
535
  setConfigEnv(config);
536
536
  if (!skipLogs) {
537
- _chunkCB3Z4QR7js.writeTrace.call(void 0, `\u2699\uFE0F Using Storm configuration:
538
- ${_chunkCB3Z4QR7js.formatLogMessage.call(void 0, config)}`, config);
537
+ _chunkGB3YOGNYjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm configuration:
538
+ ${_chunkGB3YOGNYjs.formatLogMessage.call(void 0, config)}`, config);
539
539
  }
540
540
  return config;
541
541
  }, "loadStormConfig");
@@ -554,7 +554,7 @@ var readNxConfig = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (w
554
554
  const config = await getConfig();
555
555
  rootDir = config.workspaceRoot;
556
556
  }
557
- const nxJsonPath = _chunkCB3Z4QR7js.joinPaths.call(void 0, rootDir, "nx.json");
557
+ const nxJsonPath = _chunkGB3YOGNYjs.joinPaths.call(void 0, rootDir, "nx.json");
558
558
  if (!_fs.existsSync.call(void 0, nxJsonPath)) {
559
559
  throw new Error("Cannot find project.json configuration");
560
560
  }
@@ -14,7 +14,7 @@ import {
14
14
  joinPaths,
15
15
  writeTrace,
16
16
  writeWarning
17
- } from "./chunk-JESRJ2VN.mjs";
17
+ } from "./chunk-NQMCGFF4.mjs";
18
18
  import {
19
19
  __name
20
20
  } from "./chunk-O6YSETKJ.mjs";
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkCB3Z4QR7js = require('./chunk-CB3Z4QR7.js');
5
+ var _chunkGB3YOGNYjs = require('./chunk-GB3YOGNY.js');
6
6
 
7
7
 
8
8
  var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
@@ -19,7 +19,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0
19
19
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot)) {
20
20
  const projectNode = project.node;
21
21
  if (projectNode.data.root) {
22
- const projectPackageJsonPath = _chunkCB3Z4QR7js.joinPaths.call(void 0, workspaceRoot, projectNode.data.root, "package.json");
22
+ const projectPackageJsonPath = _chunkGB3YOGNYjs.joinPaths.call(void 0, workspaceRoot, projectNode.data.root, "package.json");
23
23
  if (_fs.existsSync.call(void 0, projectPackageJsonPath)) {
24
24
  const projectPackageJsonContent = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
25
25
  const projectPackageJson = JSON.parse(projectPackageJsonContent);
@@ -30,7 +30,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0
30
30
  }
31
31
  }
32
32
  if (localPackages.length > 0) {
33
- _chunkCB3Z4QR7js.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
33
+ _chunkGB3YOGNYjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
34
34
  packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
35
35
  if (!ret[localPackage.name]) {
36
36
  ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
@@ -52,13 +52,13 @@ var addPackageDependencies = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0
52
52
  return ret;
53
53
  }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
54
54
  } else {
55
- _chunkCB3Z4QR7js.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
55
+ _chunkGB3YOGNYjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
56
56
  }
57
57
  return packageJson;
58
58
  }, "addPackageDependencies");
59
59
  var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
60
- const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkCB3Z4QR7js.findWorkspaceRoot.call(void 0, );
61
- const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkCB3Z4QR7js.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
60
+ const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkGB3YOGNYjs.findWorkspaceRoot.call(void 0, );
61
+ const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkGB3YOGNYjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
62
62
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
63
63
  packageJson.type ??= "module";
64
64
  packageJson.sideEffects ??= false;
@@ -67,7 +67,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call
67
67
  if (distSrc.startsWith("/")) {
68
68
  distSrc = distSrc.substring(1);
69
69
  }
70
- packageJson.source ??= `${_chunkCB3Z4QR7js.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
70
+ packageJson.source ??= `${_chunkGB3YOGNYjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
71
71
  }
72
72
  packageJson.files ??= [
73
73
  "dist/**/*"
@@ -98,7 +98,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call
98
98
  ];
99
99
  }
100
100
  packageJson.repository ??= workspacePackageJson.repository;
101
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkCB3Z4QR7js.joinPaths.call(void 0, "packages", projectName);
101
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkGB3YOGNYjs.joinPaths.call(void 0, "packages", projectName);
102
102
  return packageJson;
103
103
  }, "addWorkspacePackageJsonFields");
104
104
  var addPackageJsonExport = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (file, type = "module", sourceRoot) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeDebug
3
- } from "./chunk-JESRJ2VN.mjs";
3
+ } from "./chunk-NQMCGFF4.mjs";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-O6YSETKJ.mjs";
@@ -2,7 +2,7 @@ import {
2
2
  joinPaths,
3
3
  writeDebug,
4
4
  writeTrace
5
- } from "./chunk-JESRJ2VN.mjs";
5
+ } from "./chunk-NQMCGFF4.mjs";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-O6YSETKJ.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  findWorkspaceRoot,
4
4
  joinPaths,
5
5
  writeDebug
6
- } from "./chunk-JESRJ2VN.mjs";
6
+ } from "./chunk-NQMCGFF4.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-O6YSETKJ.mjs";
@@ -3,32 +3,135 @@
3
3
  var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
4
4
 
5
5
  // ../config-tools/src/utilities/correct-paths.ts
6
- var _path = require('path');
7
- var removeWindowsDriveLetter = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (osSpecificPath) => {
8
- return osSpecificPath.replace(/^[A-Z]:/, "");
9
- }, "removeWindowsDriveLetter");
10
- var correctPaths = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (path) => {
11
- if (!path) {
12
- return "";
13
- }
14
- if (path.includes("\\")) {
15
- if (!path.toUpperCase().startsWith("C:")) {
16
- path = `C:${path}`;
6
+ var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
7
+ function normalizeWindowsPath(input = "") {
8
+ if (!input) {
9
+ return input;
10
+ }
11
+ return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
12
+ }
13
+ _chunkSHUYVCIDjs.__name.call(void 0, normalizeWindowsPath, "normalizeWindowsPath");
14
+ var _UNC_REGEX = /^[/\\]{2}/;
15
+ var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
16
+ var _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
17
+ var correctPaths = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, function(path) {
18
+ if (!path || path.length === 0) {
19
+ return ".";
20
+ }
21
+ path = normalizeWindowsPath(path);
22
+ const isUNCPath = path.match(_UNC_REGEX);
23
+ const isPathAbsolute = isAbsolute(path);
24
+ const trailingSeparator = path[path.length - 1] === "/";
25
+ path = normalizeString(path, !isPathAbsolute);
26
+ if (path.length === 0) {
27
+ if (isPathAbsolute) {
28
+ return "/";
17
29
  }
18
- return path.replaceAll("/", "\\");
30
+ return trailingSeparator ? "./" : ".";
31
+ }
32
+ if (trailingSeparator) {
33
+ path += "/";
34
+ }
35
+ if (_DRIVE_LETTER_RE.test(path)) {
36
+ path += "/";
19
37
  }
20
- return removeWindowsDriveLetter(path).split("\\").join("/");
38
+ if (isUNCPath) {
39
+ if (!isPathAbsolute) {
40
+ return `//./${path}`;
41
+ }
42
+ return `//${path}`;
43
+ }
44
+ return isPathAbsolute && !isAbsolute(path) ? `/${path}` : path;
21
45
  }, "correctPaths");
22
- var joinPaths = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (...paths) => {
23
- if (!paths || paths.length === 0) {
24
- return "";
46
+ var joinPaths = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, function(...segments) {
47
+ let path = "";
48
+ for (const seg of segments) {
49
+ if (!seg) {
50
+ continue;
51
+ }
52
+ if (path.length > 0) {
53
+ const pathTrailing = path[path.length - 1] === "/";
54
+ const segLeading = seg[0] === "/";
55
+ const both = pathTrailing && segLeading;
56
+ if (both) {
57
+ path += seg.slice(1);
58
+ } else {
59
+ path += pathTrailing || segLeading ? seg : `/${seg}`;
60
+ }
61
+ } else {
62
+ path += seg;
63
+ }
25
64
  }
26
- return correctPaths(_path.join.call(void 0, ...paths));
65
+ return correctPaths(path);
27
66
  }, "joinPaths");
67
+ function normalizeString(path, allowAboveRoot) {
68
+ let res = "";
69
+ let lastSegmentLength = 0;
70
+ let lastSlash = -1;
71
+ let dots = 0;
72
+ let char = null;
73
+ for (let index = 0; index <= path.length; ++index) {
74
+ if (index < path.length) {
75
+ char = path[index];
76
+ } else if (char === "/") {
77
+ break;
78
+ } else {
79
+ char = "/";
80
+ }
81
+ if (char === "/") {
82
+ if (lastSlash === index - 1 || dots === 1) {
83
+ } else if (dots === 2) {
84
+ if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
85
+ if (res.length > 2) {
86
+ const lastSlashIndex = res.lastIndexOf("/");
87
+ if (lastSlashIndex === -1) {
88
+ res = "";
89
+ lastSegmentLength = 0;
90
+ } else {
91
+ res = res.slice(0, lastSlashIndex);
92
+ lastSegmentLength = res.length - 1 - res.lastIndexOf("/");
93
+ }
94
+ lastSlash = index;
95
+ dots = 0;
96
+ continue;
97
+ } else if (res.length > 0) {
98
+ res = "";
99
+ lastSegmentLength = 0;
100
+ lastSlash = index;
101
+ dots = 0;
102
+ continue;
103
+ }
104
+ }
105
+ if (allowAboveRoot) {
106
+ res += res.length > 0 ? "/.." : "..";
107
+ lastSegmentLength = 2;
108
+ }
109
+ } else {
110
+ if (res.length > 0) {
111
+ res += `/${path.slice(lastSlash + 1, index)}`;
112
+ } else {
113
+ res = path.slice(lastSlash + 1, index);
114
+ }
115
+ lastSegmentLength = index - lastSlash - 1;
116
+ }
117
+ lastSlash = index;
118
+ dots = 0;
119
+ } else if (char === "." && dots !== -1) {
120
+ ++dots;
121
+ } else {
122
+ dots = -1;
123
+ }
124
+ }
125
+ return res;
126
+ }
127
+ _chunkSHUYVCIDjs.__name.call(void 0, normalizeString, "normalizeString");
128
+ var isAbsolute = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, function(p) {
129
+ return _IS_ABSOLUTE_RE.test(p);
130
+ }, "isAbsolute");
28
131
 
29
132
  // ../config-tools/src/utilities/find-up.ts
30
133
  var _fs = require('fs');
31
-
134
+ var _path = require('path');
32
135
  var MAX_PATH_SEARCH_DEPTH = 30;
33
136
  var depth = 0;
34
137
  function findFolderUp(startPath, endFileNames) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeInfo
3
- } from "./chunk-JESRJ2VN.mjs";
3
+ } from "./chunk-NQMCGFF4.mjs";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-O6YSETKJ.mjs";
@@ -3,41 +3,144 @@ import {
3
3
  } from "./chunk-O6YSETKJ.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/correct-paths.ts
6
- import { join } from "node:path";
7
- var removeWindowsDriveLetter = /* @__PURE__ */ __name((osSpecificPath) => {
8
- return osSpecificPath.replace(/^[A-Z]:/, "");
9
- }, "removeWindowsDriveLetter");
10
- var correctPaths = /* @__PURE__ */ __name((path) => {
11
- if (!path) {
12
- return "";
13
- }
14
- if (path.includes("\\")) {
15
- if (!path.toUpperCase().startsWith("C:")) {
16
- path = `C:${path}`;
6
+ var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
7
+ function normalizeWindowsPath(input = "") {
8
+ if (!input) {
9
+ return input;
10
+ }
11
+ return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
12
+ }
13
+ __name(normalizeWindowsPath, "normalizeWindowsPath");
14
+ var _UNC_REGEX = /^[/\\]{2}/;
15
+ var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
16
+ var _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
17
+ var correctPaths = /* @__PURE__ */ __name(function(path) {
18
+ if (!path || path.length === 0) {
19
+ return ".";
20
+ }
21
+ path = normalizeWindowsPath(path);
22
+ const isUNCPath = path.match(_UNC_REGEX);
23
+ const isPathAbsolute = isAbsolute(path);
24
+ const trailingSeparator = path[path.length - 1] === "/";
25
+ path = normalizeString(path, !isPathAbsolute);
26
+ if (path.length === 0) {
27
+ if (isPathAbsolute) {
28
+ return "/";
17
29
  }
18
- return path.replaceAll("/", "\\");
30
+ return trailingSeparator ? "./" : ".";
31
+ }
32
+ if (trailingSeparator) {
33
+ path += "/";
34
+ }
35
+ if (_DRIVE_LETTER_RE.test(path)) {
36
+ path += "/";
19
37
  }
20
- return removeWindowsDriveLetter(path).split("\\").join("/");
38
+ if (isUNCPath) {
39
+ if (!isPathAbsolute) {
40
+ return `//./${path}`;
41
+ }
42
+ return `//${path}`;
43
+ }
44
+ return isPathAbsolute && !isAbsolute(path) ? `/${path}` : path;
21
45
  }, "correctPaths");
22
- var joinPaths = /* @__PURE__ */ __name((...paths) => {
23
- if (!paths || paths.length === 0) {
24
- return "";
46
+ var joinPaths = /* @__PURE__ */ __name(function(...segments) {
47
+ let path = "";
48
+ for (const seg of segments) {
49
+ if (!seg) {
50
+ continue;
51
+ }
52
+ if (path.length > 0) {
53
+ const pathTrailing = path[path.length - 1] === "/";
54
+ const segLeading = seg[0] === "/";
55
+ const both = pathTrailing && segLeading;
56
+ if (both) {
57
+ path += seg.slice(1);
58
+ } else {
59
+ path += pathTrailing || segLeading ? seg : `/${seg}`;
60
+ }
61
+ } else {
62
+ path += seg;
63
+ }
25
64
  }
26
- return correctPaths(join(...paths));
65
+ return correctPaths(path);
27
66
  }, "joinPaths");
67
+ function normalizeString(path, allowAboveRoot) {
68
+ let res = "";
69
+ let lastSegmentLength = 0;
70
+ let lastSlash = -1;
71
+ let dots = 0;
72
+ let char = null;
73
+ for (let index = 0; index <= path.length; ++index) {
74
+ if (index < path.length) {
75
+ char = path[index];
76
+ } else if (char === "/") {
77
+ break;
78
+ } else {
79
+ char = "/";
80
+ }
81
+ if (char === "/") {
82
+ if (lastSlash === index - 1 || dots === 1) {
83
+ } else if (dots === 2) {
84
+ if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
85
+ if (res.length > 2) {
86
+ const lastSlashIndex = res.lastIndexOf("/");
87
+ if (lastSlashIndex === -1) {
88
+ res = "";
89
+ lastSegmentLength = 0;
90
+ } else {
91
+ res = res.slice(0, lastSlashIndex);
92
+ lastSegmentLength = res.length - 1 - res.lastIndexOf("/");
93
+ }
94
+ lastSlash = index;
95
+ dots = 0;
96
+ continue;
97
+ } else if (res.length > 0) {
98
+ res = "";
99
+ lastSegmentLength = 0;
100
+ lastSlash = index;
101
+ dots = 0;
102
+ continue;
103
+ }
104
+ }
105
+ if (allowAboveRoot) {
106
+ res += res.length > 0 ? "/.." : "..";
107
+ lastSegmentLength = 2;
108
+ }
109
+ } else {
110
+ if (res.length > 0) {
111
+ res += `/${path.slice(lastSlash + 1, index)}`;
112
+ } else {
113
+ res = path.slice(lastSlash + 1, index);
114
+ }
115
+ lastSegmentLength = index - lastSlash - 1;
116
+ }
117
+ lastSlash = index;
118
+ dots = 0;
119
+ } else if (char === "." && dots !== -1) {
120
+ ++dots;
121
+ } else {
122
+ dots = -1;
123
+ }
124
+ }
125
+ return res;
126
+ }
127
+ __name(normalizeString, "normalizeString");
128
+ var isAbsolute = /* @__PURE__ */ __name(function(p) {
129
+ return _IS_ABSOLUTE_RE.test(p);
130
+ }, "isAbsolute");
28
131
 
29
132
  // ../config-tools/src/utilities/find-up.ts
30
133
  import { existsSync } from "node:fs";
31
- import { join as join2 } from "node:path";
134
+ import { join } from "node:path";
32
135
  var MAX_PATH_SEARCH_DEPTH = 30;
33
136
  var depth = 0;
34
137
  function findFolderUp(startPath, endFileNames) {
35
138
  const _startPath = startPath ?? process.cwd();
36
- if (endFileNames.some((endFileName) => existsSync(join2(_startPath, endFileName)))) {
139
+ if (endFileNames.some((endFileName) => existsSync(join(_startPath, endFileName)))) {
37
140
  return _startPath;
38
141
  }
39
142
  if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
40
- const parent = join2(_startPath, "..");
143
+ const parent = join(_startPath, "..");
41
144
  return findFolderUp(parent, endFileNames);
42
145
  }
43
146
  return void 0;
@@ -296,7 +399,7 @@ var COLOR_KEYS = [
296
399
  // ../config-tools/src/utilities/get-default-config.ts
297
400
  import { existsSync as existsSync2 } from "node:fs";
298
401
  import { readFile } from "node:fs/promises";
299
- import { join as join3 } from "node:path";
402
+ import { join as join2 } from "node:path";
300
403
  var DEFAULT_COLOR_CONFIG = {
301
404
  "light": {
302
405
  "background": "#fafafa",
@@ -332,7 +435,7 @@ var getDefaultConfig = /* @__PURE__ */ __name(async (root) => {
332
435
  let namespace = void 0;
333
436
  let repository = void 0;
334
437
  const workspaceRoot = findWorkspaceRoot(root);
335
- if (existsSync2(join3(workspaceRoot, "package.json"))) {
438
+ if (existsSync2(join2(workspaceRoot, "package.json"))) {
336
439
  const file = await readFile(joinPaths(workspaceRoot, "package.json"), "utf8");
337
440
  if (file) {
338
441
  const packageJson = JSON.parse(file);
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCB3Z4QR7js = require('./chunk-CB3Z4QR7.js');
3
+ var _chunkGB3YOGNYjs = require('./chunk-GB3YOGNY.js');
4
4
 
5
5
 
6
6
  var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
@@ -30,7 +30,7 @@ function analyze() {
30
30
  renderChunk(source, chunk) {
31
31
  const sourceBytes = formatBytes(source.length);
32
32
  const fileName = chunk.fileName;
33
- _chunkCB3Z4QR7js.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`);
33
+ _chunkGB3YOGNYjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`);
34
34
  }
35
35
  };
36
36
  }
@@ -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 _chunkCB3Z4QR7js = require('./chunk-CB3Z4QR7.js');
3
+ var _chunkGB3YOGNYjs = require('./chunk-GB3YOGNY.js');
4
4
 
5
5
 
6
6
  var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
@@ -25,8 +25,8 @@ var tsResolvePlugin = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, ({ re
25
25
  return {
26
26
  name: `storm:ts-resolve`,
27
27
  async resolveId(source, importer) {
28
- _chunkCB3Z4QR7js.writeDebug.call(void 0, `ts-resolve - resolveId source: ${source}`);
29
- _chunkCB3Z4QR7js.writeDebug.call(void 0, `ts-resolve - resolveId importer: ${importer}`);
28
+ _chunkGB3YOGNYjs.writeDebug.call(void 0, `ts-resolve - resolveId source: ${source}`);
29
+ _chunkGB3YOGNYjs.writeDebug.call(void 0, `ts-resolve - resolveId importer: ${importer}`);
30
30
  if (!importer) {
31
31
  return null;
32
32
  }
@@ -37,7 +37,7 @@ var tsResolvePlugin = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, ({ re
37
37
  return false;
38
38
  }
39
39
  if (ignore && ignore(source, importer)) {
40
- _chunkCB3Z4QR7js.writeDebug.call(void 0, `ts-resolve - ignored ${source}`);
40
+ _chunkGB3YOGNYjs.writeDebug.call(void 0, `ts-resolve - ignored ${source}`);
41
41
  return null;
42
42
  }
43
43
  if (resolveOnly) {
@@ -46,12 +46,12 @@ var tsResolvePlugin = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, ({ re
46
46
  return v.test(source);
47
47
  });
48
48
  if (!shouldResolve) {
49
- _chunkCB3Z4QR7js.writeDebug.call(void 0, `ts-resolve - skipped by matching resolveOnly ${source}`);
49
+ _chunkGB3YOGNYjs.writeDebug.call(void 0, `ts-resolve - skipped by matching resolveOnly ${source}`);
50
50
  return null;
51
51
  }
52
52
  }
53
53
  if (_path2.default.isAbsolute(source)) {
54
- _chunkCB3Z4QR7js.writeDebug.call(void 0, `ts-resolve - skipped absolute path: ${source}`);
54
+ _chunkGB3YOGNYjs.writeDebug.call(void 0, `ts-resolve - skipped absolute path: ${source}`);
55
55
  return null;
56
56
  }
57
57
  const basedir = importer ? await _fs2.default.promises.realpath(_path2.default.dirname(importer)) : process.cwd();
@@ -83,10 +83,10 @@ var tsResolvePlugin = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, ({ re
83
83
  });
84
84
  }
85
85
  if (id) {
86
- _chunkCB3Z4QR7js.writeDebug.call(void 0, `ts-resolve - resolved ${source} to ${id}`);
86
+ _chunkGB3YOGNYjs.writeDebug.call(void 0, `ts-resolve - resolved ${source} to ${id}`);
87
87
  return id;
88
88
  }
89
- _chunkCB3Z4QR7js.writeDebug.call(void 0, `ts-resolve - mark ${source} as external`);
89
+ _chunkGB3YOGNYjs.writeDebug.call(void 0, `ts-resolve - mark ${source} as external`);
90
90
  return false;
91
91
  }
92
92
  };
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkCB3Z4QR7js = require('./chunk-CB3Z4QR7.js');
6
+ var _chunkGB3YOGNYjs = require('./chunk-GB3YOGNY.js');
7
7
 
8
8
 
9
9
  var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
@@ -11,7 +11,7 @@ var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
11
11
  // src/utilities/get-entry-points.ts
12
12
  var _glob = require('glob');
13
13
  var getEntryPoints = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
14
- const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkCB3Z4QR7js.findWorkspaceRoot.call(void 0, );
14
+ const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkGB3YOGNYjs.findWorkspaceRoot.call(void 0, );
15
15
  const entryPoints = [];
16
16
  if (entry) {
17
17
  if (Array.isArray(entry)) {
@@ -23,7 +23,7 @@ var getEntryPoints = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async
23
23
  }
24
24
  }
25
25
  if (emitOnAll) {
26
- entryPoints.push(_chunkCB3Z4QR7js.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
26
+ entryPoints.push(_chunkGB3YOGNYjs.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
27
27
  }
28
28
  const results = [];
29
29
  for (const entryPoint in entryPoints) {
@@ -32,9 +32,9 @@ var getEntryPoints = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async
32
32
  withFileTypes: true
33
33
  });
34
34
  results.push(...files.reduce((ret, filePath) => {
35
- const result = _chunkCB3Z4QR7js.correctPaths.call(void 0, _chunkCB3Z4QR7js.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkCB3Z4QR7js.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkCB3Z4QR7js.correctPaths.call(void 0, projectRoot), ""));
35
+ const result = _chunkGB3YOGNYjs.correctPaths.call(void 0, _chunkGB3YOGNYjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkGB3YOGNYjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkGB3YOGNYjs.correctPaths.call(void 0, projectRoot), ""));
36
36
  if (result) {
37
- _chunkCB3Z4QR7js.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkCB3Z4QR7js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
37
+ _chunkGB3YOGNYjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkGB3YOGNYjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
38
38
  if (!results.includes(result)) {
39
39
  results.push(result);
40
40
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkCB3Z4QR7js = require('./chunk-CB3Z4QR7.js');
5
+ var _chunkGB3YOGNYjs = require('./chunk-GB3YOGNY.js');
6
6
 
7
7
 
8
8
  var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
@@ -37,8 +37,8 @@ var copyAssets = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (con
37
37
  output: "src/"
38
38
  });
39
39
  }
40
- _chunkCB3Z4QR7js.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
41
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkCB3Z4QR7js.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
40
+ _chunkGB3YOGNYjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
41
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkGB3YOGNYjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
42
42
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
43
43
  projectDir: projectRoot,
44
44
  rootDir: config.workspaceRoot,
@@ -47,12 +47,12 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
47
47
  });
48
48
  await assetHandler.processAllAssetsOnce();
49
49
  if (includeSrc === true) {
50
- _chunkCB3Z4QR7js.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkCB3Z4QR7js.joinPaths.call(void 0, outputPath, "src")}`, config);
50
+ _chunkGB3YOGNYjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkGB3YOGNYjs.joinPaths.call(void 0, outputPath, "src")}`, config);
51
51
  const files = await _glob.glob.call(void 0, [
52
- _chunkCB3Z4QR7js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
53
- _chunkCB3Z4QR7js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
54
- _chunkCB3Z4QR7js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
55
- _chunkCB3Z4QR7js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
52
+ _chunkGB3YOGNYjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
53
+ _chunkGB3YOGNYjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
54
+ _chunkGB3YOGNYjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
55
+ _chunkGB3YOGNYjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
56
56
  ]);
57
57
  await Promise.allSettled(files.map(async (file) => _promises.writeFile.call(void 0, file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
58
58
 
package/dist/index.js CHANGED
@@ -1,23 +1,23 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-65HIHTHN.js');
2
2
 
3
3
 
4
- var _chunkFDACGSY7js = require('./chunk-FDACGSY7.js');
4
+ var _chunkBMUAGPU5js = require('./chunk-BMUAGPU5.js');
5
5
 
6
6
 
7
7
 
8
8
  var _chunkJP4YIUPAjs = require('./chunk-JP4YIUPA.js');
9
9
 
10
10
 
11
- var _chunkEZUWL7BXjs = require('./chunk-EZUWL7BX.js');
11
+ var _chunkZAPXFKYHjs = require('./chunk-ZAPXFKYH.js');
12
12
 
13
13
 
14
14
 
15
15
 
16
16
 
17
- var _chunkH5YNRELMjs = require('./chunk-H5YNRELM.js');
17
+ var _chunkCEH4HHHOjs = require('./chunk-CEH4HHHO.js');
18
18
 
19
19
 
20
- var _chunkK6V4UWY4js = require('./chunk-K6V4UWY4.js');
20
+ var _chunkXUMVVPIRjs = require('./chunk-XUMVVPIR.js');
21
21
 
22
22
 
23
23
  var _chunkIZKGYT3Djs = require('./chunk-IZKGYT3D.js');
@@ -43,14 +43,14 @@ require('./chunk-GGNOJ77I.js');
43
43
  require('./chunk-WPFIBCZT.js');
44
44
 
45
45
 
46
- var _chunkVFF57LZ3js = require('./chunk-VFF57LZ3.js');
46
+ var _chunkNUZNCYWNjs = require('./chunk-NUZNCYWN.js');
47
47
 
48
48
 
49
49
  var _chunk2TV7ZJSKjs = require('./chunk-2TV7ZJSK.js');
50
50
 
51
51
 
52
- var _chunkQPK3TT3Zjs = require('./chunk-QPK3TT3Z.js');
53
- require('./chunk-CB3Z4QR7.js');
52
+ var _chunkXI75QFWKjs = require('./chunk-XI75QFWK.js');
53
+ require('./chunk-GB3YOGNY.js');
54
54
 
55
55
 
56
56
  var _chunkY3HRAWPUjs = require('./chunk-Y3HRAWPU.js');
@@ -80,4 +80,4 @@ require('./chunk-SHUYVCID.js');
80
80
 
81
81
 
82
82
 
83
- exports.DEFAULT_COMPILED_BANNER = _chunk2KEW5JJ7js.DEFAULT_COMPILED_BANNER; exports.DEFAULT_ENVIRONMENT = _chunk2KEW5JJ7js.DEFAULT_ENVIRONMENT; exports.DEFAULT_ORGANIZATION = _chunk2KEW5JJ7js.DEFAULT_ORGANIZATION; exports.DEFAULT_PLATFORM = _chunk2KEW5JJ7js.DEFAULT_PLATFORM; exports.DEFAULT_TARGET = _chunk2KEW5JJ7js.DEFAULT_TARGET; exports.addPackageDependencies = _chunkH5YNRELMjs.addPackageDependencies; exports.addPackageJsonExport = _chunkH5YNRELMjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkH5YNRELMjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkH5YNRELMjs.addWorkspacePackageJsonFields; exports.analyze = _chunkVFF57LZ3js.analyze; exports.copyAssets = _chunkEZUWL7BXjs.copyAssets; exports.createTaskId = _chunkJP4YIUPAjs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkJP4YIUPAjs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkK6V4UWY4js.getEntryPoints; exports.getEnv = _chunkIZKGYT3Djs.getEnv; exports.getExternalDependencies = _chunkVSAQXEXDjs.getExternalDependencies; exports.getExtraDependencies = _chunkVSAQXEXDjs.getExtraDependencies; exports.getFileBanner = _chunkPBTSVWXLjs.getFileBanner; exports.getInternalDependencies = _chunkVSAQXEXDjs.getInternalDependencies; exports.getOutExtension = _chunkTWCCJQYFjs.getOutExtension; exports.readNxConfig = _chunkFDACGSY7js.readNxConfig; exports.swc = _chunk2TV7ZJSKjs.swc; exports.tsResolvePlugin = _chunkQPK3TT3Zjs.tsResolvePlugin; exports.typeDefinitions = _chunkY3HRAWPUjs.typeDefinitions;
83
+ exports.DEFAULT_COMPILED_BANNER = _chunk2KEW5JJ7js.DEFAULT_COMPILED_BANNER; exports.DEFAULT_ENVIRONMENT = _chunk2KEW5JJ7js.DEFAULT_ENVIRONMENT; exports.DEFAULT_ORGANIZATION = _chunk2KEW5JJ7js.DEFAULT_ORGANIZATION; exports.DEFAULT_PLATFORM = _chunk2KEW5JJ7js.DEFAULT_PLATFORM; exports.DEFAULT_TARGET = _chunk2KEW5JJ7js.DEFAULT_TARGET; exports.addPackageDependencies = _chunkCEH4HHHOjs.addPackageDependencies; exports.addPackageJsonExport = _chunkCEH4HHHOjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkCEH4HHHOjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkCEH4HHHOjs.addWorkspacePackageJsonFields; exports.analyze = _chunkNUZNCYWNjs.analyze; exports.copyAssets = _chunkZAPXFKYHjs.copyAssets; exports.createTaskId = _chunkJP4YIUPAjs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkJP4YIUPAjs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkXUMVVPIRjs.getEntryPoints; exports.getEnv = _chunkIZKGYT3Djs.getEnv; exports.getExternalDependencies = _chunkVSAQXEXDjs.getExternalDependencies; exports.getExtraDependencies = _chunkVSAQXEXDjs.getExtraDependencies; exports.getFileBanner = _chunkPBTSVWXLjs.getFileBanner; exports.getInternalDependencies = _chunkVSAQXEXDjs.getInternalDependencies; exports.getOutExtension = _chunkTWCCJQYFjs.getOutExtension; exports.readNxConfig = _chunkBMUAGPU5js.readNxConfig; exports.swc = _chunk2TV7ZJSKjs.swc; exports.tsResolvePlugin = _chunkXI75QFWKjs.tsResolvePlugin; exports.typeDefinitions = _chunkY3HRAWPUjs.typeDefinitions;
package/dist/index.mjs CHANGED
@@ -1,23 +1,23 @@
1
1
  import "./chunk-KVP3YMX6.mjs";
2
2
  import {
3
3
  readNxConfig
4
- } from "./chunk-WCO3QBPU.mjs";
4
+ } from "./chunk-BTS6RV2K.mjs";
5
5
  import {
6
6
  createTaskId,
7
7
  getAllWorkspaceTaskGraphs
8
8
  } from "./chunk-67VZRCF5.mjs";
9
9
  import {
10
10
  copyAssets
11
- } from "./chunk-F4C6GWFZ.mjs";
11
+ } from "./chunk-ELVC2LRB.mjs";
12
12
  import {
13
13
  addPackageDependencies,
14
14
  addPackageJsonExport,
15
15
  addPackageJsonExports,
16
16
  addWorkspacePackageJsonFields
17
- } from "./chunk-ZWBJ3QXO.mjs";
17
+ } from "./chunk-3I3WDWZ4.mjs";
18
18
  import {
19
19
  getEntryPoints
20
- } from "./chunk-4ZNMJSP6.mjs";
20
+ } from "./chunk-FHPOA3EV.mjs";
21
21
  import {
22
22
  getEnv
23
23
  } from "./chunk-ZLC5KVQE.mjs";
@@ -43,14 +43,14 @@ import "./chunk-WAXGOBY2.mjs";
43
43
  import "./chunk-UN3B7LBV.mjs";
44
44
  import {
45
45
  analyze
46
- } from "./chunk-G76F7ULX.mjs";
46
+ } from "./chunk-JE2JDOPY.mjs";
47
47
  import {
48
48
  swc
49
49
  } from "./chunk-LCPSDCDB.mjs";
50
50
  import {
51
51
  tsResolvePlugin
52
- } from "./chunk-AT5VQPU7.mjs";
53
- import "./chunk-JESRJ2VN.mjs";
52
+ } from "./chunk-D5GFMWKZ.mjs";
53
+ import "./chunk-NQMCGFF4.mjs";
54
54
  import {
55
55
  typeDefinitions
56
56
  } from "./chunk-VQUREEMI.mjs";
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkVFF57LZ3js = require('../chunk-VFF57LZ3.js');
4
- require('../chunk-CB3Z4QR7.js');
3
+ var _chunkNUZNCYWNjs = require('../chunk-NUZNCYWN.js');
4
+ require('../chunk-GB3YOGNY.js');
5
5
  require('../chunk-SHUYVCID.js');
6
6
 
7
7
 
8
- exports.analyze = _chunkVFF57LZ3js.analyze;
8
+ exports.analyze = _chunkNUZNCYWNjs.analyze;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  analyze
3
- } from "../chunk-G76F7ULX.mjs";
4
- import "../chunk-JESRJ2VN.mjs";
3
+ } from "../chunk-JE2JDOPY.mjs";
4
+ import "../chunk-NQMCGFF4.mjs";
5
5
  import "../chunk-O6YSETKJ.mjs";
6
6
  export {
7
7
  analyze
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-WPFIBCZT.js');
2
2
 
3
3
 
4
- var _chunkVFF57LZ3js = require('../chunk-VFF57LZ3.js');
4
+ var _chunkNUZNCYWNjs = require('../chunk-NUZNCYWN.js');
5
5
 
6
6
 
7
7
  var _chunk2TV7ZJSKjs = require('../chunk-2TV7ZJSK.js');
8
8
 
9
9
 
10
- var _chunkQPK3TT3Zjs = require('../chunk-QPK3TT3Z.js');
11
- require('../chunk-CB3Z4QR7.js');
10
+ var _chunkXI75QFWKjs = require('../chunk-XI75QFWK.js');
11
+ require('../chunk-GB3YOGNY.js');
12
12
 
13
13
 
14
14
  var _chunkY3HRAWPUjs = require('../chunk-Y3HRAWPU.js');
@@ -18,4 +18,4 @@ require('../chunk-SHUYVCID.js');
18
18
 
19
19
 
20
20
 
21
- exports.analyze = _chunkVFF57LZ3js.analyze; exports.swc = _chunk2TV7ZJSKjs.swc; exports.tsResolvePlugin = _chunkQPK3TT3Zjs.tsResolvePlugin; exports.typeDefinitions = _chunkY3HRAWPUjs.typeDefinitions;
21
+ exports.analyze = _chunkNUZNCYWNjs.analyze; exports.swc = _chunk2TV7ZJSKjs.swc; exports.tsResolvePlugin = _chunkXI75QFWKjs.tsResolvePlugin; exports.typeDefinitions = _chunkY3HRAWPUjs.typeDefinitions;
@@ -1,14 +1,14 @@
1
1
  import "../chunk-UN3B7LBV.mjs";
2
2
  import {
3
3
  analyze
4
- } from "../chunk-G76F7ULX.mjs";
4
+ } from "../chunk-JE2JDOPY.mjs";
5
5
  import {
6
6
  swc
7
7
  } from "../chunk-LCPSDCDB.mjs";
8
8
  import {
9
9
  tsResolvePlugin
10
- } from "../chunk-AT5VQPU7.mjs";
11
- import "../chunk-JESRJ2VN.mjs";
10
+ } from "../chunk-D5GFMWKZ.mjs";
11
+ import "../chunk-NQMCGFF4.mjs";
12
12
  import {
13
13
  typeDefinitions
14
14
  } from "../chunk-VQUREEMI.mjs";
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkQPK3TT3Zjs = require('../chunk-QPK3TT3Z.js');
4
- require('../chunk-CB3Z4QR7.js');
3
+ var _chunkXI75QFWKjs = require('../chunk-XI75QFWK.js');
4
+ require('../chunk-GB3YOGNY.js');
5
5
  require('../chunk-SHUYVCID.js');
6
6
 
7
7
 
8
- exports.tsResolvePlugin = _chunkQPK3TT3Zjs.tsResolvePlugin;
8
+ exports.tsResolvePlugin = _chunkXI75QFWKjs.tsResolvePlugin;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  tsResolvePlugin
3
- } from "../chunk-AT5VQPU7.mjs";
4
- import "../chunk-JESRJ2VN.mjs";
3
+ } from "../chunk-D5GFMWKZ.mjs";
4
+ import "../chunk-NQMCGFF4.mjs";
5
5
  import "../chunk-O6YSETKJ.mjs";
6
6
  export {
7
7
  tsResolvePlugin
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkEZUWL7BXjs = require('../chunk-EZUWL7BX.js');
4
- require('../chunk-CB3Z4QR7.js');
3
+ var _chunkZAPXFKYHjs = require('../chunk-ZAPXFKYH.js');
4
+ require('../chunk-GB3YOGNY.js');
5
5
  require('../chunk-SHUYVCID.js');
6
6
 
7
7
 
8
- exports.copyAssets = _chunkEZUWL7BXjs.copyAssets;
8
+ exports.copyAssets = _chunkZAPXFKYHjs.copyAssets;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  copyAssets
3
- } from "../chunk-F4C6GWFZ.mjs";
4
- import "../chunk-JESRJ2VN.mjs";
3
+ } from "../chunk-ELVC2LRB.mjs";
4
+ import "../chunk-NQMCGFF4.mjs";
5
5
  import "../chunk-O6YSETKJ.mjs";
6
6
  export {
7
7
  copyAssets
@@ -3,12 +3,12 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkH5YNRELMjs = require('../chunk-H5YNRELM.js');
7
- require('../chunk-CB3Z4QR7.js');
6
+ var _chunkCEH4HHHOjs = require('../chunk-CEH4HHHO.js');
7
+ require('../chunk-GB3YOGNY.js');
8
8
  require('../chunk-SHUYVCID.js');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- exports.addPackageDependencies = _chunkH5YNRELMjs.addPackageDependencies; exports.addPackageJsonExport = _chunkH5YNRELMjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkH5YNRELMjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkH5YNRELMjs.addWorkspacePackageJsonFields;
14
+ exports.addPackageDependencies = _chunkCEH4HHHOjs.addPackageDependencies; exports.addPackageJsonExport = _chunkCEH4HHHOjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkCEH4HHHOjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkCEH4HHHOjs.addWorkspacePackageJsonFields;
@@ -3,8 +3,8 @@ import {
3
3
  addPackageJsonExport,
4
4
  addPackageJsonExports,
5
5
  addWorkspacePackageJsonFields
6
- } from "../chunk-ZWBJ3QXO.mjs";
7
- import "../chunk-JESRJ2VN.mjs";
6
+ } from "../chunk-3I3WDWZ4.mjs";
7
+ import "../chunk-NQMCGFF4.mjs";
8
8
  import "../chunk-O6YSETKJ.mjs";
9
9
  export {
10
10
  addPackageDependencies,
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkK6V4UWY4js = require('../chunk-K6V4UWY4.js');
4
- require('../chunk-CB3Z4QR7.js');
3
+ var _chunkXUMVVPIRjs = require('../chunk-XUMVVPIR.js');
4
+ require('../chunk-GB3YOGNY.js');
5
5
  require('../chunk-SHUYVCID.js');
6
6
 
7
7
 
8
- exports.getEntryPoints = _chunkK6V4UWY4js.getEntryPoints;
8
+ exports.getEntryPoints = _chunkXUMVVPIRjs.getEntryPoints;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getEntryPoints
3
- } from "../chunk-4ZNMJSP6.mjs";
4
- import "../chunk-JESRJ2VN.mjs";
3
+ } from "../chunk-FHPOA3EV.mjs";
4
+ import "../chunk-NQMCGFF4.mjs";
5
5
  import "../chunk-O6YSETKJ.mjs";
6
6
  export {
7
7
  getEntryPoints
@@ -1,23 +1,23 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-65HIHTHN.js');
2
2
 
3
3
 
4
- var _chunkFDACGSY7js = require('../chunk-FDACGSY7.js');
4
+ var _chunkBMUAGPU5js = require('../chunk-BMUAGPU5.js');
5
5
 
6
6
 
7
7
 
8
8
  var _chunkJP4YIUPAjs = require('../chunk-JP4YIUPA.js');
9
9
 
10
10
 
11
- var _chunkEZUWL7BXjs = require('../chunk-EZUWL7BX.js');
11
+ var _chunkZAPXFKYHjs = require('../chunk-ZAPXFKYH.js');
12
12
 
13
13
 
14
14
 
15
15
 
16
16
 
17
- var _chunkH5YNRELMjs = require('../chunk-H5YNRELM.js');
17
+ var _chunkCEH4HHHOjs = require('../chunk-CEH4HHHO.js');
18
18
 
19
19
 
20
- var _chunkK6V4UWY4js = require('../chunk-K6V4UWY4.js');
20
+ var _chunkXUMVVPIRjs = require('../chunk-XUMVVPIR.js');
21
21
 
22
22
 
23
23
  var _chunkIZKGYT3Djs = require('../chunk-IZKGYT3D.js');
@@ -33,7 +33,7 @@ var _chunkTWCCJQYFjs = require('../chunk-TWCCJQYF.js');
33
33
 
34
34
  var _chunkVSAQXEXDjs = require('../chunk-VSAQXEXD.js');
35
35
  require('../chunk-2KEW5JJ7.js');
36
- require('../chunk-CB3Z4QR7.js');
36
+ require('../chunk-GB3YOGNY.js');
37
37
  require('../chunk-SHUYVCID.js');
38
38
 
39
39
 
@@ -51,4 +51,4 @@ require('../chunk-SHUYVCID.js');
51
51
 
52
52
 
53
53
 
54
- exports.addPackageDependencies = _chunkH5YNRELMjs.addPackageDependencies; exports.addPackageJsonExport = _chunkH5YNRELMjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkH5YNRELMjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkH5YNRELMjs.addWorkspacePackageJsonFields; exports.copyAssets = _chunkEZUWL7BXjs.copyAssets; exports.createTaskId = _chunkJP4YIUPAjs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkJP4YIUPAjs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkK6V4UWY4js.getEntryPoints; exports.getEnv = _chunkIZKGYT3Djs.getEnv; exports.getExternalDependencies = _chunkVSAQXEXDjs.getExternalDependencies; exports.getExtraDependencies = _chunkVSAQXEXDjs.getExtraDependencies; exports.getFileBanner = _chunkPBTSVWXLjs.getFileBanner; exports.getInternalDependencies = _chunkVSAQXEXDjs.getInternalDependencies; exports.getOutExtension = _chunkTWCCJQYFjs.getOutExtension; exports.readNxConfig = _chunkFDACGSY7js.readNxConfig;
54
+ exports.addPackageDependencies = _chunkCEH4HHHOjs.addPackageDependencies; exports.addPackageJsonExport = _chunkCEH4HHHOjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkCEH4HHHOjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkCEH4HHHOjs.addWorkspacePackageJsonFields; exports.copyAssets = _chunkZAPXFKYHjs.copyAssets; exports.createTaskId = _chunkJP4YIUPAjs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkJP4YIUPAjs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkXUMVVPIRjs.getEntryPoints; exports.getEnv = _chunkIZKGYT3Djs.getEnv; exports.getExternalDependencies = _chunkVSAQXEXDjs.getExternalDependencies; exports.getExtraDependencies = _chunkVSAQXEXDjs.getExtraDependencies; exports.getFileBanner = _chunkPBTSVWXLjs.getFileBanner; exports.getInternalDependencies = _chunkVSAQXEXDjs.getInternalDependencies; exports.getOutExtension = _chunkTWCCJQYFjs.getOutExtension; exports.readNxConfig = _chunkBMUAGPU5js.readNxConfig;
@@ -1,23 +1,23 @@
1
1
  import "../chunk-KVP3YMX6.mjs";
2
2
  import {
3
3
  readNxConfig
4
- } from "../chunk-WCO3QBPU.mjs";
4
+ } from "../chunk-BTS6RV2K.mjs";
5
5
  import {
6
6
  createTaskId,
7
7
  getAllWorkspaceTaskGraphs
8
8
  } from "../chunk-67VZRCF5.mjs";
9
9
  import {
10
10
  copyAssets
11
- } from "../chunk-F4C6GWFZ.mjs";
11
+ } from "../chunk-ELVC2LRB.mjs";
12
12
  import {
13
13
  addPackageDependencies,
14
14
  addPackageJsonExport,
15
15
  addPackageJsonExports,
16
16
  addWorkspacePackageJsonFields
17
- } from "../chunk-ZWBJ3QXO.mjs";
17
+ } from "../chunk-3I3WDWZ4.mjs";
18
18
  import {
19
19
  getEntryPoints
20
- } from "../chunk-4ZNMJSP6.mjs";
20
+ } from "../chunk-FHPOA3EV.mjs";
21
21
  import {
22
22
  getEnv
23
23
  } from "../chunk-ZLC5KVQE.mjs";
@@ -33,7 +33,7 @@ import {
33
33
  getInternalDependencies
34
34
  } from "../chunk-ZW5JWBA4.mjs";
35
35
  import "../chunk-YGULBW26.mjs";
36
- import "../chunk-JESRJ2VN.mjs";
36
+ import "../chunk-NQMCGFF4.mjs";
37
37
  import "../chunk-O6YSETKJ.mjs";
38
38
  export {
39
39
  addPackageDependencies,
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkFDACGSY7js = require('../chunk-FDACGSY7.js');
4
- require('../chunk-CB3Z4QR7.js');
3
+ var _chunkBMUAGPU5js = require('../chunk-BMUAGPU5.js');
4
+ require('../chunk-GB3YOGNY.js');
5
5
  require('../chunk-SHUYVCID.js');
6
6
 
7
7
 
8
- exports.readNxConfig = _chunkFDACGSY7js.readNxConfig;
8
+ exports.readNxConfig = _chunkBMUAGPU5js.readNxConfig;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  readNxConfig
3
- } from "../chunk-WCO3QBPU.mjs";
4
- import "../chunk-JESRJ2VN.mjs";
3
+ } from "../chunk-BTS6RV2K.mjs";
4
+ import "../chunk-NQMCGFF4.mjs";
5
5
  import "../chunk-O6YSETKJ.mjs";
6
6
  export {
7
7
  readNxConfig
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/build-tools",
3
- "version": "0.137.14",
3
+ "version": "0.138.1",
4
4
  "description": "A comprehensive set of tools for building and managing projects within a Storm workspace. Includes builders such as rollup, rolldown, tsup, and unbuild, along with various utilities.",
5
5
  "repository": {
6
6
  "type": "github",