Skip to content

Commit

Permalink
TS project references for monitoring plugin (#91498) (#91538)
Browse files Browse the repository at this point in the history
Fixes #89293.

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
  • Loading branch information
kibanamachine and smith authored Feb 16, 2021
1 parent fedc100 commit 59585a3
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 4 deletions.
1 change: 1 addition & 0 deletions tsconfig.refs.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
{ "path": "./x-pack/plugins/maps_legacy_licensing/tsconfig.json" },
{ "path": "./x-pack/plugins/maps/tsconfig.json" },
{ "path": "./x-pack/plugins/ml/tsconfig.json" },
{ "path": "./x-pack/plugins/monitoring/tsconfig.json" },
{ "path": "./x-pack/plugins/observability/tsconfig.json" },
{ "path": "./x-pack/plugins/osquery/tsconfig.json" },
{ "path": "./x-pack/plugins/painless_lab/tsconfig.json" },
Expand Down
31 changes: 31 additions & 0 deletions x-pack/plugins/monitoring/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"composite": true,
"outDir": "./target/types",
"emitDeclarationOnly": true,
"declaration": true,
"declarationMap": true
},
"include": ["common/**/*", "public/**/*", "server/**/*"],
"references": [
{ "path": "../../../src/core/tsconfig.json" },
{ "path": "../../../src/plugins/data/tsconfig.json" },
{ "path": "../../../src/plugins/home/tsconfig.json" },
{ "path": "../../../src/plugins/kibana_legacy/tsconfig.json" },
{ "path": "../../../src/plugins/kibana_utils/tsconfig.json" },
{ "path": "../../../src/plugins/navigation/tsconfig.json" },
{ "path": "../../../src/plugins/usage_collection/tsconfig.json" },
{ "path": "../actions/tsconfig.json" },
{ "path": "../alerts/tsconfig.json" },
{ "path": "../cloud/tsconfig.json" },
{ "path": "../encrypted_saved_objects/tsconfig.json" },
{ "path": "../features/tsconfig.json" },
{ "path": "../infra/tsconfig.json" },
{ "path": "../license_management/tsconfig.json" },
{ "path": "../licensing/tsconfig.json" },
{ "path": "../observability/tsconfig.json" },
{ "path": "../telemetry_collection_xpack/tsconfig.json" },
{ "path": "../triggers_actions_ui/tsconfig.json" }
]
}
3 changes: 2 additions & 1 deletion x-pack/test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
{ "path": "../plugins/license_management/tsconfig.json" },
{ "path": "../plugins/licensing/tsconfig.json" },
{ "path": "../plugins/ml/tsconfig.json" },
{ "path": "../plugins/monitoring/tsconfig.json" },
{ "path": "../plugins/observability/tsconfig.json" },
{ "path": "../plugins/osquery/tsconfig.json" },
{ "path": "../plugins/painless_lab/tsconfig.json" },
Expand All @@ -88,7 +89,7 @@
{ "path": "../plugins/rollup/tsconfig.json" },
{ "path": "../plugins/remote_clusters/tsconfig.json" },
{ "path": "../plugins/cross_cluster_replication/tsconfig.json" },
{ "path": "../plugins/index_lifecycle_management/tsconfig.json"},
{ "path": "../plugins/index_lifecycle_management/tsconfig.json" },
{ "path": "../plugins/uptime/tsconfig.json" }
]
}
6 changes: 3 additions & 3 deletions x-pack/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"plugins/case/**/*",
"plugins/lists/**/*",
"plugins/logstash/**/*",
"plugins/monitoring/**/*",
"plugins/security_solution/**/*",
"plugins/xpack_legacy/**/*",
"plugins/drilldowns/url_drilldown/**/*"
Expand Down Expand Up @@ -90,6 +89,7 @@
{ "path": "./plugins/maps_legacy_licensing/tsconfig.json" },
{ "path": "./plugins/maps/tsconfig.json" },
{ "path": "./plugins/ml/tsconfig.json" },
{ "path": "./plugins/monitoring/tsconfig.json" },
{ "path": "./plugins/observability/tsconfig.json" },
{ "path": "./plugins/osquery/tsconfig.json" },
{ "path": "./plugins/painless_lab/tsconfig.json" },
Expand All @@ -111,8 +111,8 @@
{ "path": "./plugins/watcher/tsconfig.json" },
{ "path": "./plugins/rollup/tsconfig.json" },
{ "path": "./plugins/remote_clusters/tsconfig.json" },
{ "path": "./plugins/cross_cluster_replication/tsconfig.json"},
{ "path": "./plugins/index_lifecycle_management/tsconfig.json"},
{ "path": "./plugins/cross_cluster_replication/tsconfig.json" },
{ "path": "./plugins/index_lifecycle_management/tsconfig.json" },
{ "path": "./plugins/uptime/tsconfig.json" }
]
}

0 comments on commit 59585a3

Please sign in to comment.