Skip to content

Commit 5c96da1

Browse files
Migrate indexPatternManagement to TS project ref (#89759)
1 parent 2f54078 commit 5c96da1

File tree

6 files changed

+31
-3
lines changed

6 files changed

+31
-3
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"extends": "../../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"composite": true,
5+
"outDir": "./target/types",
6+
"emitDeclarationOnly": true,
7+
"declaration": true,
8+
"declarationMap": true
9+
},
10+
"include": [
11+
"public/**/*",
12+
"server/**/*",
13+
],
14+
"references": [
15+
{ "path": "../../core/tsconfig.json" },
16+
{ "path": "../data/tsconfig.json" },
17+
{ "path": "../management/tsconfig.json" },
18+
{ "path": "../url_forwarding/tsconfig.json" },
19+
{ "path": "../kibana_react/tsconfig.json" },
20+
{ "path": "../kibana_utils/tsconfig.json" },
21+
]
22+
}

test/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
{ "path": "../src/plugins/ui_actions/tsconfig.json" },
4040
{ "path": "../src/plugins/url_forwarding/tsconfig.json" },
4141
{ "path": "../src/plugins/usage_collection/tsconfig.json" },
42+
{ "path": "../src/plugins/index_pattern_management/tsconfig.json" },
4243
{ "path": "../src/plugins/legacy_export/tsconfig.json" }
4344
]
4445
}

tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"src/plugins/vis_type_xy/**/*",
6060
"src/plugins/visualizations/**/*",
6161
"src/plugins/visualize/**/*",
62+
"src/plugins/index_pattern_management/**/*",
6263
// In the build we actually exclude **/public/**/* from this config so that
6364
// we can run the TSC on both this and the .browser version of this config
6465
// file, but if we did it during development IDEs would not be able to find
@@ -117,5 +118,6 @@
117118
{ "path": "./src/plugins/vis_type_xy/tsconfig.json" },
118119
{ "path": "./src/plugins/visualizations/tsconfig.json" },
119120
{ "path": "./src/plugins/visualize/tsconfig.json" },
121+
{ "path": "./src/plugins/index_pattern_management/tsconfig.json" },
120122
]
121123
}

tsconfig.refs.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
{ "path": "./src/plugins/vis_type_vega/tsconfig.json" },
5353
{ "path": "./src/plugins/vis_type_xy/tsconfig.json" },
5454
{ "path": "./src/plugins/visualizations/tsconfig.json" },
55-
{ "path": "./src/plugins/visualize/tsconfig.json" }
55+
{ "path": "./src/plugins/visualize/tsconfig.json" },
56+
{ "path": "./src/plugins/index_pattern_management/tsconfig.json" },
5657
]
5758
}

x-pack/test/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
{ "path": "../../src/plugins/usage_collection/tsconfig.json" },
3737
{ "path": "../../src/plugins/ui_actions/tsconfig.json" },
3838
{ "path": "../../src/plugins/url_forwarding/tsconfig.json" },
39+
{ "path": "../../src/plugins/index_pattern_management/tsconfig.json" },
3940

4041
{ "path": "../plugins/actions/tsconfig.json" },
4142
{ "path": "../plugins/alerts/tsconfig.json" },

x-pack/tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@
8484
{ "path": "../src/plugins/ui_actions/tsconfig.json" },
8585
{ "path": "../src/plugins/url_forwarding/tsconfig.json" },
8686
{ "path": "../src/plugins/usage_collection/tsconfig.json" },
87-
{ "path": "./plugins/actions/tsconfig.json" },
88-
{ "path": "./plugins/alerts/tsconfig.json" },
87+
{ "path": "../src/plugins/index_pattern_management/tsconfig.json" },
88+
{ "path": "./plugins/actions/tsconfig.json"},
89+
{ "path": "./plugins/alerts/tsconfig.json"},
8990
{ "path": "./plugins/beats_management/tsconfig.json" },
9091
{ "path": "./plugins/canvas/tsconfig.json" },
9192
{ "path": "./plugins/cloud/tsconfig.json" },

0 commit comments

Comments
 (0)