-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
## Summary * Added references to all dependencies https://github.com/elastic/kibana/blob/6bc6f3459a120eddfae70ad2fc7e4669e3a996b0/x-pack/plugins/fleet/tsconfig.json#L17-L38 * `node scripts/check_ts_projects` is successful * `node scripts/build_ts_refs` is successful <details><summary><code>node --max-old-space-size=4096 ./node_modules/.bin/tsc -p tsconfig.json --extendedDiagnostics --noEmit</code></summary> ``` Files: 1436 Lines: 267372 Nodes: 1016769 Identifiers: 361835 Symbols: 250405 Types: 31105 Instantiations: 57570 Memory used: 347817K Assignability cache size: 5597 Identity cache size: 3073 Subtype cache size: 2140 Strict subtype cache size: 1012 I/O Read time: 0.49s Parse time: 3.84s ResolveModule time: 1.59s ResolveTypeReference time: 0.16s Program time: 7.46s Bind time: 1.87s Check time: 4.02s printTime time: 0.00s Emit time: 0.00s Total time: 13.35s ``` </details>
- Loading branch information
John Schulz
authored
Feb 9, 2021
1 parent
c11a3ac
commit d91d299
Showing
4 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"composite": true, | ||
"outDir": "./target/types", | ||
"emitDeclarationOnly": true, | ||
"declaration": true, | ||
"declarationMap": true | ||
}, | ||
"include": [ | ||
// add all the folders containg files to be compiled | ||
"common/**/*", | ||
"public/**/*", | ||
"server/**/*", | ||
"scripts/**/*" | ||
], | ||
"references": [ | ||
{ "path": "../../../src/core/tsconfig.json" }, | ||
// add references to other TypeScript projects the plugin depends on | ||
|
||
// requiredPlugins from ./kibana.json | ||
{ "path": "../licensing/tsconfig.json" }, | ||
{ "path": "../../../src/plugins/data/tsconfig.json" }, | ||
{ "path": "../encrypted_saved_objects/tsconfig.json" }, | ||
|
||
// optionalPlugins from ./kibana.json | ||
{ "path": "../security/tsconfig.json" }, | ||
{ "path": "../features/tsconfig.json" }, | ||
{ "path": "../cloud/tsconfig.json" }, | ||
{ "path": "../../../src/plugins/usage_collection/tsconfig.json" }, | ||
{ "path": "../../../src/plugins/home/tsconfig.json" }, | ||
|
||
// requiredBundles from ./kibana.json | ||
{ "path": "../../../src/plugins/kibana_react/tsconfig.json" }, | ||
{ "path": "../../../src/plugins/es_ui_shared/tsconfig.json" }, | ||
{ "path": "../infra/tsconfig.json" }, | ||
{ "path": "../../../src/plugins/kibana_utils/tsconfig.json" }, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters