@tsmodule/tsmodule 31.0.1 → 32.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/commands/build/index.d.ts +20 -0
- package/dist/commands/build/index.js +63 -5
- package/dist/commands/build/lib/emitTsDeclarations.d.ts +13 -0
- package/dist/commands/build/lib/emitTsDeclarations.js +18 -3
- package/dist/commands/create/index.d.ts +3 -0
- package/dist/commands/create/index.js +18 -1
- package/dist/commands/create/lib/createTemplate.d.ts +1 -0
- package/dist/commands/create/lib/createTemplate.js +10 -1
- package/dist/commands/create/lib/rewritePkgJson.d.ts +1 -0
- package/dist/commands/create/lib/rewritePkgJson.js +4 -1
- package/dist/commands/dev/index.d.ts +1 -0
- package/dist/commands/dev/index.js +68 -3
- package/dist/commands/execute/index.d.ts +1 -0
- package/dist/commands/execute/index.js +10 -1
- package/dist/commands/normalize/index.d.ts +14 -0
- package/dist/commands/normalize/index.js +58 -3
- package/dist/commands/normalize/lib/typescriptApi.d.ts +7 -0
- package/dist/commands/normalize/lib/typescriptApi.js +50 -1
- package/dist/constants.d.ts +10 -0
- package/dist/constants.js +4 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +89 -5
- package/dist/loader/index.d.ts +11 -0
- package/dist/loader/index.js +12 -1
- package/dist/loader/types.d.ts +22 -0
- package/dist/loader/types.js +3 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +3 -1
- package/dist/utils/cwd.d.ts +7 -0
- package/dist/utils/cwd.js +8 -1
- package/dist/utils/pkgJson.d.ts +2 -0
- package/dist/utils/pkgJson.js +4 -1
- package/dist/utils/require.d.ts +1 -0
- package/dist/utils/require.js +4 -1
- package/dist/utils/resolve.d.ts +28 -0
- package/dist/utils/resolve.js +4 -1
- package/dist/utils/stdin.d.ts +1 -0
- package/dist/utils/stdin.js +12 -1
- package/package.json +16 -15
@@ -0,0 +1,20 @@
|
|
1
|
+
export declare const bannerLog: (msg: string) => void;
|
2
|
+
interface BuildArgs {
|
3
|
+
input?: string;
|
4
|
+
styles?: string;
|
5
|
+
bundle?: boolean;
|
6
|
+
dev?: boolean;
|
7
|
+
target?: string | string[];
|
8
|
+
runtimeOnly?: boolean;
|
9
|
+
noWrite?: boolean;
|
10
|
+
noStandardStyles?: boolean;
|
11
|
+
stdin?: string;
|
12
|
+
stdinFile?: string;
|
13
|
+
}
|
14
|
+
/**
|
15
|
+
* Build TS to JS. This will contain incomplete specifiers like `./foo` which
|
16
|
+
* could mean many things, all of which is handled by the loader which will
|
17
|
+
* resolve them for us.
|
18
|
+
*/
|
19
|
+
export declare const build: ({ input, styles, target, dev, bundle, runtimeOnly, noWrite, noStandardStyles, stdin, stdinFile, }: BuildArgs) => Promise<string | undefined>;
|
20
|
+
export {};
|