forked from cdklabs/jsii-srcmak
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.ts
More file actions
63 lines (54 loc) · 1.18 KB
/
options.ts
File metadata and controls
63 lines (54 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
export interface Options {
/**
* The relative path of the .ts entrypoint within the source directory.
* @default "index.ts"
*/
entrypoint?: string;
/**
* List of directories that include node modules to symlink into the compiled
* package. For example, if your generated code references some library, you
* should include it's module directory in here.
*/
deps?: string[];
/**
* Save .jsii file to an output location.
* @default - jsii manifest is omitted.
*/
jsii?: JsiiOutputOptions;
/**
* Produce python code.
* @default - python is not generated
*/
python?: PythonOutputOptions;
/**
* Produce java code.
* @default - java is not generated
*/
java?: JavaOutputOptions;
}
export interface JsiiOutputOptions {
/**
* Path to save the .jsii output to.
*/
path: string;
}
export interface PythonOutputOptions {
/**
* Base root directory.
*/
outdir: string;
/**
* The name of the the python module to generate.
*/
moduleName: string;
}
export interface JavaOutputOptions {
/**
* Base root directory.
*/
outdir: string;
/**
* The name of the java package to generate
*/
package: string;
}