kibana/packages/kbn-monaco
Mikhail Shustov e9e0ca3782
Introduce TS incremental builds & move src/test_utils to TS project (#76082)
* move test_helpers to the core

* create base tsconfig

* all tsconfigs use the base one

* use test_helpers exposed from the src/core

* move getFieldFormatsRegistry to data plugin

* add test_utils project

* compile types after checkout

* add a stub for platform tsconfig.json

* fix broken import

* fix broken path to the base config

* set tsBuildInfoFile for project without outDir

* do not commit tsbuildinfo file

* do not check output d.ts files

* fix type error

* use separate config to build types

* rollback changes to include paths

* mute import zone error

* rename files to avoid references to tsd

* do not use tsd for type tests

* include all ts files in project

* run buildRefs before type check to ensure the latest version

* store tsbuildinfo locally

* update paths to base config

* comment out core/tsconfig.json

* remove ui path

* fix wrong tsbuildinfo path
2020-09-03 14:20:04 +02:00
..
scripts
src [Monaco] Refactor the way XJSON grammar checker gets registered (#75160) 2020-08-18 15:13:15 +02:00
package.json Update to TS v4 (#73924) 2020-08-27 10:28:02 +02:00
README.md
tsconfig.json Introduce TS incremental builds & move src/test_utils to TS project (#76082) 2020-09-03 14:20:04 +02:00
webpack.config.js
yarn.lock

@kbn/monaco

A customized version of monaco that is automatically configured the way we want it to be when imported as @kbn/monaco. Additionally, imports to this package are automatically shared with all plugins using @kbn/ui-shared-deps.

Includes custom xjson language support. The es_ui_shared plugin has an example of how to use it, in the future we will likely expose helpers from this package to make using it everywhere a little more seamless.