@storm-software/esbuild 0.47.6 → 0.47.8

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 (55) hide show
  1. package/README.md +1 -1
  2. package/bin/esbuild.cjs +79 -190
  3. package/dist/assets.cjs +6 -6
  4. package/dist/assets.js +5 -5
  5. package/dist/build.cjs +12 -13
  6. package/dist/build.js +11 -12
  7. package/dist/chunk-35CZ4A75.cjs +94 -0
  8. package/dist/{chunk-WQ3UV5CE.cjs → chunk-3IYN4AMY.cjs} +64 -64
  9. package/dist/{chunk-46KVHK5G.cjs → chunk-4WZ6P6VK.cjs} +2 -2
  10. package/dist/{chunk-KVRTFBTL.js → chunk-4ZDNVWJS.js} +2 -2
  11. package/dist/{chunk-L6FX7336.js → chunk-AVHH6S4L.js} +5 -5
  12. package/dist/{chunk-VJHTVG7F.js → chunk-C53NNT43.js} +4 -4
  13. package/dist/{chunk-IPGUYQJR.js → chunk-DQCFGOUF.js} +3 -3
  14. package/dist/{chunk-ZKNTC3HX.js → chunk-E7YPFD24.js} +1 -1
  15. package/dist/{chunk-QVVISOIX.cjs → chunk-FJY2SITF.cjs} +5 -5
  16. package/dist/{chunk-ZTXUCRQI.cjs → chunk-HLI6PFBX.cjs} +87 -85
  17. package/dist/chunk-KOTL3LZB.cjs +6 -0
  18. package/dist/{chunk-VAO4QKEE.js → chunk-KSMSESIB.js} +10 -41
  19. package/dist/{chunk-ZDESEGGN.js → chunk-LVW5LEAH.js} +2 -2
  20. package/dist/{chunk-KN6VYOCG.cjs → chunk-MFN3SHAN.cjs} +18 -18
  21. package/dist/{chunk-KRQE5BEE.cjs → chunk-NNPOK4ZA.cjs} +2 -2
  22. package/dist/{chunk-47WNZ6KT.js → chunk-NO5VVOAS.js} +2 -2
  23. package/dist/{chunk-KVLFERWL.cjs → chunk-NXEDGL2L.cjs} +5 -5
  24. package/dist/{chunk-RXXWO456.js → chunk-OHR2A47N.js} +1 -1
  25. package/dist/{chunk-ICYKKALZ.cjs → chunk-RHU3X337.cjs} +7 -7
  26. package/dist/{chunk-X7PWPAJM.cjs → chunk-SUEOLCXE.cjs} +9 -9
  27. package/dist/{chunk-KANU5TF6.js → chunk-U7RMK5ET.js} +15 -15
  28. package/dist/{chunk-AQMXDBIP.js → chunk-UUUQVVRP.js} +1 -1
  29. package/dist/{chunk-BGYYR2GS.js → chunk-V4V6EEGM.js} +9 -7
  30. package/dist/{chunk-3AGYI4VF.cjs → chunk-WTG24PW3.cjs} +13 -13
  31. package/dist/clean.cjs +4 -4
  32. package/dist/clean.js +3 -3
  33. package/dist/config.cjs +6 -6
  34. package/dist/config.js +5 -5
  35. package/dist/context.cjs +7 -7
  36. package/dist/context.js +6 -6
  37. package/dist/index.cjs +14 -15
  38. package/dist/index.js +12 -13
  39. package/dist/package-json.cjs +6 -6
  40. package/dist/package-json.js +5 -5
  41. package/dist/plugins/deps-check.cjs +91 -5
  42. package/dist/plugins/deps-check.js +90 -4
  43. package/dist/plugins/resolve-paths.cjs +11 -11
  44. package/dist/plugins/resolve-paths.js +2 -2
  45. package/dist/tsup.cjs +5 -5
  46. package/dist/tsup.js +4 -4
  47. package/dist/types.cjs +2 -2
  48. package/dist/types.js +2 -2
  49. package/dist/watch.cjs +6 -6
  50. package/dist/watch.js +2 -2
  51. package/package.json +9 -9
  52. package/dist/chunk-2SJSYCMS.cjs +0 -6
  53. package/dist/chunk-EK3ZTIFX.cjs +0 -125
  54. package/dist/chunk-FRKTWYQJ.js +0 -95
  55. package/dist/chunk-PFWT2TZY.cjs +0 -95
@@ -1,24 +1,24 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkQVVISOIXcjs = require('./chunk-QVVISOIX.cjs');
3
+ var _chunkFJY2SITFcjs = require('./chunk-FJY2SITF.cjs');
4
4
 
5
5
 
6
6
 
7
- var _chunkZTXUCRQIcjs = require('./chunk-ZTXUCRQI.cjs');
7
+ var _chunkHLI6PFBXcjs = require('./chunk-HLI6PFBX.cjs');
8
8
 
9
9
 
10
- var _chunkKRQE5BEEcjs = require('./chunk-KRQE5BEE.cjs');
10
+ var _chunkNNPOK4ZAcjs = require('./chunk-NNPOK4ZA.cjs');
11
11
 
12
12
 
13
13
 
14
14
 
15
- var _chunkX7PWPAJMcjs = require('./chunk-X7PWPAJM.cjs');
15
+ var _chunkSUEOLCXEcjs = require('./chunk-SUEOLCXE.cjs');
16
16
 
17
17
 
18
- var _chunk46KVHK5Gcjs = require('./chunk-46KVHK5G.cjs');
18
+ var _chunk4WZ6P6VKcjs = require('./chunk-4WZ6P6VK.cjs');
19
19
 
20
20
  // src/context.ts
21
- _chunk46KVHK5Gcjs.init_cjs_shims.call(void 0, );
21
+ _chunk4WZ6P6VKcjs.init_cjs_shims.call(void 0, );
22
22
 
23
23
 
24
24
 
@@ -33,15 +33,15 @@ async function resolveContext(userOptions) {
33
33
  if (!workspaceRoot) {
34
34
  throw new Error("Cannot find Nx workspace root");
35
35
  }
36
- const workspaceConfig = await _chunkZTXUCRQIcjs.getWorkspaceConfig.call(void 0, true, {
36
+ const workspaceConfig = await _chunkHLI6PFBXcjs.getWorkspaceConfig.call(void 0, true, {
37
37
  workspaceRoot: workspaceRoot.dir
38
38
  });
39
- _chunkX7PWPAJMcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
40
- const stopwatch = _chunkX7PWPAJMcjs.getStopwatch.call(void 0, "Build options resolution");
39
+ _chunkSUEOLCXEcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
40
+ const stopwatch = _chunkSUEOLCXEcjs.getStopwatch.call(void 0, "Build options resolution");
41
41
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
42
42
  exitOnError: true
43
43
  });
44
- const projectJsonPath = _chunkKRQE5BEEcjs.joinPaths.call(void 0,
44
+ const projectJsonPath = _chunkNNPOK4ZAcjs.joinPaths.call(void 0,
45
45
  workspaceRoot.dir,
46
46
  projectRoot,
47
47
  "project.json"
@@ -58,9 +58,9 @@ async function resolveContext(userOptions) {
58
58
  "The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project."
59
59
  );
60
60
  }
61
- const options = _defu2.default.call(void 0, userOptions, _chunkQVVISOIXcjs.DEFAULT_BUILD_OPTIONS);
61
+ const options = _defu2.default.call(void 0, userOptions, _chunkFJY2SITFcjs.DEFAULT_BUILD_OPTIONS);
62
62
  options.name ??= projectName;
63
- const packageJsonPath = _chunkKRQE5BEEcjs.joinPaths.call(void 0,
63
+ const packageJsonPath = _chunkNNPOK4ZAcjs.joinPaths.call(void 0,
64
64
  workspaceRoot.dir,
65
65
  options.projectRoot,
66
66
  "package.json"
@@ -68,11 +68,11 @@ async function resolveContext(userOptions) {
68
68
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
69
69
  throw new Error("Cannot find package.json configuration");
70
70
  }
71
- const env = _chunkZTXUCRQIcjs.getEnv.call(void 0, "esbuild", options);
71
+ const env = _chunkHLI6PFBXcjs.getEnv.call(void 0, "esbuild", options);
72
72
  const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
73
73
  const resolvedOptions = {
74
74
  ...options,
75
- tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkKRQE5BEEcjs.joinPaths.call(void 0, workspaceRoot.dir, projectRoot, "tsconfig.json"),
75
+ tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkNNPOK4ZAcjs.joinPaths.call(void 0, workspaceRoot.dir, projectRoot, "tsconfig.json"),
76
76
  metafile: userOptions.mode === "development",
77
77
  clean: false,
78
78
  env,
@@ -97,8 +97,8 @@ async function resolveContext(userOptions) {
97
97
  projectConfigurations,
98
98
  projectName,
99
99
  projectGraph,
100
- sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkKRQE5BEEcjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
101
- outputPath: resolvedOptions.outputPath || _chunkKRQE5BEEcjs.joinPaths.call(void 0,
100
+ sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkNNPOK4ZAcjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
101
+ outputPath: resolvedOptions.outputPath || _chunkNNPOK4ZAcjs.joinPaths.call(void 0,
102
102
  workspaceConfig.workspaceRoot,
103
103
  "dist",
104
104
  resolvedOptions.projectRoot
@@ -107,10 +107,10 @@ async function resolveContext(userOptions) {
107
107
  };
108
108
  context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
109
109
  if (context.options.verbose) {
110
- _chunkX7PWPAJMcjs.writeDebug.call(void 0,
110
+ _chunkSUEOLCXEcjs.writeDebug.call(void 0,
111
111
  ` \u2699\uFE0F Build options resolved:
112
112
 
113
- ${_chunkX7PWPAJMcjs.formatLogMessage.call(void 0, context.options)}`,
113
+ ${_chunkSUEOLCXEcjs.formatLogMessage.call(void 0, context.options)}`,
114
114
  workspaceConfig
115
115
  );
116
116
  }
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk46KVHK5Gcjs = require('./chunk-46KVHK5G.cjs');
3
+ var _chunk4WZ6P6VKcjs = require('./chunk-4WZ6P6VK.cjs');
4
4
 
5
5
  // ../config-tools/src/utilities/correct-paths.ts
6
- _chunk46KVHK5Gcjs.init_cjs_shims.call(void 0, );
6
+ _chunk4WZ6P6VKcjs.init_cjs_shims.call(void 0, );
7
7
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
8
8
  function normalizeWindowsPath(input = "") {
9
9
  if (!input) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getStopwatch,
3
3
  writeDebug
4
- } from "./chunk-ZKNTC3HX.js";
4
+ } from "./chunk-E7YPFD24.js";
5
5
  import {
6
6
  init_esm_shims
7
- } from "./chunk-KVRTFBTL.js";
7
+ } from "./chunk-4ZDNVWJS.js";
8
8
 
9
9
  // src/clean.ts
10
10
  init_esm_shims();
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkX7PWPAJMcjs = require('./chunk-X7PWPAJM.cjs');
4
+ var _chunkSUEOLCXEcjs = require('./chunk-SUEOLCXE.cjs');
5
5
 
6
6
 
7
- var _chunk46KVHK5Gcjs = require('./chunk-46KVHK5G.cjs');
7
+ var _chunk4WZ6P6VKcjs = require('./chunk-4WZ6P6VK.cjs');
8
8
 
9
9
  // src/clean.ts
10
- _chunk46KVHK5Gcjs.init_cjs_shims.call(void 0, );
10
+ _chunk4WZ6P6VKcjs.init_cjs_shims.call(void 0, );
11
11
  var _promises = require('fs/promises');
12
12
  async function clean(name = "ESBuild", directory, config) {
13
- _chunkX7PWPAJMcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
14
- const stopwatch = _chunkX7PWPAJMcjs.getStopwatch.call(void 0, `${name} output clean`);
13
+ _chunkSUEOLCXEcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
14
+ const stopwatch = _chunkSUEOLCXEcjs.getStopwatch.call(void 0, `${name} output clean`);
15
15
  await cleanDirectories(directory);
16
16
  stopwatch();
17
17
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-KVRTFBTL.js";
3
+ } from "./chunk-4ZDNVWJS.js";
4
4
 
5
5
  // src/types.ts
6
6
  init_esm_shims();
@@ -1,24 +1,24 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkZTXUCRQIcjs = require('./chunk-ZTXUCRQI.cjs');
3
+ var _chunkHLI6PFBXcjs = require('./chunk-HLI6PFBX.cjs');
4
4
 
5
5
 
6
6
 
7
- var _chunkX7PWPAJMcjs = require('./chunk-X7PWPAJM.cjs');
7
+ var _chunkSUEOLCXEcjs = require('./chunk-SUEOLCXE.cjs');
8
8
 
9
9
 
10
- var _chunk46KVHK5Gcjs = require('./chunk-46KVHK5G.cjs');
10
+ var _chunk4WZ6P6VKcjs = require('./chunk-4WZ6P6VK.cjs');
11
11
 
12
12
  // src/assets.ts
13
- _chunk46KVHK5Gcjs.init_cjs_shims.call(void 0, );
13
+ _chunk4WZ6P6VKcjs.init_cjs_shims.call(void 0, );
14
14
  async function copyBuildAssets(context) {
15
15
  if (!_optionalChain([context, 'access', _ => _.result, 'optionalAccess', _2 => _2.errors, 'access', _3 => _3.length]) && _optionalChain([context, 'access', _4 => _4.options, 'access', _5 => _5.assets, 'optionalAccess', _6 => _6.length])) {
16
- _chunkX7PWPAJMcjs.writeDebug.call(void 0,
16
+ _chunkSUEOLCXEcjs.writeDebug.call(void 0,
17
17
  ` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
18
18
  context.workspaceConfig
19
19
  );
20
- const stopwatch = _chunkX7PWPAJMcjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
21
- await _chunkZTXUCRQIcjs.copyAssets.call(void 0,
20
+ const stopwatch = _chunkSUEOLCXEcjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
21
+ await _chunkHLI6PFBXcjs.copyAssets.call(void 0,
22
22
  context.workspaceConfig,
23
23
  _nullishCoalesce(context.options.assets, () => ( [])),
24
24
  context.outputPath,
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunk46KVHK5Gcjs = require('./chunk-46KVHK5G.cjs');
3
+ var _chunk4WZ6P6VKcjs = require('./chunk-4WZ6P6VK.cjs');
4
4
 
5
5
  // ../config-tools/src/logger/console.ts
6
- _chunk46KVHK5Gcjs.init_cjs_shims.call(void 0, );
6
+ _chunk4WZ6P6VKcjs.init_cjs_shims.call(void 0, );
7
7
 
8
8
  // ../config-tools/src/types.ts
9
- _chunk46KVHK5Gcjs.init_cjs_shims.call(void 0, );
9
+ _chunk4WZ6P6VKcjs.init_cjs_shims.call(void 0, );
10
10
  var LogLevel = {
11
11
  SILENT: 0,
12
12
  FATAL: 10,
@@ -31,7 +31,7 @@ var LogLevelLabel = {
31
31
  };
32
32
 
33
33
  // ../config-tools/src/utilities/colors.ts
34
- _chunk46KVHK5Gcjs.init_cjs_shims.call(void 0, );
34
+ _chunk4WZ6P6VKcjs.init_cjs_shims.call(void 0, );
35
35
  var DEFAULT_COLOR_CONFIG = {
36
36
  light: {
37
37
  background: "#fafafa",
@@ -68,7 +68,7 @@ var DEFAULT_COLOR_CONFIG = {
68
68
  };
69
69
 
70
70
  // ../config-tools/src/logger/chalk.ts
71
- _chunk46KVHK5Gcjs.init_cjs_shims.call(void 0, );
71
+ _chunk4WZ6P6VKcjs.init_cjs_shims.call(void 0, );
72
72
  var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
73
73
  var chalkDefault = {
74
74
  hex: (_) => (message) => message,
@@ -102,10 +102,10 @@ var getChalk = () => {
102
102
  };
103
103
 
104
104
  // ../config-tools/src/logger/console-icons.ts
105
- _chunk46KVHK5Gcjs.init_cjs_shims.call(void 0, );
105
+ _chunk4WZ6P6VKcjs.init_cjs_shims.call(void 0, );
106
106
 
107
107
  // ../config-tools/src/logger/is-unicode-supported.ts
108
- _chunk46KVHK5Gcjs.init_cjs_shims.call(void 0, );
108
+ _chunk4WZ6P6VKcjs.init_cjs_shims.call(void 0, );
109
109
  function isUnicodeSupported() {
110
110
  if (process.platform !== "win32") {
111
111
  return process.env.TERM !== "linux";
@@ -130,13 +130,13 @@ var CONSOLE_ICONS = {
130
130
  };
131
131
 
132
132
  // ../config-tools/src/logger/format-timestamp.ts
133
- _chunk46KVHK5Gcjs.init_cjs_shims.call(void 0, );
133
+ _chunk4WZ6P6VKcjs.init_cjs_shims.call(void 0, );
134
134
  var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
135
135
  return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
136
136
  };
137
137
 
138
138
  // ../config-tools/src/logger/get-log-level.ts
139
- _chunk46KVHK5Gcjs.init_cjs_shims.call(void 0, );
139
+ _chunk4WZ6P6VKcjs.init_cjs_shims.call(void 0, );
140
140
  var getLogLevel = (label) => {
141
141
  switch (label) {
142
142
  case "all":
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  joinPaths
3
- } from "./chunk-AQMXDBIP.js";
3
+ } from "./chunk-UUUQVVRP.js";
4
4
  import {
5
5
  getStopwatch,
6
6
  writeDebug
7
- } from "./chunk-ZKNTC3HX.js";
7
+ } from "./chunk-E7YPFD24.js";
8
8
  import {
9
9
  __commonJS,
10
10
  __dirname,
11
11
  __require,
12
12
  __toESM,
13
13
  init_esm_shims
14
- } from "./chunk-KVRTFBTL.js";
14
+ } from "./chunk-4ZDNVWJS.js";
15
15
 
16
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__9f338f09b188b30c350deaf9c9e2a8e5/node_modules/tsup/dist/chunk-BYH4XDRH.js
16
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__297f17f1454f91c6953e15139a881a25/node_modules/tsup/dist/chunk-BYH4XDRH.js
17
17
  var require_chunk_BYH4XDRH = __commonJS({
18
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__9f338f09b188b30c350deaf9c9e2a8e5/node_modules/tsup/dist/chunk-BYH4XDRH.js"(exports) {
18
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__297f17f1454f91c6953e15139a881a25/node_modules/tsup/dist/chunk-BYH4XDRH.js"(exports) {
19
19
  "use strict";
20
20
  init_esm_shims();
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -24,13 +24,13 @@ var require_chunk_BYH4XDRH = __commonJS({
24
24
  }
25
25
  });
26
26
 
27
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__9f338f09b188b30c350deaf9c9e2a8e5/node_modules/tsup/dist/chunk-TWFEYLU4.js
27
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__297f17f1454f91c6953e15139a881a25/node_modules/tsup/dist/chunk-TWFEYLU4.js
28
28
  import * as __import_fs from "fs";
29
29
  import * as __import_path from "path";
30
30
  import * as __import_resolveFrom from "resolve-from";
31
31
  import * as __import_tinyglobby from "tinyglobby";
32
32
  var require_chunk_TWFEYLU4 = __commonJS({
33
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__9f338f09b188b30c350deaf9c9e2a8e5/node_modules/tsup/dist/chunk-TWFEYLU4.js"(exports) {
33
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__297f17f1454f91c6953e15139a881a25/node_modules/tsup/dist/chunk-TWFEYLU4.js"(exports) {
34
34
  init_esm_shims();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  function _interopRequireDefault(obj) {
@@ -406,7 +406,7 @@ var require_chunk_TWFEYLU4 = __commonJS({
406
406
  }
407
407
  });
408
408
 
409
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__9f338f09b188b30c350deaf9c9e2a8e5/node_modules/tsup/dist/chunk-VGC3FXLU.js
409
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__297f17f1454f91c6953e15139a881a25/node_modules/tsup/dist/chunk-VGC3FXLU.js
410
410
  import * as __import_fs2 from "fs";
411
411
  import * as __import_path2 from "path";
412
412
  import * as __import_joycon from "joycon";
@@ -415,7 +415,7 @@ import * as __import_util from "util";
415
415
  import * as __import_worker_threads from "worker_threads";
416
416
  import * as __import_picocolors from "picocolors";
417
417
  var require_chunk_VGC3FXLU = __commonJS({
418
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__9f338f09b188b30c350deaf9c9e2a8e5/node_modules/tsup/dist/chunk-VGC3FXLU.js"(exports) {
418
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__297f17f1454f91c6953e15139a881a25/node_modules/tsup/dist/chunk-VGC3FXLU.js"(exports) {
419
419
  init_esm_shims();
420
420
  var __import___chunkTWFEYLU4_js = __toESM(require_chunk_TWFEYLU4());
421
421
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -642,11 +642,11 @@ var require_chunk_VGC3FXLU = __commonJS({
642
642
  }
643
643
  });
644
644
 
645
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__9f338f09b188b30c350deaf9c9e2a8e5/node_modules/tsup/dist/chunk-JZ25TPTY.js
645
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__297f17f1454f91c6953e15139a881a25/node_modules/tsup/dist/chunk-JZ25TPTY.js
646
646
  import * as __import_worker_threads2 from "worker_threads";
647
647
  import * as __import_picocolors2 from "picocolors";
648
648
  var require_chunk_JZ25TPTY = __commonJS({
649
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__9f338f09b188b30c350deaf9c9e2a8e5/node_modules/tsup/dist/chunk-JZ25TPTY.js"(exports) {
649
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__297f17f1454f91c6953e15139a881a25/node_modules/tsup/dist/chunk-JZ25TPTY.js"(exports) {
650
650
  init_esm_shims();
651
651
  Object.defineProperty(exports, "__esModule", { value: true });
652
652
  function _interopRequireDefault(obj) {
@@ -694,11 +694,11 @@ var require_chunk_JZ25TPTY = __commonJS({
694
694
  }
695
695
  });
696
696
 
697
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__9f338f09b188b30c350deaf9c9e2a8e5/node_modules/tsup/dist/commonjs-plugin.js
697
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__297f17f1454f91c6953e15139a881a25/node_modules/tsup/dist/commonjs-plugin.js
698
698
  import * as __import_fs3 from "fs";
699
699
  import * as __import_esbuild from "esbuild";
700
700
  var require_commonjs_plugin = __commonJS({
701
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__9f338f09b188b30c350deaf9c9e2a8e5/node_modules/tsup/dist/commonjs-plugin.js"(exports, module) {
701
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__297f17f1454f91c6953e15139a881a25/node_modules/tsup/dist/commonjs-plugin.js"(exports, module) {
702
702
  init_esm_shims();
703
703
  var __defProp = Object.defineProperty;
704
704
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1026,7 +1026,7 @@ var require_commonjs_plugin = __commonJS({
1026
1026
  }
1027
1027
  });
1028
1028
 
1029
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__9f338f09b188b30c350deaf9c9e2a8e5/node_modules/tsup/dist/index.js
1029
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__297f17f1454f91c6953e15139a881a25/node_modules/tsup/dist/index.js
1030
1030
  import * as __import_path3 from "path";
1031
1031
  import * as __import_fs4 from "fs";
1032
1032
  import * as __import_worker_threads3 from "worker_threads";
@@ -1042,7 +1042,7 @@ import * as __import_rollup from "rollup";
1042
1042
  import * as __import_typescript from "typescript";
1043
1043
  import * as __import_chokidar from "chokidar";
1044
1044
  var require_dist = __commonJS({
1045
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__9f338f09b188b30c350deaf9c9e2a8e5/node_modules/tsup/dist/index.js"(exports) {
1045
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__297f17f1454f91c6953e15139a881a25/node_modules/tsup/dist/index.js"(exports) {
1046
1046
  init_esm_shims();
1047
1047
  var __import___chunkBYH4XDRH_js = __toESM(require_chunk_BYH4XDRH());
1048
1048
  var __import___chunkVGC3FXLU_js = __toESM(require_chunk_VGC3FXLU());
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-KVRTFBTL.js";
3
+ } from "./chunk-4ZDNVWJS.js";
4
4
 
5
5
  // ../config-tools/src/utilities/correct-paths.ts
6
6
  init_esm_shims();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  correctPaths,
3
3
  joinPaths
4
- } from "./chunk-AQMXDBIP.js";
4
+ } from "./chunk-UUUQVVRP.js";
5
5
  import {
6
6
  LogLevel,
7
7
  formatLogMessage,
@@ -10,10 +10,10 @@ import {
10
10
  writeDebug,
11
11
  writeTrace,
12
12
  writeWarning
13
- } from "./chunk-ZKNTC3HX.js";
13
+ } from "./chunk-E7YPFD24.js";
14
14
  import {
15
15
  init_esm_shims
16
- } from "./chunk-KVRTFBTL.js";
16
+ } from "./chunk-4ZDNVWJS.js";
17
17
 
18
18
  // ../build-tools/src/config.ts
19
19
  init_esm_shims();
@@ -1187,7 +1187,7 @@ var getConfigEnv = () => {
1187
1187
  support: process.env[`${prefix}SUPPORT`] || void 0,
1188
1188
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
1189
1189
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
1190
- configFile: process.env[`${prefix}CONFIG_FILE`] ? correctPaths(process.env[`${prefix}CONFIG_FILE`]) : void 0,
1190
+ configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ? correctPaths(process.env[`${prefix}WORKSPACE_CONFIG_FILE`]) : void 0,
1191
1191
  workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? correctPaths(process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
1192
1192
  directories: {
1193
1193
  cache: process.env[`${prefix}CACHE_DIR`] ? correctPaths(process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? correctPaths(process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
@@ -1250,7 +1250,7 @@ var getConfigEnv = () => {
1250
1250
  config.licensing = `${config.homepage}/docs`;
1251
1251
  }
1252
1252
  }
1253
- const serializedConfig = process.env[`${prefix}CONFIG`];
1253
+ const serializedConfig = process.env[`${prefix}WORKSPACE_CONFIG`];
1254
1254
  if (serializedConfig) {
1255
1255
  const parsed = JSON.parse(serializedConfig);
1256
1256
  config = {
@@ -1483,7 +1483,9 @@ var setConfigEnv = (config) => {
1483
1483
  process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
1484
1484
  }
1485
1485
  if (config.configFile) {
1486
- process.env[`${prefix}CONFIG_FILE`] = correctPaths(config.configFile);
1486
+ process.env[`${prefix}WORKSPACE_CONFIG_FILE`] = correctPaths(
1487
+ config.configFile
1488
+ );
1487
1489
  }
1488
1490
  if (config.workspaceRoot) {
1489
1491
  process.env[`${prefix}WORKSPACE_ROOT`] = correctPaths(config.workspaceRoot);
@@ -1587,7 +1589,7 @@ var setConfigEnv = (config) => {
1587
1589
  config.skipConfigLogging
1588
1590
  );
1589
1591
  }
1590
- process.env[`${prefix}CONFIG`] = JSON.stringify(config);
1592
+ process.env[`${prefix}WORKSPACE_CONFIG`] = JSON.stringify(config);
1591
1593
  for (const key of Object.keys(config.extensions ?? {})) {
1592
1594
  if (config.extensions[key] && Object.keys(config.extensions[key])) {
1593
1595
  setExtensionEnv(key, config.extensions[key]);
@@ -1,28 +1,28 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
2
 
3
3
 
4
- var _chunkZTXUCRQIcjs = require('./chunk-ZTXUCRQI.cjs');
4
+ var _chunkHLI6PFBXcjs = require('./chunk-HLI6PFBX.cjs');
5
5
 
6
6
 
7
- var _chunkKRQE5BEEcjs = require('./chunk-KRQE5BEE.cjs');
7
+ var _chunkNNPOK4ZAcjs = require('./chunk-NNPOK4ZA.cjs');
8
8
 
9
9
 
10
10
 
11
- var _chunkX7PWPAJMcjs = require('./chunk-X7PWPAJM.cjs');
11
+ var _chunkSUEOLCXEcjs = require('./chunk-SUEOLCXE.cjs');
12
12
 
13
13
 
14
- var _chunk46KVHK5Gcjs = require('./chunk-46KVHK5G.cjs');
14
+ var _chunk4WZ6P6VKcjs = require('./chunk-4WZ6P6VK.cjs');
15
15
 
16
16
  // src/package-json.ts
17
- _chunk46KVHK5Gcjs.init_cjs_shims.call(void 0, );
17
+ _chunk4WZ6P6VKcjs.init_cjs_shims.call(void 0, );
18
18
  var _devkit = require('@nx/devkit');
19
19
  var _fs = require('fs');
20
20
  var _promises = require('fs/promises'); var _promises2 = _interopRequireDefault(_promises);
21
21
  async function generatePackageJson(context) {
22
- if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkKRQE5BEEcjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
23
- _chunkX7PWPAJMcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
24
- const stopwatch = _chunkX7PWPAJMcjs.getStopwatch.call(void 0, "Write package.json file");
25
- const packageJsonPath = _chunkKRQE5BEEcjs.joinPaths.call(void 0,
22
+ if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkNNPOK4ZAcjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
23
+ _chunkSUEOLCXEcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
24
+ const stopwatch = _chunkSUEOLCXEcjs.getStopwatch.call(void 0, "Write package.json file");
25
+ const packageJsonPath = _chunkNNPOK4ZAcjs.joinPaths.call(void 0,
26
26
  context.options.projectRoot,
27
27
  "project.json"
28
28
  );
@@ -30,7 +30,7 @@ async function generatePackageJson(context) {
30
30
  throw new Error("Cannot find package.json configuration");
31
31
  }
32
32
  const packageJsonFile = await _promises2.default.readFile(
33
- _chunkKRQE5BEEcjs.joinPaths.call(void 0,
33
+ _chunkNNPOK4ZAcjs.joinPaths.call(void 0,
34
34
  context.workspaceConfig.workspaceRoot,
35
35
  context.options.projectRoot,
36
36
  "package.json"
@@ -41,13 +41,13 @@ async function generatePackageJson(context) {
41
41
  if (!packageJson) {
42
42
  throw new Error("Cannot find package.json configuration file");
43
43
  }
44
- packageJson = await _chunkZTXUCRQIcjs.addPackageDependencies.call(void 0,
44
+ packageJson = await _chunkHLI6PFBXcjs.addPackageDependencies.call(void 0,
45
45
  context.workspaceConfig.workspaceRoot,
46
46
  context.options.projectRoot,
47
47
  context.projectName,
48
48
  packageJson
49
49
  );
50
- packageJson = await _chunkZTXUCRQIcjs.addWorkspacePackageJsonFields.call(void 0,
50
+ packageJson = await _chunkHLI6PFBXcjs.addWorkspacePackageJsonFields.call(void 0,
51
51
  context.workspaceConfig,
52
52
  context.options.projectRoot,
53
53
  context.sourceRoot,
@@ -136,7 +136,7 @@ async function generatePackageJson(context) {
136
136
  }
137
137
  }
138
138
  await _devkit.writeJsonFile.call(void 0,
139
- _chunkKRQE5BEEcjs.joinPaths.call(void 0, context.outputPath, "package.json"),
139
+ _chunkNNPOK4ZAcjs.joinPaths.call(void 0, context.outputPath, "package.json"),
140
140
  packageJson
141
141
  );
142
142
  stopwatch();
package/dist/clean.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkKVLFERWLcjs = require('./chunk-KVLFERWL.cjs');
5
- require('./chunk-X7PWPAJM.cjs');
6
- require('./chunk-46KVHK5G.cjs');
4
+ var _chunkNXEDGL2Lcjs = require('./chunk-NXEDGL2L.cjs');
5
+ require('./chunk-SUEOLCXE.cjs');
6
+ require('./chunk-4WZ6P6VK.cjs');
7
7
 
8
8
 
9
9
 
10
- exports.clean = _chunkKVLFERWLcjs.clean; exports.cleanDirectories = _chunkKVLFERWLcjs.cleanDirectories;
10
+ exports.clean = _chunkNXEDGL2Lcjs.clean; exports.cleanDirectories = _chunkNXEDGL2Lcjs.cleanDirectories;
package/dist/clean.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clean,
3
3
  cleanDirectories
4
- } from "./chunk-47WNZ6KT.js";
5
- import "./chunk-ZKNTC3HX.js";
6
- import "./chunk-KVRTFBTL.js";
4
+ } from "./chunk-NO5VVOAS.js";
5
+ import "./chunk-E7YPFD24.js";
6
+ import "./chunk-4ZDNVWJS.js";
7
7
  export {
8
8
  clean,
9
9
  cleanDirectories
package/dist/config.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkQVVISOIXcjs = require('./chunk-QVVISOIX.cjs');
4
- require('./chunk-ZTXUCRQI.cjs');
5
- require('./chunk-KRQE5BEE.cjs');
6
- require('./chunk-X7PWPAJM.cjs');
7
- require('./chunk-46KVHK5G.cjs');
3
+ var _chunkFJY2SITFcjs = require('./chunk-FJY2SITF.cjs');
4
+ require('./chunk-HLI6PFBX.cjs');
5
+ require('./chunk-NNPOK4ZA.cjs');
6
+ require('./chunk-SUEOLCXE.cjs');
7
+ require('./chunk-4WZ6P6VK.cjs');
8
8
 
9
9
 
10
- exports.DEFAULT_BUILD_OPTIONS = _chunkQVVISOIXcjs.DEFAULT_BUILD_OPTIONS;
10
+ exports.DEFAULT_BUILD_OPTIONS = _chunkFJY2SITFcjs.DEFAULT_BUILD_OPTIONS;
package/dist/config.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DEFAULT_BUILD_OPTIONS
3
- } from "./chunk-ZDESEGGN.js";
4
- import "./chunk-BGYYR2GS.js";
5
- import "./chunk-AQMXDBIP.js";
6
- import "./chunk-ZKNTC3HX.js";
7
- import "./chunk-KVRTFBTL.js";
3
+ } from "./chunk-LVW5LEAH.js";
4
+ import "./chunk-V4V6EEGM.js";
5
+ import "./chunk-UUUQVVRP.js";
6
+ import "./chunk-E7YPFD24.js";
7
+ import "./chunk-4ZDNVWJS.js";
8
8
  export {
9
9
  DEFAULT_BUILD_OPTIONS
10
10
  };
package/dist/context.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkKN6VYOCGcjs = require('./chunk-KN6VYOCG.cjs');
4
- require('./chunk-QVVISOIX.cjs');
5
- require('./chunk-ZTXUCRQI.cjs');
6
- require('./chunk-KRQE5BEE.cjs');
7
- require('./chunk-X7PWPAJM.cjs');
8
- require('./chunk-46KVHK5G.cjs');
3
+ var _chunkMFN3SHANcjs = require('./chunk-MFN3SHAN.cjs');
4
+ require('./chunk-FJY2SITF.cjs');
5
+ require('./chunk-HLI6PFBX.cjs');
6
+ require('./chunk-NNPOK4ZA.cjs');
7
+ require('./chunk-SUEOLCXE.cjs');
8
+ require('./chunk-4WZ6P6VK.cjs');
9
9
 
10
10
 
11
- exports.resolveContext = _chunkKN6VYOCGcjs.resolveContext;
11
+ exports.resolveContext = _chunkMFN3SHANcjs.resolveContext;
package/dist/context.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveContext
3
- } from "./chunk-L6FX7336.js";
4
- import "./chunk-ZDESEGGN.js";
5
- import "./chunk-BGYYR2GS.js";
6
- import "./chunk-AQMXDBIP.js";
7
- import "./chunk-ZKNTC3HX.js";
8
- import "./chunk-KVRTFBTL.js";
3
+ } from "./chunk-AVHH6S4L.js";
4
+ import "./chunk-LVW5LEAH.js";
5
+ import "./chunk-V4V6EEGM.js";
6
+ import "./chunk-UUUQVVRP.js";
7
+ import "./chunk-E7YPFD24.js";
8
+ import "./chunk-4ZDNVWJS.js";
9
9
  export {
10
10
  resolveContext
11
11
  };