Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fleet] Use TS project references #87574

Merged
merged 29 commits into from
Feb 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
04a8689
Use TS project references
Jan 6, 2021
26000ce
Add missing `include` entries in `tsconfig`
Jan 7, 2021
c3fed14
Merge branch 'master' into 82220-use-ts-project-references
Jan 7, 2021
5fdf493
Merge branch 'master' into 82220-use-ts-project-references
kibanamachine Jan 7, 2021
1ea65ef
Add reference to data plugin project
Jan 7, 2021
2f641db
Merge branch 'master' into 82220-use-ts-project-references
Jan 7, 2021
bd82222
Add references to recently added tsconfig's
Jan 7, 2021
bb438c7
Add disabled reference to infra tsconfig
Jan 7, 2021
8145db0
Reorder tsconfig references
Jan 7, 2021
fff562d
Extend `x-pack/tsconfig.json`
Jan 7, 2021
50249a6
Merge branch 'master' into 82220-use-ts-project-references
kibanamachine Jan 11, 2021
3b4aed8
Enable reference to features project
Jan 11, 2021
4268ab1
Merge branch 'master' into 82220-use-ts-project-references
kibanamachine Jan 12, 2021
d2e7c56
Merge branch 'master' into 82220-use-ts-project-references
Jan 13, 2021
9fe1c68
Merge branch 'master' into 82220-use-ts-project-references
kibanamachine Jan 13, 2021
e945d01
Merge branch 'master' into 82220-use-ts-project-references
kibanamachine Jan 13, 2021
269d726
Connect es_ui_shared project
Jan 13, 2021
df4c469
Merge branch 'master' into 82220-use-ts-project-references
kibanamachine Jan 19, 2021
d8c2600
Add Security & ESO project references
Jan 19, 2021
cb1261e
Merge branch 'master' into 82220-use-ts-project-references
Jan 20, 2021
79565a2
Merge branch 'master' into 82220-use-ts-project-references
kibanamachine Jan 20, 2021
22488e6
Merge branch 'master' into 82220-use-ts-project-references
kibanamachine Jan 22, 2021
5c955ff
Link to newly available cloud project
Jan 22, 2021
e4e1c69
Merge branch 'master' into 82220-use-ts-project-references
kibanamachine Jan 25, 2021
3ec6766
Merge branch 'master' into 82220-use-ts-project-references
Feb 2, 2021
2bef282
Merge branch 'master' into 82220-use-ts-project-references
Feb 8, 2021
9dfbbdd
Merge branch 'master' into 82220-use-ts-project-references
kibanamachine Feb 8, 2021
b1cb710
Merge branch 'master' into 82220-use-ts-project-references
Feb 8, 2021
6bc6f34
Merge branch 'master' into 82220-use-ts-project-references
kibanamachine Feb 8, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions x-pack/plugins/fleet/tsconfig.json
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" },
]
}
5 changes: 5 additions & 0 deletions x-pack/test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
{ "path": "../plugins/code/tsconfig.json" },
{ "path": "../plugins/console_extensions/tsconfig.json" },
{ "path": "../plugins/dashboard_mode/tsconfig.json" },
{ "path": "../plugins/enterprise_search/tsconfig.json" },
{ "path": "../plugins/fleet/tsconfig.json" },
{ "path": "../plugins/global_search/tsconfig.json" },
{ "path": "../plugins/global_search_providers/tsconfig.json" },
{ "path": "../plugins/features/tsconfig.json" },
{ "path": "../plugins/data_enhanced/tsconfig.json" },
{ "path": "../plugins/embeddable_enhanced/tsconfig.json" },
{ "path": "../plugins/encrypted_saved_objects/tsconfig.json" },
Expand Down
1 change: 1 addition & 0 deletions x-pack/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"plugins/discover_enhanced/**/*",
"plugins/dashboard_mode/**/*",
"plugins/dashboard_enhanced/**/*",
"plugins/fleet/**/*",
"plugins/global_search/**/*",
"plugins/global_search_providers/**/*",
"plugins/graph/**/*",
Expand Down
1 change: 1 addition & 0 deletions x-pack/tsconfig.refs.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
{ "path": "./plugins/event_log/tsconfig.json" },
{ "path": "./plugins/features/tsconfig.json" },
{ "path": "./plugins/file_upload/tsconfig.json" },
{ "path": "./plugins/fleet/tsconfig.json" },
{ "path": "./plugins/global_search_bar/tsconfig.json" },
{ "path": "./plugins/global_search_providers/tsconfig.json" },
{ "path": "./plugins/global_search/tsconfig.json" },
Expand Down