Skip to content

Commit

Permalink
[7.x] Migrates license_management to a TS project ref (#89472) (#89569)
Browse files Browse the repository at this point in the history
  • Loading branch information
TinaHeiligers authored Jan 28, 2021
1 parent 5d415ce commit 3f57354
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 3 deletions.
29 changes: 29 additions & 0 deletions x-pack/plugins/license_management/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"composite": true,
"outDir": "./target/types",
"emitDeclarationOnly": true,
"declaration": true,
"declarationMap": true
},
"include": [
"public/**/*",
"server/**/*",
"common/**/*",
"__jest__/**/*",
"__mocks__/*",
],
"references": [
{ "path": "../../../src/core/tsconfig.json" },
{ "path": "../../../src/plugins/kibana_react/tsconfig.json" },
{ "path": "../../../src/plugins/telemetry_management_section/tsconfig.json" },
{ "path": "../../../src/plugins/home/tsconfig.json" },
{ "path": "../../../src/plugins/management/tsconfig.json" },
{ "path": "../../../src/plugins/telemetry/tsconfig.json" },
{ "path": "../../../src/plugins/es_ui_shared/tsconfig.json" },
{ "path": "../licensing/tsconfig.json"},
{ "path": "../features/tsconfig.json"},
{ "path": "../security/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 @@ -58,6 +58,7 @@
{ "path": "../plugins/beats_management/tsconfig.json" },
{ "path": "../plugins/cloud/tsconfig.json" },
{ "path": "../plugins/saved_objects_tagging/tsconfig.json" },
{ "path": "../plugins/global_search_bar/tsconfig.json" }
{ "path": "../plugins/global_search_bar/tsconfig.json" },
{ "path": "../plugins/license_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 @@ -37,6 +37,7 @@
"plugins/cloud/**/*",
"plugins/saved_objects_tagging/**/*",
"plugins/global_search_bar/**/*",
"plugins/license_management/**/*",
"test/**/*"
],
"compilerOptions": {
Expand Down Expand Up @@ -106,6 +107,7 @@
{ "path": "./plugins/actions/tsconfig.json"},
{ "path": "./plugins/alerts/tsconfig.json"},
{ "path": "./plugins/triggers_actions_ui/tsconfig.json"},
{ "path": "./plugins/stack_alerts/tsconfig.json"}
{ "path": "./plugins/stack_alerts/tsconfig.json"},
{ "path": "./plugins/license_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 @@ -31,6 +31,7 @@
{ "path": "./plugins/beats_management/tsconfig.json" },
{ "path": "./plugins/cloud/tsconfig.json" },
{ "path": "./plugins/saved_objects_tagging/tsconfig.json" },
{ "path": "./plugins/global_search_bar/tsconfig.json" }
{ "path": "./plugins/global_search_bar/tsconfig.json" },
{ "path": "./plugins/license_management/tsconfig.json" }
]
}

0 comments on commit 3f57354

Please sign in to comment.