@storm-software/esbuild 0.35.5 → 0.35.6

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 +2 -1
  2. package/dist/assets.cjs +6 -6
  3. package/dist/assets.js +5 -5
  4. package/dist/build.cjs +14 -14
  5. package/dist/build.js +13 -13
  6. package/dist/{chunk-N5MGZ2YM.cjs → chunk-2O4ICDGO.cjs} +7 -7
  7. package/dist/{chunk-2SU3HI5Q.cjs → chunk-2VOJGBTN.cjs} +51 -51
  8. package/dist/{chunk-FBR7AR6F.cjs → chunk-3RAC4FZO.cjs} +734 -459
  9. package/dist/{chunk-WCXP7IBU.js → chunk-65VVMOZG.js} +2 -2
  10. package/dist/{chunk-FWIPARM7.js → chunk-6FTOKP4Y.js} +2 -2
  11. package/dist/{chunk-V5SXPYDB.js → chunk-7GTV27I3.js} +2 -2
  12. package/dist/{chunk-XWGV6MFZ.js → chunk-CT2JN373.js} +6 -6
  13. package/dist/{chunk-AEHXBLG2.cjs → chunk-EKHZJ4M2.cjs} +7 -7
  14. package/dist/{chunk-T2DBJGI2.cjs → chunk-FD7TNV2W.cjs} +8 -8
  15. package/dist/chunk-IDUGUMC5.cjs +6 -0
  16. package/dist/{chunk-RT5QOWTF.js → chunk-JHNO43TF.js} +514 -237
  17. package/dist/{chunk-6WPLL2C2.cjs → chunk-K3P3M3WZ.cjs} +7 -7
  18. package/dist/{chunk-POL6NUTY.cjs → chunk-K7O5MSIA.cjs} +19 -19
  19. package/dist/{chunk-IGG5GIIV.js → chunk-KIU5S3AJ.js} +2 -2
  20. package/dist/{chunk-2DAVPJ7D.cjs → chunk-KJZPYCZ3.cjs} +106 -106
  21. package/dist/{chunk-QNVXA3GL.js → chunk-MKWQ32YS.js} +3 -3
  22. package/dist/{chunk-SJESTPEC.cjs → chunk-NDGCAOGY.cjs} +2 -2
  23. package/dist/{chunk-X3XWFR6F.js → chunk-OI72SBIC.js} +1 -1
  24. package/dist/{chunk-C23H24WU.cjs → chunk-PWNHPJJM.cjs} +5 -5
  25. package/dist/{chunk-6YDZYQLV.js → chunk-QCVGEU2D.js} +2 -2
  26. package/dist/{chunk-CQGBWOR4.cjs → chunk-RLF3EK6Q.cjs} +28 -28
  27. package/dist/{chunk-EP4M3VJ3.cjs → chunk-U4QY2FDF.cjs} +14 -14
  28. package/dist/{chunk-MFZUNTR7.js → chunk-VA4XN7N3.js} +4 -4
  29. package/dist/{chunk-VW5VOVX7.js → chunk-VSA5PVM5.js} +2 -2
  30. package/dist/{chunk-RIGD2PFD.cjs → chunk-WOKMOSA3.cjs} +7 -7
  31. package/dist/{chunk-ODOBFGX6.js → chunk-XNZ7JM4N.js} +8 -8
  32. package/dist/{chunk-347I4FKJ.js → chunk-YZMPHNIX.js} +1 -1
  33. package/dist/{chunk-DK7FJ3YJ.js → chunk-Z6V4NRWA.js} +3 -3
  34. package/dist/clean.cjs +5 -5
  35. package/dist/clean.js +4 -4
  36. package/dist/config.cjs +6 -6
  37. package/dist/config.js +5 -5
  38. package/dist/context.cjs +8 -8
  39. package/dist/context.js +7 -7
  40. package/dist/index.cjs +16 -16
  41. package/dist/index.js +14 -14
  42. package/dist/package-json.cjs +6 -6
  43. package/dist/package-json.js +5 -5
  44. package/dist/plugins/deps-check.cjs +5 -5
  45. package/dist/plugins/deps-check.js +4 -4
  46. package/dist/plugins/resolve-paths.cjs +4 -4
  47. package/dist/plugins/resolve-paths.js +3 -3
  48. package/dist/tsup.cjs +5 -5
  49. package/dist/tsup.js +4 -4
  50. package/dist/types.cjs +2 -2
  51. package/dist/types.js +2 -2
  52. package/dist/watch.cjs +14 -14
  53. package/dist/watch.js +3 -3
  54. package/package.json +4 -4
  55. package/dist/chunk-N3AYB46G.cjs +0 -6
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getStopwatch,
3
3
  writeDebug
4
- } from "./chunk-6YDZYQLV.js";
4
+ } from "./chunk-QCVGEU2D.js";
5
5
  import {
6
6
  __name,
7
7
  init_esm_shims
8
- } from "./chunk-V5SXPYDB.js";
8
+ } from "./chunk-7GTV27I3.js";
9
9
 
10
10
  // src/clean.ts
11
11
  init_esm_shims();
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  joinPaths
3
- } from "./chunk-347I4FKJ.js";
3
+ } from "./chunk-YZMPHNIX.js";
4
4
  import {
5
5
  __name,
6
6
  __require,
7
7
  init_esm_shims
8
- } from "./chunk-V5SXPYDB.js";
8
+ } from "./chunk-7GTV27I3.js";
9
9
 
10
10
  // src/plugins/resolve-paths.ts
11
11
  init_esm_shims();
@@ -34,12 +34,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
34
34
  mod
35
35
  ));
36
36
 
37
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=d6d235bacb1b52781b6422127cf8179bf4fa7087e1b44c74b6d276e3935d9a55__7a3232d6d9fb61feedaa124fde7a8801/node_modules/tsup/assets/esm_shims.js
37
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=214cbeb07445a723854c8fc34007a4790e4ea2ad2a5d1919d7b09d653a83dae4__6de9fcd47df2c892d30c447d02dc88da/node_modules/tsup/assets/esm_shims.js
38
38
  import { fileURLToPath } from "url";
39
39
  import path from "path";
40
40
  var getFilename, getDirname, __dirname;
41
41
  var init_esm_shims = __esm({
42
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=d6d235bacb1b52781b6422127cf8179bf4fa7087e1b44c74b6d276e3935d9a55__7a3232d6d9fb61feedaa124fde7a8801/node_modules/tsup/assets/esm_shims.js"() {
42
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=214cbeb07445a723854c8fc34007a4790e4ea2ad2a5d1919d7b09d653a83dae4__6de9fcd47df2c892d30c447d02dc88da/node_modules/tsup/assets/esm_shims.js"() {
43
43
  getFilename = /* @__PURE__ */ __name(() => fileURLToPath(import.meta.url), "getFilename");
44
44
  getDirname = /* @__PURE__ */ __name(() => path.dirname(getFilename()), "getDirname");
45
45
  __dirname = /* @__PURE__ */ getDirname();
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  resolvePathsPlugin
3
- } from "./chunk-FWIPARM7.js";
3
+ } from "./chunk-6FTOKP4Y.js";
4
4
  import {
5
5
  DEFAULT_BUILD_OPTIONS
6
- } from "./chunk-IGG5GIIV.js";
6
+ } from "./chunk-KIU5S3AJ.js";
7
7
  import {
8
8
  getEnv,
9
9
  getWorkspaceConfig
10
- } from "./chunk-DK7FJ3YJ.js";
10
+ } from "./chunk-Z6V4NRWA.js";
11
11
  import {
12
12
  getStopwatch,
13
13
  writeDebug
14
- } from "./chunk-6YDZYQLV.js";
14
+ } from "./chunk-QCVGEU2D.js";
15
15
  import {
16
16
  joinPaths
17
- } from "./chunk-347I4FKJ.js";
17
+ } from "./chunk-YZMPHNIX.js";
18
18
  import {
19
19
  __name,
20
20
  init_esm_shims
21
- } from "./chunk-V5SXPYDB.js";
21
+ } from "./chunk-7GTV27I3.js";
22
22
 
23
23
  // src/context.ts
24
24
  init_esm_shims();
@@ -1,14 +1,14 @@
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 _chunkRIGD2PFDcjs = require('./chunk-RIGD2PFD.cjs');
3
+ var _chunkWOKMOSA3cjs = require('./chunk-WOKMOSA3.cjs');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkSJESTPECcjs = require('./chunk-SJESTPEC.cjs');
8
+ var _chunkNDGCAOGYcjs = require('./chunk-NDGCAOGY.cjs');
9
9
 
10
10
  // src/plugins/resolve-paths.ts
11
- _chunkSJESTPECcjs.init_cjs_shims.call(void 0, );
11
+ _chunkNDGCAOGYcjs.init_cjs_shims.call(void 0, );
12
12
  var _path = require('path'); var _path2 = _interopRequireDefault(_path);
13
13
  function resolvePathsConfig(options, cwd) {
14
14
  if (_optionalChain([options, 'optionalAccess', _ => _.compilerOptions, 'optionalAccess', _2 => _2.paths])) {
@@ -24,16 +24,16 @@ function resolvePathsConfig(options, cwd) {
24
24
  if (options.extends) {
25
25
  const extendsPath = _path2.default.resolve(cwd, options.extends);
26
26
  const extendsDir = _path2.default.dirname(extendsPath);
27
- const extendsConfig = _chunkSJESTPECcjs.__require.call(void 0, extendsPath);
27
+ const extendsConfig = _chunkNDGCAOGYcjs.__require.call(void 0, extendsPath);
28
28
  return resolvePathsConfig(extendsConfig, extendsDir);
29
29
  }
30
30
  return [];
31
31
  }
32
- _chunkSJESTPECcjs.__name.call(void 0, resolvePathsConfig, "resolvePathsConfig");
33
- var resolvePathsPlugin = /* @__PURE__ */ _chunkSJESTPECcjs.__name.call(void 0, (context) => ({
32
+ _chunkNDGCAOGYcjs.__name.call(void 0, resolvePathsConfig, "resolvePathsConfig");
33
+ var resolvePathsPlugin = /* @__PURE__ */ _chunkNDGCAOGYcjs.__name.call(void 0, (context) => ({
34
34
  name: "storm:resolve-paths",
35
35
  setup(build) {
36
- const parentTsConfig = build.initialOptions.tsconfig ? _chunkSJESTPECcjs.__require.call(void 0, _chunkRIGD2PFDcjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, build.initialOptions.tsconfig)) : _chunkSJESTPECcjs.__require.call(void 0, _chunkRIGD2PFDcjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, "tsconfig.json"));
36
+ const parentTsConfig = build.initialOptions.tsconfig ? _chunkNDGCAOGYcjs.__require.call(void 0, _chunkWOKMOSA3cjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, build.initialOptions.tsconfig)) : _chunkNDGCAOGYcjs.__require.call(void 0, _chunkWOKMOSA3cjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, "tsconfig.json"));
37
37
  const resolvedTsPaths = resolvePathsConfig(parentTsConfig, context.workspaceConfig.workspaceRoot);
38
38
  const packagesRegex = new RegExp(`^(${Object.keys(resolvedTsPaths).join("|")})$`);
39
39
  build.onResolve({
@@ -1,27 +1,27 @@
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 _chunk2DAVPJ7Dcjs = require('./chunk-2DAVPJ7D.cjs');
3
+ var _chunkKJZPYCZ3cjs = require('./chunk-KJZPYCZ3.cjs');
4
4
 
5
5
 
6
6
 
7
- var _chunk2SU3HI5Qcjs = require('./chunk-2SU3HI5Q.cjs');
7
+ var _chunk2VOJGBTNcjs = require('./chunk-2VOJGBTN.cjs');
8
8
 
9
9
 
10
10
 
11
- var _chunkSJESTPECcjs = require('./chunk-SJESTPEC.cjs');
11
+ var _chunkNDGCAOGYcjs = require('./chunk-NDGCAOGY.cjs');
12
12
 
13
13
  // src/assets.ts
14
- _chunkSJESTPECcjs.init_cjs_shims.call(void 0, );
14
+ _chunkNDGCAOGYcjs.init_cjs_shims.call(void 0, );
15
15
  async function copyBuildAssets(context) {
16
16
  if (_optionalChain([context, 'access', _ => _.result, 'optionalAccess', _2 => _2.errors, 'access', _3 => _3.length]) === 0) {
17
- _chunk2SU3HI5Qcjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context.outputPath}`, context.workspaceConfig);
18
- const stopwatch = _chunk2SU3HI5Qcjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
19
- await _chunk2DAVPJ7Dcjs.copyAssets.call(void 0, context.workspaceConfig, _nullishCoalesce(context.options.assets, () => ( [])), context.outputPath, context.options.projectRoot, context.sourceRoot, true, false);
17
+ _chunk2VOJGBTNcjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context.outputPath}`, context.workspaceConfig);
18
+ const stopwatch = _chunk2VOJGBTNcjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
19
+ await _chunkKJZPYCZ3cjs.copyAssets.call(void 0, context.workspaceConfig, _nullishCoalesce(context.options.assets, () => ( [])), context.outputPath, context.options.projectRoot, context.sourceRoot, true, false);
20
20
  stopwatch();
21
21
  }
22
22
  return context;
23
23
  }
24
- _chunkSJESTPECcjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
24
+ _chunkNDGCAOGYcjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
25
25
 
26
26
 
27
27
 
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ var _chunkNDGCAOGYcjs = require('./chunk-NDGCAOGY.cjs');
4
+
5
+ // src/types.ts
6
+ _chunkNDGCAOGYcjs.init_cjs_shims.call(void 0, );