@storm-software/esbuild 0.34.1 → 0.34.3

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 (119) hide show
  1. package/README.md +2 -1
  2. package/bin/esbuild.cjs +12144 -159
  3. package/dist/assets.cjs +9 -0
  4. package/dist/assets.d.cts +16 -0
  5. package/dist/assets.d.ts +16 -0
  6. package/dist/assets.js +9 -0
  7. package/dist/build.cjs +13 -17
  8. package/dist/build.d.cts +3 -13
  9. package/dist/build.d.ts +3 -13
  10. package/dist/build.js +14 -18
  11. package/dist/chunk-2CM3VAO5.cjs +119 -0
  12. package/dist/{chunk-YMTDVMD6.js → chunk-4D6ICA75.js} +36 -3
  13. package/dist/{chunk-RGWII6NP.js → chunk-ABRK5MYP.js} +3 -5
  14. package/dist/chunk-CVOQEYHW.cjs +117 -0
  15. package/dist/{chunk-35YNFZCF.js → chunk-DNZNN5SK.js} +2 -2
  16. package/dist/chunk-EBTMX5WL.js +117 -0
  17. package/dist/chunk-ECCVVXNX.js +100 -0
  18. package/dist/chunk-EDLA3ZZN.js +26 -0
  19. package/dist/{chunk-Y3LXNK5C.cjs → chunk-EVDNG72R.cjs} +35 -37
  20. package/dist/{chunk-DZPLKD6O.cjs → chunk-FQQYNAPT.cjs} +111 -189
  21. package/dist/{chunk-4TQE46SC.cjs → chunk-G66JI4BS.cjs} +5 -7
  22. package/dist/{chunk-RTDGFM3J.js → chunk-NJJBR57W.js} +24 -102
  23. package/dist/{chunk-IX6DNVUR.js → chunk-OCDIIBBZ.js} +2 -2
  24. package/dist/chunk-PTHYT3U2.cjs +2545 -0
  25. package/dist/chunk-QVMJLFU5.cjs +26 -0
  26. package/dist/chunk-QWTKBUQW.js +2545 -0
  27. package/dist/chunk-R2KKGNQL.js +119 -0
  28. package/dist/{chunk-Y4XWI6JJ.cjs → chunk-RK34D7S5.cjs} +6 -6
  29. package/dist/chunk-SLSBBNRF.cjs +52 -0
  30. package/dist/{chunk-2IGRKQGI.js → chunk-TSQT5MWW.js} +2 -4
  31. package/dist/{chunk-MWGFCZF4.cjs → chunk-VTBMJYSM.cjs} +6 -6
  32. package/dist/chunk-WLJT52I3.cjs +100 -0
  33. package/dist/chunk-WXURMFT7.js +52 -0
  34. package/dist/{chunk-XITTOHOG.cjs → chunk-YHMM6RY5.cjs} +42 -9
  35. package/dist/clean.cjs +4 -5
  36. package/dist/clean.d.cts +1 -2
  37. package/dist/clean.d.ts +1 -2
  38. package/dist/clean.js +3 -4
  39. package/dist/config.cjs +5 -14
  40. package/dist/config.d.cts +4 -6
  41. package/dist/config.d.ts +4 -6
  42. package/dist/config.js +6 -15
  43. package/dist/context.cjs +11 -0
  44. package/dist/context.d.cts +16 -0
  45. package/dist/context.d.ts +16 -0
  46. package/dist/context.js +11 -0
  47. package/dist/index.cjs +14 -52
  48. package/dist/index.d.cts +3 -216
  49. package/dist/index.d.ts +3 -216
  50. package/dist/index.js +15 -53
  51. package/dist/package-json.cjs +9 -0
  52. package/dist/package-json.d.cts +16 -0
  53. package/dist/package-json.d.ts +16 -0
  54. package/dist/package-json.js +9 -0
  55. package/dist/plugins/deps-check.cjs +4 -5
  56. package/dist/plugins/deps-check.js +3 -4
  57. package/dist/plugins/resolve-paths.cjs +3 -4
  58. package/dist/plugins/resolve-paths.d.cts +3 -4
  59. package/dist/plugins/resolve-paths.d.ts +3 -4
  60. package/dist/plugins/resolve-paths.js +2 -3
  61. package/dist/tsup.cjs +8 -0
  62. package/dist/tsup.d.cts +16 -0
  63. package/dist/tsup.d.ts +16 -0
  64. package/dist/tsup.js +8 -0
  65. package/dist/types.d.cts +1 -2
  66. package/dist/types.d.ts +1 -2
  67. package/dist/watch.cjs +111 -0
  68. package/dist/watch.d.cts +18 -0
  69. package/dist/watch.d.ts +18 -0
  70. package/dist/watch.js +111 -0
  71. package/package.json +59 -38
  72. package/dist/chunk-3GQAWCBQ.js +0 -13
  73. package/dist/chunk-7A6JPBG7.js +0 -421
  74. package/dist/chunk-BGYQAVKQ.cjs +0 -13
  75. package/dist/chunk-ETTFFUNG.cjs +0 -167
  76. package/dist/chunk-EZGTDCYM.cjs +0 -29
  77. package/dist/chunk-GQCYZOAM.cjs +0 -27
  78. package/dist/chunk-GWG4HOQ6.js +0 -29
  79. package/dist/chunk-HXMVEX3P.js +0 -27
  80. package/dist/chunk-IMVMVEQS.cjs +0 -140
  81. package/dist/chunk-IO2TXOKO.js +0 -26
  82. package/dist/chunk-K6QIYIIY.cjs +0 -26
  83. package/dist/chunk-LYDEMC26.js +0 -23
  84. package/dist/chunk-RVMQBDDK.cjs +0 -421
  85. package/dist/chunk-S2P6KHZV.js +0 -140
  86. package/dist/chunk-S6M44SSZ.cjs +0 -60
  87. package/dist/chunk-T5272PC2.js +0 -60
  88. package/dist/chunk-WRBUO7H6.cjs +0 -23
  89. package/dist/chunk-XEGYFRBF.js +0 -167
  90. package/dist/plugins/esm-split-code-to-cjs.cjs +0 -7
  91. package/dist/plugins/esm-split-code-to-cjs.d.cts +0 -15
  92. package/dist/plugins/esm-split-code-to-cjs.d.ts +0 -15
  93. package/dist/plugins/esm-split-code-to-cjs.js +0 -7
  94. package/dist/plugins/fix-imports.cjs +0 -7
  95. package/dist/plugins/fix-imports.d.cts +0 -14
  96. package/dist/plugins/fix-imports.d.ts +0 -14
  97. package/dist/plugins/fix-imports.js +0 -7
  98. package/dist/plugins/native-node-module.cjs +0 -7
  99. package/dist/plugins/native-node-module.d.cts +0 -11
  100. package/dist/plugins/native-node-module.d.ts +0 -11
  101. package/dist/plugins/native-node-module.js +0 -7
  102. package/dist/plugins/node-protocol.cjs +0 -7
  103. package/dist/plugins/node-protocol.d.cts +0 -15
  104. package/dist/plugins/node-protocol.d.ts +0 -15
  105. package/dist/plugins/node-protocol.js +0 -7
  106. package/dist/plugins/on-error.cjs +0 -9
  107. package/dist/plugins/on-error.d.cts +0 -14
  108. package/dist/plugins/on-error.d.ts +0 -14
  109. package/dist/plugins/on-error.js +0 -9
  110. package/dist/plugins/tsc.cjs +0 -9
  111. package/dist/plugins/tsc.d.cts +0 -14
  112. package/dist/plugins/tsc.d.ts +0 -14
  113. package/dist/plugins/tsc.js +0 -9
  114. package/dist/tsc.cjs +0 -17
  115. package/dist/tsc.d.cts +0 -21
  116. package/dist/tsc.d.ts +0 -21
  117. package/dist/tsc.js +0 -17
  118. package/dist/types-DwxFThZu.d.cts +0 -1286
  119. package/dist/types-DwxFThZu.d.ts +0 -1286
@@ -1,14 +0,0 @@
1
- import * as esbuild from 'esbuild';
2
- import { ESBuildOptions } from '../types.js';
3
- import '@nx/devkit';
4
- import '@storm-software/build-tools';
5
- import '../types-DwxFThZu.js';
6
- import 'zod';
7
- import 'tsup';
8
-
9
- /**
10
- * Causes esbuild to exit immediately with an error code.
11
- */
12
- declare const onErrorPlugin: (options: ESBuildOptions, resolvedOptions: ESBuildOptions) => esbuild.Plugin;
13
-
14
- export { onErrorPlugin };
@@ -1,9 +0,0 @@
1
- import {
2
- onErrorPlugin
3
- } from "../chunk-IO2TXOKO.js";
4
- import "../chunk-2IGRKQGI.js";
5
- import "../chunk-YMTDVMD6.js";
6
- import "../chunk-3GQAWCBQ.js";
7
- export {
8
- onErrorPlugin
9
- };
@@ -1,9 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkIMVMVEQScjs = require('../chunk-IMVMVEQS.cjs');
4
- require('../chunk-Y3LXNK5C.cjs');
5
- require('../chunk-XITTOHOG.cjs');
6
- require('../chunk-BGYQAVKQ.cjs');
7
-
8
-
9
- exports.tscPlugin = _chunkIMVMVEQScjs.tscPlugin;
@@ -1,14 +0,0 @@
1
- import * as esbuild from 'esbuild';
2
- import { ESBuildContext } from '../types.cjs';
3
- import '@nx/devkit';
4
- import '@storm-software/build-tools';
5
- import '../types-DwxFThZu.cjs';
6
- import 'zod';
7
- import 'tsup';
8
-
9
- /**
10
- * Triggers the TypeScript compiler and the type bundler.
11
- */
12
- declare const tscPlugin: (context: ESBuildContext) => esbuild.Plugin;
13
-
14
- export { tscPlugin };
@@ -1,14 +0,0 @@
1
- import * as esbuild from 'esbuild';
2
- import { ESBuildContext } from '../types.js';
3
- import '@nx/devkit';
4
- import '@storm-software/build-tools';
5
- import '../types-DwxFThZu.js';
6
- import 'zod';
7
- import 'tsup';
8
-
9
- /**
10
- * Triggers the TypeScript compiler and the type bundler.
11
- */
12
- declare const tscPlugin: (context: ESBuildContext) => esbuild.Plugin;
13
-
14
- export { tscPlugin };
@@ -1,9 +0,0 @@
1
- import {
2
- tscPlugin
3
- } from "../chunk-S2P6KHZV.js";
4
- import "../chunk-2IGRKQGI.js";
5
- import "../chunk-YMTDVMD6.js";
6
- import "../chunk-3GQAWCBQ.js";
7
- export {
8
- tscPlugin
9
- };
package/dist/tsc.cjs DELETED
@@ -1,17 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
- var _chunkETTFFUNGcjs = require('./chunk-ETTFFUNG.cjs');
8
- require('./chunk-Y3LXNK5C.cjs');
9
- require('./chunk-XITTOHOG.cjs');
10
- require('./chunk-BGYQAVKQ.cjs');
11
-
12
-
13
-
14
-
15
-
16
-
17
- exports.emitDts = _chunkETTFFUNGcjs.emitDts; exports.emitDtsFiles = _chunkETTFFUNGcjs.emitDtsFiles; exports.ensureTempDeclarationDir = _chunkETTFFUNGcjs.ensureTempDeclarationDir; exports.slash = _chunkETTFFUNGcjs.slash; exports.toAbsolutePath = _chunkETTFFUNGcjs.toAbsolutePath;
package/dist/tsc.d.cts DELETED
@@ -1,21 +0,0 @@
1
- import { S as StormWorkspaceConfig } from './types-DwxFThZu.cjs';
2
- import { TsconfigRaw } from 'esbuild';
3
- import ts from 'typescript';
4
- import { ExportDeclaration } from './types.cjs';
5
- import 'zod';
6
- import '@nx/devkit';
7
- import '@storm-software/build-tools';
8
- import 'tsup';
9
-
10
- declare function ensureTempDeclarationDir(workspaceConfig: StormWorkspaceConfig): string;
11
- declare function slash(path: string): string;
12
- declare function toAbsolutePath(workspaceConfig: StormWorkspaceConfig, p: string, cwd?: string): string;
13
- /**
14
- * Use TypeScript compiler to emit declaration files.
15
- *
16
- * @returns The mapping from source TS file paths to output declaration file paths
17
- */
18
- declare function emitDtsFiles(workspaceConfig: StormWorkspaceConfig, program: ts.Program, host: ts.CompilerHost, emitOnlyDtsFiles?: boolean, customTransformers?: ts.CustomTransformers): Map<string, string>;
19
- declare function emitDts(workspaceConfig: StormWorkspaceConfig, tsconfig: string, tsconfigRaw?: TsconfigRaw, emitOnlyDtsFiles?: boolean, customTransformers?: ts.CustomTransformers): ExportDeclaration[];
20
-
21
- export { emitDts, emitDtsFiles, ensureTempDeclarationDir, slash, toAbsolutePath };
package/dist/tsc.d.ts DELETED
@@ -1,21 +0,0 @@
1
- import { S as StormWorkspaceConfig } from './types-DwxFThZu.js';
2
- import { TsconfigRaw } from 'esbuild';
3
- import ts from 'typescript';
4
- import { ExportDeclaration } from './types.js';
5
- import 'zod';
6
- import '@nx/devkit';
7
- import '@storm-software/build-tools';
8
- import 'tsup';
9
-
10
- declare function ensureTempDeclarationDir(workspaceConfig: StormWorkspaceConfig): string;
11
- declare function slash(path: string): string;
12
- declare function toAbsolutePath(workspaceConfig: StormWorkspaceConfig, p: string, cwd?: string): string;
13
- /**
14
- * Use TypeScript compiler to emit declaration files.
15
- *
16
- * @returns The mapping from source TS file paths to output declaration file paths
17
- */
18
- declare function emitDtsFiles(workspaceConfig: StormWorkspaceConfig, program: ts.Program, host: ts.CompilerHost, emitOnlyDtsFiles?: boolean, customTransformers?: ts.CustomTransformers): Map<string, string>;
19
- declare function emitDts(workspaceConfig: StormWorkspaceConfig, tsconfig: string, tsconfigRaw?: TsconfigRaw, emitOnlyDtsFiles?: boolean, customTransformers?: ts.CustomTransformers): ExportDeclaration[];
20
-
21
- export { emitDts, emitDtsFiles, ensureTempDeclarationDir, slash, toAbsolutePath };
package/dist/tsc.js DELETED
@@ -1,17 +0,0 @@
1
- import {
2
- emitDts,
3
- emitDtsFiles,
4
- ensureTempDeclarationDir,
5
- slash,
6
- toAbsolutePath
7
- } from "./chunk-XEGYFRBF.js";
8
- import "./chunk-2IGRKQGI.js";
9
- import "./chunk-YMTDVMD6.js";
10
- import "./chunk-3GQAWCBQ.js";
11
- export {
12
- emitDts,
13
- emitDtsFiles,
14
- ensureTempDeclarationDir,
15
- slash,
16
- toAbsolutePath
17
- };