-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-options.mts
68 lines (59 loc) · 1.61 KB
/
build-options.mts
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
64
65
66
67
68
/**
* @file BuildOptions
* @module tsconfig-types/BuildOptions
*/
import type { CompilerOptionsValue } from '@flex-development/tsconfig-types'
/**
* Program build options.
*
* > As it concerns optional fields, `null` is used instead of `undefined`, even
* > in fields where `null` may not be allowed by TypeScript.\
* > This is to better support optional fields, as well as packages that may use
* > this definition. Such packages are expected to handle `null` values.
*
* This interface can be augmented to register custom fields. Field values are
* expected to be compatible with {@linkcode CompilerOptionsValue}.
*/
interface BuildOptions {
[option: string]: CompilerOptionsValue
/**
* Only recheck/rebuild files that have changed as well as files that directly
* import them.
*
* @see https://www.typescriptlang.org/tsconfig/#assumeChangesOnlyAffectDirectDependencies
*
* @default false
*/
assumeChangesOnlyAffectDirectDependencies?: boolean | null
/**
* Show what would be built.
*
* @default false
*/
dry?: boolean | null
/**
* Build all projects, including those that appear to be up to date.
*
* @default false
*/
force?: boolean | null
/**
* Save `.tsbuildinfo` files to allow for incremental compilation of projects.
*
* @default false
*/
incremental?: boolean | null
/**
* Log paths used during the module resolution process.
*
* @default false
*/
traceResolution?: boolean | null
/**
* Enable/disable verbose logging.
*
* @default false
*/
verbose?: boolean | null
}
export type { BuildOptions as default }