@tsmodule/tsmodule 31.2.0 → 32.0.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.
- package/dist/commands/build/index.d.ts +20 -0
- package/dist/commands/build/index.js +19 -20
- package/dist/commands/build/lib/emitTsDeclarations.d.ts +13 -0
- package/dist/commands/build/lib/emitTsDeclarations.js +9 -9
- package/dist/commands/create/index.d.ts +3 -0
- package/dist/commands/create/index.js +12 -18
- package/dist/commands/create/lib/createTemplate.d.ts +1 -0
- package/dist/commands/create/lib/createTemplate.js +7 -7
- package/dist/commands/create/lib/rewritePkgJson.d.ts +1 -0
- package/dist/commands/create/lib/rewritePkgJson.js +1 -1
- package/dist/commands/dev/index.d.ts +1 -0
- package/dist/commands/dev/index.js +23 -24
- package/dist/commands/execute/index.d.ts +1 -0
- package/dist/commands/execute/index.js +5 -5
- package/dist/commands/normalize/index.d.ts +14 -0
- package/dist/commands/normalize/index.js +13 -15
- package/dist/commands/normalize/lib/typescriptApi.d.ts +7 -0
- package/dist/commands/normalize/lib/typescriptApi.js +9 -10
- package/dist/constants.d.ts +10 -0
- package/dist/constants.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +36 -43
- package/dist/loader/index.d.ts +11 -0
- package/dist/loader/index.js +5 -5
- package/dist/loader/types.d.ts +22 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/utils/cwd.d.ts +7 -0
- package/dist/utils/cwd.js +3 -3
- package/dist/utils/pkgJson.d.ts +2 -0
- package/dist/utils/pkgJson.js +1 -1
- package/dist/utils/require.d.ts +1 -0
- package/dist/utils/resolve.d.ts +28 -0
- package/dist/utils/resolve.js +1 -1
- package/dist/utils/stdin.d.ts +1 -0
- package/dist/utils/stdin.js +5 -5
- package/package.json +4 -5
@@ -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 {};
|