@storm-software/esbuild 0.2.0 → 0.4.0

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 (46) hide show
  1. package/dist/build.cjs +6 -6
  2. package/dist/build.d.cts +5 -3
  3. package/dist/build.d.ts +5 -3
  4. package/dist/build.js +5 -5
  5. package/dist/{chunk-T5H2LBQA.cjs → chunk-263L44RM.cjs} +6 -21
  6. package/dist/chunk-263L44RM.cjs.map +1 -0
  7. package/dist/chunk-437F3SFI.js +24 -0
  8. package/dist/chunk-437F3SFI.js.map +1 -0
  9. package/dist/{chunk-IDO67KEL.js → chunk-CMEDJ4L4.js} +89 -57
  10. package/dist/chunk-CMEDJ4L4.js.map +1 -0
  11. package/dist/{chunk-7U3F23ZZ.js → chunk-CMWXE5MF.js} +4 -6
  12. package/dist/chunk-CMWXE5MF.js.map +1 -0
  13. package/dist/chunk-J34FQYKV.cjs +24 -0
  14. package/dist/chunk-J34FQYKV.cjs.map +1 -0
  15. package/dist/{chunk-QBYHNHXL.js → chunk-KJ7ZHAFS.js} +5 -20
  16. package/dist/chunk-KJ7ZHAFS.js.map +1 -0
  17. package/dist/{chunk-Z2M426LD.cjs → chunk-KVBDKVBU.cjs} +4 -6
  18. package/dist/chunk-KVBDKVBU.cjs.map +1 -0
  19. package/dist/{chunk-PRNPZZSV.cjs → chunk-MVLEDP7K.cjs} +5 -7
  20. package/dist/chunk-MVLEDP7K.cjs.map +1 -0
  21. package/dist/{chunk-75SHW3Z4.cjs → chunk-PBHOTQGA.cjs} +89 -57
  22. package/dist/chunk-PBHOTQGA.cjs.map +1 -0
  23. package/dist/{chunk-CMF37LBT.js → chunk-X5TLV7MF.js} +4 -6
  24. package/dist/chunk-X5TLV7MF.js.map +1 -0
  25. package/dist/config.d.cts +2 -0
  26. package/dist/config.d.ts +2 -0
  27. package/dist/index.cjs +6 -12
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.cts +4 -18
  30. package/dist/index.d.ts +4 -18
  31. package/dist/index.js +6 -12
  32. package/dist/types.d.cts +1167 -0
  33. package/dist/types.d.ts +1167 -0
  34. package/package.json +3 -6
  35. package/dist/chunk-4ZPYEZJO.cjs +0 -15
  36. package/dist/chunk-4ZPYEZJO.cjs.map +0 -1
  37. package/dist/chunk-75SHW3Z4.cjs.map +0 -1
  38. package/dist/chunk-7U3F23ZZ.js.map +0 -1
  39. package/dist/chunk-CMF37LBT.js.map +0 -1
  40. package/dist/chunk-IDO67KEL.js.map +0 -1
  41. package/dist/chunk-PRNPZZSV.cjs.map +0 -1
  42. package/dist/chunk-QBYHNHXL.js.map +0 -1
  43. package/dist/chunk-T5H2LBQA.cjs.map +0 -1
  44. package/dist/chunk-Z2M426LD.cjs.map +0 -1
  45. package/dist/chunk-ZQ5NVDFP.js +0 -15
  46. package/dist/chunk-ZQ5NVDFP.js.map +0 -1
package/dist/index.d.cts CHANGED
@@ -1,10 +1,10 @@
1
1
  export { build } from './build.cjs';
2
2
  export { DEFAULT_BUILD_OPTIONS, adapterConfig } from './config.cjs';
3
3
  export { ESBuildOptions, ESBuildResolvedOptions, ESBuildResult } from './types.cjs';
4
- import { LogType } from 'consola';
5
- import * as execa from 'execa';
6
- import 'esbuild';
7
4
  import '@nx/devkit';
5
+ import '@storm-software/build-tools';
6
+ import 'zod';
7
+ import 'esbuild';
8
8
  import 'nx/src/utils/find-workspace-root';
9
9
 
10
10
  declare function handleSync<R, E = Error>(fn: () => R): R | E;
@@ -213,18 +213,4 @@ declare type PipeMultiAsync = {
213
213
  ]): FunctionLike<P, Promise<Await<R9>>>;
214
214
  };
215
215
 
216
- /**
217
- * Writes a log message to the console.
218
- *
219
- * @param type - The type of log message.
220
- * @param args - The arguments to log.
221
- */
222
- declare function writeLog(type: LogType, ...args: string[]): void;
223
-
224
- declare function run(command: string): execa.ResultPromise<{
225
- preferLocal: true;
226
- shell: true;
227
- stdio: "inherit";
228
- }>;
229
-
230
- export { Filter, Mapper, type PipeMultiAsync, type PipeMultiSync, handle, pipe, run, skip, transduce, writeLog };
216
+ export { Filter, Mapper, type PipeMultiAsync, type PipeMultiSync, handle, pipe, skip, transduce };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  export { build } from './build.js';
2
2
  export { DEFAULT_BUILD_OPTIONS, adapterConfig } from './config.js';
3
3
  export { ESBuildOptions, ESBuildResolvedOptions, ESBuildResult } from './types.js';
4
- import { LogType } from 'consola';
5
- import * as execa from 'execa';
6
- import 'esbuild';
7
4
  import '@nx/devkit';
5
+ import '@storm-software/build-tools';
6
+ import 'zod';
7
+ import 'esbuild';
8
8
  import 'nx/src/utils/find-workspace-root';
9
9
 
10
10
  declare function handleSync<R, E = Error>(fn: () => R): R | E;
@@ -213,18 +213,4 @@ declare type PipeMultiAsync = {
213
213
  ]): FunctionLike<P, Promise<Await<R9>>>;
214
214
  };
215
215
 
216
- /**
217
- * Writes a log message to the console.
218
- *
219
- * @param type - The type of log message.
220
- * @param args - The arguments to log.
221
- */
222
- declare function writeLog(type: LogType, ...args: string[]): void;
223
-
224
- declare function run(command: string): execa.ResultPromise<{
225
- preferLocal: true;
226
- shell: true;
227
- stdio: "inherit";
228
- }>;
229
-
230
- export { Filter, Mapper, type PipeMultiAsync, type PipeMultiSync, handle, pipe, run, skip, transduce, writeLog };
216
+ export { Filter, Mapper, type PipeMultiAsync, type PipeMultiSync, handle, pipe, skip, transduce };
package/dist/index.js CHANGED
@@ -6,22 +6,18 @@ import {
6
6
  pipe,
7
7
  skip,
8
8
  transduce
9
- } from "./chunk-IDO67KEL.js";
10
- import "./chunk-CMF37LBT.js";
9
+ } from "./chunk-CMEDJ4L4.js";
11
10
  import "./chunk-TTHABTDU.js";
12
- import {
13
- run
14
- } from "./chunk-QBYHNHXL.js";
11
+ import "./chunk-KJ7ZHAFS.js";
15
12
  import {
16
13
  DEFAULT_BUILD_OPTIONS,
17
14
  adapterConfig
18
15
  } from "./chunk-DRRPNILS.js";
19
16
  import "./chunk-QNDLJ2W7.js";
20
- import "./chunk-7U3F23ZZ.js";
21
- import {
22
- writeLog
23
- } from "./chunk-ZQ5NVDFP.js";
17
+ import "./chunk-CMWXE5MF.js";
18
+ import "./chunk-437F3SFI.js";
24
19
  import "./chunk-YQBU3FSL.js";
20
+ import "./chunk-X5TLV7MF.js";
25
21
  import "./chunk-WCQVDF3K.js";
26
22
  export {
27
23
  DEFAULT_BUILD_OPTIONS,
@@ -31,9 +27,7 @@ export {
31
27
  build,
32
28
  handle,
33
29
  pipe,
34
- run,
35
30
  skip,
36
- transduce,
37
- writeLog
31
+ transduce
38
32
  };
39
33
  //# sourceMappingURL=index.js.map