1 | import type { Assembly, TypeSystem } from 'jsii-reflect';
|
2 | export declare const DEFAULT_PACK_COMMAND = "npm pack";
|
3 | export interface JsiiModuleOptions {
|
4 | |
5 |
|
6 |
|
7 | name: string;
|
8 | |
9 |
|
10 |
|
11 | moduleDirectory: string;
|
12 | |
13 |
|
14 |
|
15 | availableTargets: string[];
|
16 | |
17 |
|
18 |
|
19 | defaultOutputDirectory: string;
|
20 | |
21 |
|
22 |
|
23 | dependencyNames?: string[];
|
24 | }
|
25 | export declare class JsiiModule {
|
26 | readonly name: string;
|
27 | readonly dependencyNames: string[];
|
28 | readonly moduleDirectory: string;
|
29 | readonly availableTargets: string[];
|
30 | outputDirectory: string;
|
31 | private _tarball?;
|
32 | _assembly?: Assembly;
|
33 | constructor(options: JsiiModuleOptions);
|
34 | /**
|
35 | * Prepare an NPM package from this source module
|
36 | */
|
37 | npmPack(packCommand?: string): Promise<void>;
|
38 | get tarball(): string;
|
39 | load(system: TypeSystem, validate?: boolean): Promise<Assembly>;
|
40 | get assembly(): Assembly;
|
41 | cleanup(): Promise<void>;
|
42 | }
|
43 | //# sourceMappingURL=packaging.d.ts.map |
\ | No newline at end of file |