kibana/x-pack/tsconfig.json
Mikhail Shustov e7d8ea3927
Extract src/core in a separate TS project (#76785)
* break dependency on data plugin TS code

* move global typings to @kbn/utility-types

* import types from @kbn/utility-types

* remove type dependency on plugins

* add intermediate js files to break dependency on outter TS code

* temp type declaration for query-string

* declare src/core project

* export types to reference in the built d.ts files

* reference core project

* move jest types out of kbn/utility-types due to a clash with mocha types

* fix wrong es_kuery path and ts project paths

* reference core from packages consuming it

* x-pack & oss should use the same lodash version

* Revert "x-pack & oss should use the same lodash version"

This reverts commit 79cec5781e.

* use the same lodash version

* fix @types/lodash TS2300: Duplicate identifier error

* fix wrong imports

* update docs

* update docs

* add a comment why file is needed
2020-09-15 12:41:27 +02:00

42 lines
1,010 B
JSON

{
"extends": "../tsconfig.base.json",
"include": [
"mocks.ts",
"typings/**/*",
"legacy/common/**/*",
"legacy/server/**/*",
"legacy/plugins/**/*",
"plugins/**/*",
"test_utils/**/*",
"tasks/**/*"
],
"exclude": [
"test/**/*",
"plugins/security_solution/cypress/**/*",
"plugins/apm/e2e/cypress/**/*",
"plugins/apm/scripts/**/*"
],
"compilerOptions": {
"outDir": ".",
"paths": {
"kibana/public": ["src/core/public"],
"kibana/server": ["src/core/server"],
"plugins/xpack_main/*": [
"x-pack/legacy/plugins/xpack_main/public/*"
],
"plugins/spaces/*": [
"x-pack/legacy/plugins/spaces/public/*"
],
"test_utils/*": [
"x-pack/test_utils/*"
],
"plugins/*": ["src/legacy/core_plugins/*/public/"],
"fixtures/*": ["src/fixtures/*"],
},
// overhead is too significant
"incremental": false,
},
"references": [
{ "path": "../src/core/tsconfig.json" }
]
}