Commit graph

11 commits

Author SHA1 Message Date
Larry Gregory b786f08781
[6.x] Prevents dynamic import/require statements (#27515) (#27701)
Backports the following commits to 6.x:
 - Prevents dynamic import/require statements  (#27515)
2018-12-21 12:00:00 -05:00
Aleh Zasypkin b43f4d2b3d [packages] fix paths. 2018-12-03 21:57:24 +01:00
Spencer 360c50b7f3
[core/ui] bootstrap the legacy platform within the new platform (#20699) (#20913)
Fixes #20694

Implements super basic new platform `core` system, which includes two services: `core.injectedMetadata` and `core.legacyPlatform`. The `core` currently has two responsibilities:

 1. read the metadata from the DOM and initialize the `ui/metadata` module with legacy metadata, proving out how we plan to expose data from the new platform through the existing APIs/modules to the legacy platform.
 2. bootstrap the legacy platform by loading either `ui/chrome` or `ui/test_harness`

Because `core` mutates the `ui/metadata` module before bootstrapping the legacy platform all existing consumers of `ui/metadata` won't be impacted by the fact that metadata loading was moved into the new platform. We plan to do this for many other services that will need to exist in both the legacy and new platforms, like `ui/chrome` (see #20696).
2018-07-17 23:56:03 -07:00
Tim Roes de3e5b5cb6
Increase prettier line width to 100 (#20535) (#20596)
* Increase prettier line width to 100

* Fix packages JS prettier

* Change style guide to 100 width

* Fix line-width in latest master changes
2018-07-11 00:41:00 +02:00
CJ Cenizal c6be289f21
Fix misspellings (#19981) (#20284) 2018-06-27 20:50:06 -07:00
Spencer 4f29b323bf
Backport/19383/6.x (#19487)
* [eslint][tslint] require Apache 2.0 license headers

(cherry picked from commit 337fea30b9)

* [kbn-eslint-plugin-license-header] don't try to fix files with hashbangs

(cherry picked from commit db79f1501e)

* [eslint][tslint] autofix license headers
2018-05-28 20:24:23 -07:00
Spencer 07f4e5ad77
[6.x] [typescript] add typescript support for the server and browser (#19104) (#19223)
Backports the following commits to 6.x:
 - [typescript] add typescript support for the server and browser  (#19104)
2018-05-21 10:42:59 -07:00
Jenkins CI bc5b51554d Migrate x-pack-kibana source to kibana 2018-04-24 13:49:26 -07:00
Tim Roes 8df8b16e93
Move ng_mock wrapper to test_utils (#17712) (#17733) 2018-04-17 09:17:53 +02:00
Spencer 3096c36117
[eslint-import-resolver] support mapping plugins to directories (#17667) (#17690)
* [eslint-import-resolver] support mapping plugins to directories

* use shorthand syntax
2018-04-12 16:21:51 -07:00
Spencer ede4502fa4
[6.x] [eslint-import-resolver-kibana] bring in repo as package (#17665) (#17666)
* [eslint-import-resolver-kibana] bring in repo as package

* [eslint-import-resolver] enable prettier
2018-04-11 16:12:50 -07:00