From 0470e7b1c4c276e14ca01303883ec735c556162f Mon Sep 17 00:00:00 2001 From: Shahzad Date: Mon, 11 Jan 2021 11:03:40 +0100 Subject: [PATCH 1/2] add ts config file --- x-pack/plugins/uptime/tsconfig.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 x-pack/plugins/uptime/tsconfig.json diff --git a/x-pack/plugins/uptime/tsconfig.json b/x-pack/plugins/uptime/tsconfig.json new file mode 100644 index 00000000000000..489bbe4e7c98ae --- /dev/null +++ b/x-pack/plugins/uptime/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../../tsconfig.base.json", + "compilerOptions": { + "composite": true, + "outDir": "./target/types", + "emitDeclarationOnly": true, + "declaration": true, + "declarationMap": true + }, + "include": [ + "common/**/*", + "public/**/*", + "server/**/*" + // add all the folders containg files to be compiled + ], + "references": [ + { "path": "../licensing/tsconfig.json" } + // add references to other TypeScript projects your plugin dependes on + ] +} From aa32b1c1f95c96ba41c060b30862b8eb995d2d6c Mon Sep 17 00:00:00 2001 From: Shahzad Date: Tue, 26 Jan 2021 10:47:19 +0100 Subject: [PATCH 2/2] added missing paths --- x-pack/plugins/uptime/tsconfig.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/uptime/tsconfig.json b/x-pack/plugins/uptime/tsconfig.json index 489bbe4e7c98ae..0456620cd7250c 100644 --- a/x-pack/plugins/uptime/tsconfig.json +++ b/x-pack/plugins/uptime/tsconfig.json @@ -14,7 +14,17 @@ // add all the folders containg files to be compiled ], "references": [ - { "path": "../licensing/tsconfig.json" } + { "path": "../alerts/tsconfig.json" }, + { "path": "../features/tsconfig.json" }, + { "path": "../licensing/tsconfig.json" }, + { "path": "../ml/tsconfig.json" }, + { "path": "../maps/tsconfig.json" }, + { "path": "../observability/tsconfig.json" }, + { "path": "../triggers_actions_ui/tsconfig.json" }, + { "path": "../../../src/plugins/usage_collection/tsconfig.json" }, + { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, + { "path": "../../../src/plugins/data/tsconfig.json" }, + { "path": "../../../src/plugins/embeddable/tsconfig.json" }, // add references to other TypeScript projects your plugin dependes on ] }