@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.
- package/README.md +2 -1
- package/bin/esbuild.cjs +12144 -159
- package/dist/assets.cjs +9 -0
- package/dist/assets.d.cts +16 -0
- package/dist/assets.d.ts +16 -0
- package/dist/assets.js +9 -0
- package/dist/build.cjs +13 -17
- package/dist/build.d.cts +3 -13
- package/dist/build.d.ts +3 -13
- package/dist/build.js +14 -18
- package/dist/chunk-2CM3VAO5.cjs +119 -0
- package/dist/{chunk-YMTDVMD6.js → chunk-4D6ICA75.js} +36 -3
- package/dist/{chunk-RGWII6NP.js → chunk-ABRK5MYP.js} +3 -5
- package/dist/chunk-CVOQEYHW.cjs +117 -0
- package/dist/{chunk-35YNFZCF.js → chunk-DNZNN5SK.js} +2 -2
- package/dist/chunk-EBTMX5WL.js +117 -0
- package/dist/chunk-ECCVVXNX.js +100 -0
- package/dist/chunk-EDLA3ZZN.js +26 -0
- package/dist/{chunk-Y3LXNK5C.cjs → chunk-EVDNG72R.cjs} +35 -37
- package/dist/{chunk-DZPLKD6O.cjs → chunk-FQQYNAPT.cjs} +111 -189
- package/dist/{chunk-4TQE46SC.cjs → chunk-G66JI4BS.cjs} +5 -7
- package/dist/{chunk-RTDGFM3J.js → chunk-NJJBR57W.js} +24 -102
- package/dist/{chunk-IX6DNVUR.js → chunk-OCDIIBBZ.js} +2 -2
- package/dist/chunk-PTHYT3U2.cjs +2545 -0
- package/dist/chunk-QVMJLFU5.cjs +26 -0
- package/dist/chunk-QWTKBUQW.js +2545 -0
- package/dist/chunk-R2KKGNQL.js +119 -0
- package/dist/{chunk-Y4XWI6JJ.cjs → chunk-RK34D7S5.cjs} +6 -6
- package/dist/chunk-SLSBBNRF.cjs +52 -0
- package/dist/{chunk-2IGRKQGI.js → chunk-TSQT5MWW.js} +2 -4
- package/dist/{chunk-MWGFCZF4.cjs → chunk-VTBMJYSM.cjs} +6 -6
- package/dist/chunk-WLJT52I3.cjs +100 -0
- package/dist/chunk-WXURMFT7.js +52 -0
- package/dist/{chunk-XITTOHOG.cjs → chunk-YHMM6RY5.cjs} +42 -9
- package/dist/clean.cjs +4 -5
- package/dist/clean.d.cts +1 -2
- package/dist/clean.d.ts +1 -2
- package/dist/clean.js +3 -4
- package/dist/config.cjs +5 -14
- package/dist/config.d.cts +4 -6
- package/dist/config.d.ts +4 -6
- package/dist/config.js +6 -15
- package/dist/context.cjs +11 -0
- package/dist/context.d.cts +16 -0
- package/dist/context.d.ts +16 -0
- package/dist/context.js +11 -0
- package/dist/index.cjs +14 -52
- package/dist/index.d.cts +3 -216
- package/dist/index.d.ts +3 -216
- package/dist/index.js +15 -53
- package/dist/package-json.cjs +9 -0
- package/dist/package-json.d.cts +16 -0
- package/dist/package-json.d.ts +16 -0
- package/dist/package-json.js +9 -0
- package/dist/plugins/deps-check.cjs +4 -5
- package/dist/plugins/deps-check.js +3 -4
- package/dist/plugins/resolve-paths.cjs +3 -4
- package/dist/plugins/resolve-paths.d.cts +3 -4
- package/dist/plugins/resolve-paths.d.ts +3 -4
- package/dist/plugins/resolve-paths.js +2 -3
- package/dist/tsup.cjs +8 -0
- package/dist/tsup.d.cts +16 -0
- package/dist/tsup.d.ts +16 -0
- package/dist/tsup.js +8 -0
- package/dist/types.d.cts +1 -2
- package/dist/types.d.ts +1 -2
- package/dist/watch.cjs +111 -0
- package/dist/watch.d.cts +18 -0
- package/dist/watch.d.ts +18 -0
- package/dist/watch.js +111 -0
- package/package.json +59 -38
- package/dist/chunk-3GQAWCBQ.js +0 -13
- package/dist/chunk-7A6JPBG7.js +0 -421
- package/dist/chunk-BGYQAVKQ.cjs +0 -13
- package/dist/chunk-ETTFFUNG.cjs +0 -167
- package/dist/chunk-EZGTDCYM.cjs +0 -29
- package/dist/chunk-GQCYZOAM.cjs +0 -27
- package/dist/chunk-GWG4HOQ6.js +0 -29
- package/dist/chunk-HXMVEX3P.js +0 -27
- package/dist/chunk-IMVMVEQS.cjs +0 -140
- package/dist/chunk-IO2TXOKO.js +0 -26
- package/dist/chunk-K6QIYIIY.cjs +0 -26
- package/dist/chunk-LYDEMC26.js +0 -23
- package/dist/chunk-RVMQBDDK.cjs +0 -421
- package/dist/chunk-S2P6KHZV.js +0 -140
- package/dist/chunk-S6M44SSZ.cjs +0 -60
- package/dist/chunk-T5272PC2.js +0 -60
- package/dist/chunk-WRBUO7H6.cjs +0 -23
- package/dist/chunk-XEGYFRBF.js +0 -167
- package/dist/plugins/esm-split-code-to-cjs.cjs +0 -7
- package/dist/plugins/esm-split-code-to-cjs.d.cts +0 -15
- package/dist/plugins/esm-split-code-to-cjs.d.ts +0 -15
- package/dist/plugins/esm-split-code-to-cjs.js +0 -7
- package/dist/plugins/fix-imports.cjs +0 -7
- package/dist/plugins/fix-imports.d.cts +0 -14
- package/dist/plugins/fix-imports.d.ts +0 -14
- package/dist/plugins/fix-imports.js +0 -7
- package/dist/plugins/native-node-module.cjs +0 -7
- package/dist/plugins/native-node-module.d.cts +0 -11
- package/dist/plugins/native-node-module.d.ts +0 -11
- package/dist/plugins/native-node-module.js +0 -7
- package/dist/plugins/node-protocol.cjs +0 -7
- package/dist/plugins/node-protocol.d.cts +0 -15
- package/dist/plugins/node-protocol.d.ts +0 -15
- package/dist/plugins/node-protocol.js +0 -7
- package/dist/plugins/on-error.cjs +0 -9
- package/dist/plugins/on-error.d.cts +0 -14
- package/dist/plugins/on-error.d.ts +0 -14
- package/dist/plugins/on-error.js +0 -9
- package/dist/plugins/tsc.cjs +0 -9
- package/dist/plugins/tsc.d.cts +0 -14
- package/dist/plugins/tsc.d.ts +0 -14
- package/dist/plugins/tsc.js +0 -9
- package/dist/tsc.cjs +0 -17
- package/dist/tsc.d.cts +0 -21
- package/dist/tsc.d.ts +0 -21
- package/dist/tsc.js +0 -17
- package/dist/types-DwxFThZu.d.cts +0 -1286
- 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 };
|
package/dist/plugins/on-error.js
DELETED
package/dist/plugins/tsc.cjs
DELETED
|
@@ -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;
|
package/dist/plugins/tsc.d.cts
DELETED
|
@@ -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 };
|
package/dist/plugins/tsc.d.ts
DELETED
|
@@ -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 };
|
package/dist/plugins/tsc.js
DELETED
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
|
-
};
|