Skip to content

Commit

Permalink
Converts indexLifecycleManagement to a TS project ref
Browse files Browse the repository at this point in the history
  • Loading branch information
TinaHeiligers committed Feb 9, 2021
1 parent b01fa28 commit 7bbd188
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 3 deletions.
32 changes: 32 additions & 0 deletions x-pack/plugins/index_lifecycle_management/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"composite": true,
"outDir": "./target/types",
"emitDeclarationOnly": true,
"declaration": true,
"declarationMap": true
},
"include": [
"__jest__/**/*",
"common/**/*",
"public/**/*",
"server/**/*",
"../../typings/**/*",
],
"references": [
{ "path": "../../../src/core/tsconfig.json" },
// required plugins
{ "path": "../licensing/tsconfig.json" },
{ "path": "../../../src/plugins/management/tsconfig.json" },
{ "path": "../features/tsconfig.json" },
{ "path": "../../../src/plugins/share/tsconfig.json" },
// optional plugins
{ "path": "../cloud/tsconfig.json" },
{ "path": "../../../src/plugins/usage_collection/tsconfig.json" },
{ "path": "../index_management/tsconfig.json" },
{ "path": "../../../src/plugins/home/tsconfig.json" },
// required bundles
{ "path": "../../../src/plugins/kibana_react/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 @@ -79,6 +79,7 @@
{ "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/cross_cluster_replication/tsconfig.json" },
{ "path": "../plugins/index_lifecycle_management/tsconfig.json"}
]
}
4 changes: 3 additions & 1 deletion x-pack/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"plugins/rollup/**/*",
"plugins/remote_clusters/**/*",
"plugins/cross_cluster_replication/**/*",
"plugins/index_lifecycle_management/**/*",
"test/**/*"
],
"compilerOptions": {
Expand Down Expand Up @@ -151,6 +152,7 @@
{ "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/cross_cluster_replication/tsconfig.json"},
{ "path": "./plugins/index_lifecycle_management/tsconfig.json"}
]
}
3 changes: 2 additions & 1 deletion x-pack/tsconfig.refs.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
{ "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/cross_cluster_replication/tsconfig.json"},
{ "path": "./plugins/index_lifecycle_management/tsconfig.json"}
]
}

0 comments on commit 7bbd188

Please sign in to comment.