* First iteration of xjson in monaco * Throwaway implementation in painless lab - THIS MUST BE REVERTED * WiP on build process for new kbn-lang package * new @kbn/langs package and update ui-shared-deps * Update jest config for new work files * Update painless lab -- REVERT THIS COMMIT * Create shared useXJson mode hook * Final update to using the new shared useXJsonMode hook -- REVERT * Created @kbn/monaco and share through shared deps * always access monaco through `@kbn/monaco` * use path.resolve to create path * add basic readme * remove console.log call * remove typescript support from ui-shared-deps webpack config * use `@kbn/babel-preset` * include the monaco styles in the kbn-ui-shared-deps * sort package.json * build worker at bootstrap rather than commiting to repo * only build worker, don't pre-bundle monaco * fix type check errors * remove section from readme about committed dist * keep editor.worker.js postfix * forgot to save update to import * license package as apache-2.0 * Added regenerator runtime for worker bundle * revert changes to painless lab Co-authored-by: spalger <spalger@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
5 lines
458 B
Markdown
5 lines
458 B
Markdown
# @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. |