Skip to content

Commit d53f832

Browse files
authored
TS project references for translations plugin (#88022)
Observability has this as a dependency, so adding TS project references in service of that.
1 parent 1094274 commit d53f832

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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": ["server/**/*", "translations/ja-JP.json", "translations/zh-CN.json"],
11+
"references": [{ "path": "../../../src/core/tsconfig.json" }]
12+
}

x-pack/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"plugins/security_solution/cypress/**/*",
1515
"plugins/task_manager/**/*",
1616
"plugins/telemetry_collection_xpack/**/*",
17+
"plugins/translations/**/*",
1718
"plugins/ui_actions_enhanced/**/*",
1819
"test/**/*"
1920
],
@@ -60,6 +61,7 @@
6061
{ "path": "./plugins/licensing/tsconfig.json" },
6162
{ "path": "./plugins/task_manager/tsconfig.json" },
6263
{ "path": "./plugins/telemetry_collection_xpack/tsconfig.json" },
63-
{ "path": "./plugins/ui_actions_enhanced/tsconfig.json" },
64+
{ "path": "./plugins/translations/tsconfig.json" },
65+
{ "path": "./plugins/ui_actions_enhanced/tsconfig.json" }
6466
]
6567
}

x-pack/tsconfig.refs.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
{ "path": "./plugins/embeddable_enhanced/tsconfig.json" },
1111
{ "path": "./plugins/task_manager/tsconfig.json" },
1212
{ "path": "./plugins/telemetry_collection_xpack/tsconfig.json" },
13-
{ "path": "./plugins/ui_actions_enhanced/tsconfig.json" },
13+
{ "path": "./plugins/translations/tsconfig.json" },
14+
{ "path": "./plugins/ui_actions_enhanced/tsconfig.json" }
1415
]
1516
}

0 commit comments

Comments
 (0)