@storm-software/esbuild 0.51.4 → 0.52.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 (51) hide show
  1. package/README.md +1 -1
  2. package/dist/assets.cjs +6 -6
  3. package/dist/assets.js +5 -5
  4. package/dist/build.cjs +12 -12
  5. package/dist/build.js +11 -11
  6. package/dist/{chunk-QIREVXGE.js → chunk-6BTIPYF5.js} +4 -4
  7. package/dist/{chunk-YI6E3X5Z.cjs → chunk-7FL7AQ2L.cjs} +13 -13
  8. package/dist/{chunk-G4GMEAHM.cjs → chunk-7MTBTT5Y.cjs} +9 -9
  9. package/dist/{chunk-IUBVX3NC.js → chunk-CNGLN7OE.js} +3 -3
  10. package/dist/{chunk-22IG5M6F.cjs → chunk-DRSIBNFH.cjs} +22 -22
  11. package/dist/{chunk-ED3VWWR5.cjs → chunk-DXF3SHE2.cjs} +2 -2
  12. package/dist/{chunk-HLMV2RBF.cjs → chunk-GFXF5BGV.cjs} +5 -5
  13. package/dist/{chunk-LE4GFUGX.cjs → chunk-GL4FBBHX.cjs} +83 -83
  14. package/dist/{chunk-SQWJQEYR.js → chunk-HNW5ZOA5.js} +5 -5
  15. package/dist/{chunk-J7JUCKR5.js → chunk-HYYNZI4T.js} +2 -2
  16. package/dist/{chunk-NERWUJFP.js → chunk-IDIWHOKO.js} +7 -7
  17. package/dist/{chunk-JFC4G4BI.cjs → chunk-IKMKBCGT.cjs} +18 -18
  18. package/dist/{chunk-D7LPSDOB.js → chunk-JC2GXNSL.js} +2 -2
  19. package/dist/{chunk-K4FSKRCN.cjs → chunk-K2H2KZFG.cjs} +2 -2
  20. package/dist/{chunk-D543A34U.js → chunk-L466AIOZ.js} +1 -1
  21. package/dist/{chunk-XSWSDE6I.js → chunk-MWMCOQDP.js} +1 -1
  22. package/dist/{chunk-J7FTEGIG.js → chunk-OAYZH7P6.js} +3 -3
  23. package/dist/{chunk-FVCKIGS6.cjs → chunk-TQ35S3BA.cjs} +5 -5
  24. package/dist/{chunk-4XVJ5KSF.cjs → chunk-V5U2AIAH.cjs} +7 -7
  25. package/dist/{chunk-U5GTAVFZ.cjs → chunk-VM7WWYAX.cjs} +64 -64
  26. package/dist/{chunk-JSUZIFOI.js → chunk-VOPA6ZB6.js} +1 -1
  27. package/dist/{chunk-ET6RMS2Q.js → chunk-XU2VOLXQ.js} +15 -15
  28. package/dist/chunk-YVUW3GEH.cjs +6 -0
  29. package/dist/{chunk-7BWY3BGW.js → chunk-ZGOI3C2F.js} +2 -2
  30. package/dist/clean.cjs +4 -4
  31. package/dist/clean.js +3 -3
  32. package/dist/config.cjs +6 -6
  33. package/dist/config.js +5 -5
  34. package/dist/context.cjs +7 -7
  35. package/dist/context.js +6 -6
  36. package/dist/index.cjs +14 -14
  37. package/dist/index.js +12 -12
  38. package/dist/package-json.cjs +6 -6
  39. package/dist/package-json.js +5 -5
  40. package/dist/plugins/deps-check.cjs +6 -6
  41. package/dist/plugins/deps-check.js +2 -2
  42. package/dist/plugins/resolve-paths.cjs +11 -11
  43. package/dist/plugins/resolve-paths.js +2 -2
  44. package/dist/tsup.cjs +5 -5
  45. package/dist/tsup.js +4 -4
  46. package/dist/types.cjs +2 -2
  47. package/dist/types.js +2 -2
  48. package/dist/watch.cjs +6 -6
  49. package/dist/watch.js +2 -2
  50. package/package.json +5 -5
  51. package/dist/chunk-JYUHLS4B.cjs +0 -6
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.51.2-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.51.4-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 -->
package/dist/assets.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4XVJ5KSFcjs = require('./chunk-4XVJ5KSF.cjs');
4
- require('./chunk-LE4GFUGX.cjs');
5
- require('./chunk-K4FSKRCN.cjs');
6
- require('./chunk-G4GMEAHM.cjs');
7
- require('./chunk-ED3VWWR5.cjs');
3
+ var _chunkV5U2AIAHcjs = require('./chunk-V5U2AIAH.cjs');
4
+ require('./chunk-GL4FBBHX.cjs');
5
+ require('./chunk-K2H2KZFG.cjs');
6
+ require('./chunk-7MTBTT5Y.cjs');
7
+ require('./chunk-DXF3SHE2.cjs');
8
8
 
9
9
 
10
- exports.copyBuildAssets = _chunk4XVJ5KSFcjs.copyBuildAssets;
10
+ exports.copyBuildAssets = _chunkV5U2AIAHcjs.copyBuildAssets;
package/dist/assets.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  copyBuildAssets
3
- } from "./chunk-J7FTEGIG.js";
4
- import "./chunk-IUBVX3NC.js";
5
- import "./chunk-XSWSDE6I.js";
6
- import "./chunk-JSUZIFOI.js";
7
- import "./chunk-J7JUCKR5.js";
3
+ } from "./chunk-OAYZH7P6.js";
4
+ import "./chunk-CNGLN7OE.js";
5
+ import "./chunk-MWMCOQDP.js";
6
+ import "./chunk-VOPA6ZB6.js";
7
+ import "./chunk-HYYNZI4T.js";
8
8
  export {
9
9
  copyBuildAssets
10
10
  };
package/dist/build.cjs CHANGED
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk22IG5M6Fcjs = require('./chunk-22IG5M6F.cjs');
4
- require('./chunk-4XVJ5KSF.cjs');
5
- require('./chunk-HLMV2RBF.cjs');
6
- require('./chunk-JFC4G4BI.cjs');
7
- require('./chunk-FVCKIGS6.cjs');
8
- require('./chunk-YI6E3X5Z.cjs');
9
- require('./chunk-LE4GFUGX.cjs');
10
- require('./chunk-U5GTAVFZ.cjs');
11
- require('./chunk-K4FSKRCN.cjs');
12
- require('./chunk-G4GMEAHM.cjs');
13
- require('./chunk-ED3VWWR5.cjs');
3
+ var _chunkDRSIBNFHcjs = require('./chunk-DRSIBNFH.cjs');
4
+ require('./chunk-V5U2AIAH.cjs');
5
+ require('./chunk-GFXF5BGV.cjs');
6
+ require('./chunk-IKMKBCGT.cjs');
7
+ require('./chunk-TQ35S3BA.cjs');
8
+ require('./chunk-7FL7AQ2L.cjs');
9
+ require('./chunk-GL4FBBHX.cjs');
10
+ require('./chunk-VM7WWYAX.cjs');
11
+ require('./chunk-K2H2KZFG.cjs');
12
+ require('./chunk-7MTBTT5Y.cjs');
13
+ require('./chunk-DXF3SHE2.cjs');
14
14
 
15
15
 
16
- exports.build = _chunk22IG5M6Fcjs.build;
16
+ exports.build = _chunkDRSIBNFHcjs.build;
package/dist/build.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  build
3
- } from "./chunk-NERWUJFP.js";
4
- import "./chunk-J7FTEGIG.js";
5
- import "./chunk-7BWY3BGW.js";
6
- import "./chunk-SQWJQEYR.js";
7
- import "./chunk-D7LPSDOB.js";
8
- import "./chunk-QIREVXGE.js";
9
- import "./chunk-IUBVX3NC.js";
10
- import "./chunk-ET6RMS2Q.js";
11
- import "./chunk-XSWSDE6I.js";
12
- import "./chunk-JSUZIFOI.js";
13
- import "./chunk-J7JUCKR5.js";
3
+ } from "./chunk-IDIWHOKO.js";
4
+ import "./chunk-OAYZH7P6.js";
5
+ import "./chunk-ZGOI3C2F.js";
6
+ import "./chunk-HNW5ZOA5.js";
7
+ import "./chunk-JC2GXNSL.js";
8
+ import "./chunk-6BTIPYF5.js";
9
+ import "./chunk-CNGLN7OE.js";
10
+ import "./chunk-XU2VOLXQ.js";
11
+ import "./chunk-MWMCOQDP.js";
12
+ import "./chunk-VOPA6ZB6.js";
13
+ import "./chunk-HYYNZI4T.js";
14
14
  export {
15
15
  build
16
16
  };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  addPackageDependencies,
3
3
  addWorkspacePackageJsonFields
4
- } from "./chunk-IUBVX3NC.js";
4
+ } from "./chunk-CNGLN7OE.js";
5
5
  import {
6
6
  joinPaths
7
- } from "./chunk-XSWSDE6I.js";
7
+ } from "./chunk-MWMCOQDP.js";
8
8
  import {
9
9
  getStopwatch,
10
10
  writeDebug
11
- } from "./chunk-JSUZIFOI.js";
11
+ } from "./chunk-VOPA6ZB6.js";
12
12
  import {
13
13
  init_esm_shims
14
- } from "./chunk-J7JUCKR5.js";
14
+ } from "./chunk-HYYNZI4T.js";
15
15
 
16
16
  // src/package-json.ts
17
17
  init_esm_shims();
@@ -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 _chunkLE4GFUGXcjs = require('./chunk-LE4GFUGX.cjs');
4
+ var _chunkGL4FBBHXcjs = require('./chunk-GL4FBBHX.cjs');
5
5
 
6
6
 
7
- var _chunkK4FSKRCNcjs = require('./chunk-K4FSKRCN.cjs');
7
+ var _chunkK2H2KZFGcjs = require('./chunk-K2H2KZFG.cjs');
8
8
 
9
9
 
10
10
 
11
- var _chunkG4GMEAHMcjs = require('./chunk-G4GMEAHM.cjs');
11
+ var _chunk7MTBTT5Ycjs = require('./chunk-7MTBTT5Y.cjs');
12
12
 
13
13
 
14
- var _chunkED3VWWR5cjs = require('./chunk-ED3VWWR5.cjs');
14
+ var _chunkDXF3SHE2cjs = require('./chunk-DXF3SHE2.cjs');
15
15
 
16
16
  // src/package-json.ts
17
- _chunkED3VWWR5cjs.init_cjs_shims.call(void 0, );
17
+ _chunkDXF3SHE2cjs.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, _chunkK4FSKRCNcjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
23
- _chunkG4GMEAHMcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
24
- const stopwatch = _chunkG4GMEAHMcjs.getStopwatch.call(void 0, "Write package.json file");
25
- const packageJsonPath = _chunkK4FSKRCNcjs.joinPaths.call(void 0,
22
+ if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkK2H2KZFGcjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
23
+ _chunk7MTBTT5Ycjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
24
+ const stopwatch = _chunk7MTBTT5Ycjs.getStopwatch.call(void 0, "Write package.json file");
25
+ const packageJsonPath = _chunkK2H2KZFGcjs.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
- _chunkK4FSKRCNcjs.joinPaths.call(void 0,
33
+ _chunkK2H2KZFGcjs.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 _chunkLE4GFUGXcjs.addPackageDependencies.call(void 0,
44
+ packageJson = await _chunkGL4FBBHXcjs.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 _chunkLE4GFUGXcjs.addWorkspacePackageJsonFields.call(void 0,
50
+ packageJson = await _chunkGL4FBBHXcjs.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
- _chunkK4FSKRCNcjs.joinPaths.call(void 0, context.outputPath, "package.json"),
139
+ _chunkK2H2KZFGcjs.joinPaths.call(void 0, context.outputPath, "package.json"),
140
140
  packageJson
141
141
  );
142
142
  stopwatch();
@@ -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 _chunkED3VWWR5cjs = require('./chunk-ED3VWWR5.cjs');
3
+ var _chunkDXF3SHE2cjs = require('./chunk-DXF3SHE2.cjs');
4
4
 
5
5
  // ../config-tools/src/logger/console.ts
6
- _chunkED3VWWR5cjs.init_cjs_shims.call(void 0, );
6
+ _chunkDXF3SHE2cjs.init_cjs_shims.call(void 0, );
7
7
 
8
8
  // ../config-tools/src/types.ts
9
- _chunkED3VWWR5cjs.init_cjs_shims.call(void 0, );
9
+ _chunkDXF3SHE2cjs.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
- _chunkED3VWWR5cjs.init_cjs_shims.call(void 0, );
34
+ _chunkDXF3SHE2cjs.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
- _chunkED3VWWR5cjs.init_cjs_shims.call(void 0, );
71
+ _chunkDXF3SHE2cjs.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
- _chunkED3VWWR5cjs.init_cjs_shims.call(void 0, );
105
+ _chunkDXF3SHE2cjs.init_cjs_shims.call(void 0, );
106
106
 
107
107
  // ../config-tools/src/logger/is-unicode-supported.ts
108
- _chunkED3VWWR5cjs.init_cjs_shims.call(void 0, );
108
+ _chunkDXF3SHE2cjs.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
- _chunkED3VWWR5cjs.init_cjs_shims.call(void 0, );
133
+ _chunkDXF3SHE2cjs.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
- _chunkED3VWWR5cjs.init_cjs_shims.call(void 0, );
139
+ _chunkDXF3SHE2cjs.init_cjs_shims.call(void 0, );
140
140
  var getLogLevel = (label) => {
141
141
  switch (label) {
142
142
  case "all":
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  correctPaths,
3
3
  joinPaths
4
- } from "./chunk-XSWSDE6I.js";
4
+ } from "./chunk-MWMCOQDP.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-JSUZIFOI.js";
13
+ } from "./chunk-VOPA6ZB6.js";
14
14
  import {
15
15
  init_esm_shims
16
- } from "./chunk-J7JUCKR5.js";
16
+ } from "./chunk-HYYNZI4T.js";
17
17
 
18
18
  // ../build-tools/src/config.ts
19
19
  init_esm_shims();
@@ -1,18 +1,18 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunk4XVJ5KSFcjs = require('./chunk-4XVJ5KSF.cjs');
3
+ var _chunkV5U2AIAHcjs = require('./chunk-V5U2AIAH.cjs');
4
4
 
5
5
 
6
- var _chunkHLMV2RBFcjs = require('./chunk-HLMV2RBF.cjs');
6
+ var _chunkGFXF5BGVcjs = require('./chunk-GFXF5BGV.cjs');
7
7
 
8
8
 
9
- var _chunkJFC4G4BIcjs = require('./chunk-JFC4G4BI.cjs');
9
+ var _chunkIKMKBCGTcjs = require('./chunk-IKMKBCGT.cjs');
10
10
 
11
11
 
12
- var _chunkYI6E3X5Zcjs = require('./chunk-YI6E3X5Z.cjs');
12
+ var _chunk7FL7AQ2Lcjs = require('./chunk-7FL7AQ2L.cjs');
13
13
 
14
14
 
15
- var _chunkU5GTAVFZcjs = require('./chunk-U5GTAVFZ.cjs');
15
+ var _chunkVM7WWYAXcjs = require('./chunk-VM7WWYAX.cjs');
16
16
 
17
17
 
18
18
 
@@ -20,27 +20,27 @@ var _chunkU5GTAVFZcjs = require('./chunk-U5GTAVFZ.cjs');
20
20
 
21
21
 
22
22
 
23
- var _chunkG4GMEAHMcjs = require('./chunk-G4GMEAHM.cjs');
23
+ var _chunk7MTBTT5Ycjs = require('./chunk-7MTBTT5Y.cjs');
24
24
 
25
25
 
26
- var _chunkED3VWWR5cjs = require('./chunk-ED3VWWR5.cjs');
26
+ var _chunkDXF3SHE2cjs = require('./chunk-DXF3SHE2.cjs');
27
27
 
28
28
  // src/build.ts
29
- _chunkED3VWWR5cjs.init_cjs_shims.call(void 0, );
29
+ _chunkDXF3SHE2cjs.init_cjs_shims.call(void 0, );
30
30
  async function reportResults(context) {
31
31
  if (_optionalChain([context, 'access', _ => _.result, 'optionalAccess', _2 => _2.errors, 'access', _3 => _3.length]) === 0) {
32
32
  if (context.result.warnings.length > 0) {
33
- _chunkG4GMEAHMcjs.writeWarning.call(void 0,
33
+ _chunk7MTBTT5Ycjs.writeWarning.call(void 0,
34
34
  ` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
35
35
  context.workspaceConfig
36
36
  );
37
37
  }
38
- _chunkG4GMEAHMcjs.writeSuccess.call(void 0,
38
+ _chunk7MTBTT5Ycjs.writeSuccess.call(void 0,
39
39
  ` \u{1F4E6} The ${context.options.name} build completed successfully`,
40
40
  context.workspaceConfig
41
41
  );
42
42
  } else if (_optionalChain([context, 'access', _4 => _4.result, 'optionalAccess', _5 => _5.errors]) && _optionalChain([context, 'access', _6 => _6.result, 'optionalAccess', _7 => _7.errors, 'access', _8 => _8.length]) > 0) {
43
- _chunkG4GMEAHMcjs.writeError.call(void 0,
43
+ _chunk7MTBTT5Ycjs.writeError.call(void 0,
44
44
  ` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
45
45
  context.workspaceConfig
46
46
  );
@@ -51,36 +51,36 @@ async function reportResults(context) {
51
51
  }
52
52
  async function cleanOutputPath(context) {
53
53
  if (context.clean !== false && context.outputPath) {
54
- _chunkG4GMEAHMcjs.writeDebug.call(void 0,
54
+ _chunk7MTBTT5Ycjs.writeDebug.call(void 0,
55
55
  ` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
56
56
  context.workspaceConfig
57
57
  );
58
- const stopwatch = _chunkG4GMEAHMcjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
59
- await _chunkHLMV2RBFcjs.cleanDirectories.call(void 0, context.outputPath);
58
+ const stopwatch = _chunk7MTBTT5Ycjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
59
+ await _chunkGFXF5BGVcjs.cleanDirectories.call(void 0, context.outputPath);
60
60
  stopwatch();
61
61
  }
62
62
  return context;
63
63
  }
64
64
  async function build(options) {
65
- _chunkG4GMEAHMcjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
66
- const stopwatch = _chunkG4GMEAHMcjs.getStopwatch.call(void 0, "ESBuild pipeline");
65
+ _chunk7MTBTT5Ycjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
66
+ const stopwatch = _chunk7MTBTT5Ycjs.getStopwatch.call(void 0, "ESBuild pipeline");
67
67
  try {
68
68
  const opts = Array.isArray(options) ? options : [options];
69
69
  if (opts.length === 0) {
70
70
  throw new Error("No build options were provided");
71
71
  }
72
- const context = await _chunkJFC4G4BIcjs.resolveContext.call(void 0, options);
72
+ const context = await _chunkIKMKBCGTcjs.resolveContext.call(void 0, options);
73
73
  await cleanOutputPath(context);
74
74
  await Promise.all([
75
75
  // dependencyCheck(context.options),
76
- _chunkYI6E3X5Zcjs.generatePackageJson.call(void 0, context),
77
- _chunk4XVJ5KSFcjs.copyBuildAssets.call(void 0, context),
78
- _chunkU5GTAVFZcjs.executeTsup.call(void 0, context)
76
+ _chunk7FL7AQ2Lcjs.generatePackageJson.call(void 0, context),
77
+ _chunkV5U2AIAHcjs.copyBuildAssets.call(void 0, context),
78
+ _chunkVM7WWYAXcjs.executeTsup.call(void 0, context)
79
79
  ]);
80
80
  await reportResults(context);
81
- _chunkG4GMEAHMcjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
81
+ _chunk7MTBTT5Ycjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
82
82
  } catch (error) {
83
- _chunkG4GMEAHMcjs.writeFatal.call(void 0,
83
+ _chunk7MTBTT5Ycjs.writeFatal.call(void 0,
84
84
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
85
85
  );
86
86
  throw error;
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  mod
34
34
  ));
35
35
 
36
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__951eea6f126fd84bd771c4f315c150af/node_modules/tsup/assets/cjs_shims.js
36
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__fa5acda50dbe19817dbc1cdda69071eb/node_modules/tsup/assets/cjs_shims.js
37
37
  var init_cjs_shims = __esm({
38
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__951eea6f126fd84bd771c4f315c150af/node_modules/tsup/assets/cjs_shims.js"() {
38
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__fa5acda50dbe19817dbc1cdda69071eb/node_modules/tsup/assets/cjs_shims.js"() {
39
39
  }
40
40
  });
41
41
 
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkG4GMEAHMcjs = require('./chunk-G4GMEAHM.cjs');
4
+ var _chunk7MTBTT5Ycjs = require('./chunk-7MTBTT5Y.cjs');
5
5
 
6
6
 
7
- var _chunkED3VWWR5cjs = require('./chunk-ED3VWWR5.cjs');
7
+ var _chunkDXF3SHE2cjs = require('./chunk-DXF3SHE2.cjs');
8
8
 
9
9
  // src/clean.ts
10
- _chunkED3VWWR5cjs.init_cjs_shims.call(void 0, );
10
+ _chunkDXF3SHE2cjs.init_cjs_shims.call(void 0, );
11
11
  var _promises = require('fs/promises');
12
12
  async function clean(name = "ESBuild", directory, config) {
13
- _chunkG4GMEAHMcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
14
- const stopwatch = _chunkG4GMEAHMcjs.getStopwatch.call(void 0, `${name} output clean`);
13
+ _chunk7MTBTT5Ycjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
14
+ const stopwatch = _chunk7MTBTT5Ycjs.getStopwatch.call(void 0, `${name} output clean`);
15
15
  await cleanDirectories(directory);
16
16
  stopwatch();
17
17
  }