-
Notifications
You must be signed in to change notification settings - Fork 0
/
configSpec.ts
25 lines (24 loc) · 1.04 KB
/
configSpec.ts
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
export type ProjectConfig =
| string // Project path (doesn't have to be path/tsconfig.json but is recommended)
| {
// Project path (doesn't have to be path/tsconfig.json but is recommended)
path: string;
// Do not emit outputs. Default: use tsconfigs option.
noEmit?: boolean | undefined;
// Path to the executable tsc
compiler?: string;
};
// Specific settings win from global settings. Global settings can be seen as default settings for each project.
export type MtscConfig = {
// Use MTSC Debug for extensive logging of what is happening
debug?: boolean;
// Watch project (default value is false)
watch?: boolean;
// Do not emit outputs for all projects. Default: use tsconfigs option
noEmit?: boolean | undefined;
// Default: Path to the executable tsc
compiler?: string;
projects: ProjectConfig[];
// Use yarn workspace directories for projects. You won't be able to have specific project settings this way
useYarnWorkspaces?: boolean;
};