Commit graph

34 commits

Author SHA1 Message Date
Tiago Costa
42102bad0e
[6.x] Create vendor dll for the client modules (#22618) (#26707)
* chore(NA): merge and solve conflicts with 6.x when backporting.

* chore(NA): updated kbn pm file.
2018-12-05 19:48:33 +00:00
Aleh Zasypkin
e56759c4de [common] fix paths. 2018-12-03 21:57:24 +01:00
Spencer
e618cf43da
[6.x] [@kbn/interpreter] improve build/packaging (#26096) (#26136)
* [@kbn/interpreter] improve build/packaging (#26096)

Summary of changes:

 - move all build artifacts under `target` directory
 - run babel and webpack in parallel
 - support optional watch and sourcemaps in build
 - expose /common /public /plugin /server sub-exports as index.js
 - avoid importing deeply from `@kbn/interpreter`
 - move a couple missed dependencies from x-pack to kibana
 - remove custom babel-register implementation

* fix bad conflict resolution
2018-11-24 12:26:07 -07:00
Peter Pisljar
40f0b8fdf7
Ref/canvas interpreter2 oss take5 (#26068) (#26107) 2018-11-23 10:20:23 +01:00
Joe Fleming
26fc0a9fb4
[6.x] Test: canvas functional smoke test (#25262) (#26047)
* chore: revert #25921 / d76c0ae

* Test: canvas functional smoke test (#25262)

~~Blocked by https://github.com/elastic/kibana/issues/23046 (pending https://github.com/elastic/kibana/pull/25828)~~ merged

Adds functional smoke tests for Canvas. 

- Loads and checks the list of workpads
- Loads the first workpad and checks that elements render

This is the simple workpad it's testing

![screenshot 2018-11-19 12 37 07](https://user-images.githubusercontent.com/404731/48730518-da7ee980-ebf7-11e8-9abb-cf294079bb5f.png)

* test: add ci group tags

backport of #26046

* chore: shot in the dark beforeAll fix

* chore: add some debug logging

in the beforeAll hook, to see where it's getting stuck

* [canvas/archive] remove _1 from .kibana archives to avoid lockup
2018-11-21 20:46:44 -07:00
Peter Pisljar
d76c0aeb11
[6.x] move canvas interpreter to OSS (#25711) (#25921) 2018-11-20 20:17:17 +01:00
Spencer
90588acbae [canvas] move yarn scripts to node scripts (#25258)
* [canvas] move yarn scripts to node scripts

* [canvas/eslint] allow scripts to access devDeps

* [canvas/eslint] remove packageDir override

* [x-pack] move babel-register to deps for canvas

* [canvas] rename scripts from : to _

* [canvas] update readme with correct script paths

* [canvas] remove yarn.lock file

* Remove redundant require

(cherry picked from commit cfaa1783c3)
2018-11-07 10:55:09 -08:00
Joe Fleming
1346d1aeda
[6.x] Chore: canvas in xpack 6x (#22695) (#23201)
* chore: merge canavs into x-pack

squashed, since 6.x history isn't important and i want to be able to rebase...

* chore: eslint fixes in canvas

adds license headers and includes project linting overrides

* Chore: Reorg the x-pack gulp tasks (#22785)

- Removes deprecated, non-functional lint scripts
- Removes some unused (and barely used) dependencies
- Replaces deprecated `gulp-util` dependency
- Adds eslint rule to prevent future use of deprecated `gulp-util` dependency
- Moves all gulp tasks into `tasks` path
- Moves `gulp_helpers` into `tasks/helpers`
- All tasks in `gulpfile.js` were moved into `tasks` and broken up by domain

This is basically a no-op moving files around PR. All the existing tasks appear to work the same with these changes.

<img width="334" alt="screenshot 2018-09-06 15 42 45" src="https://user-images.githubusercontent.com/404731/45188971-8618c000-b1eb-11e8-9b26-b072ccc7ddb7.png">

* chore: rename files to match rules

* chore: copy canvas dependencies

* chore: reduce package.json to essentials

* chore: make canvas work in xpack

* chore: make browser tests work

* chore: fix include paths

node_modules is in a different relative path

* chore: fix ml tests with canvas code in x-pack

explicitely enable state management so the mlStateFactory tests pass

* chore: fix RBAC tests with canvas

* chore: split up the xpack prepare scripts

* chore: canvas tasks - dev, peg, and plugins

get dev, peg, and plugin building tasks working

* chore: canvas tasks - local tests

* chore: additional file cleanup

* chore: yarn lockfiles and eslint fixes

license headers and some small formatting stuff
2018-09-14 16:26:56 -07:00
Aleh Zasypkin
f88d0b92a2
Integrate new platform (core) server side into Kibana (#20661)
Co-authored-by: Kim Joar Bekkelund <kjbekkelund@gmail.com>
Co-authored-by: archana <archanid@users.noreply.github.com>
Co-authored-by: Spencer <spalger@users.noreply.github.com>
Co-authored-by: Court Ewing <court@epixa.com>
2018-07-11 13:12:33 +03:00
Jenkins CI
bc5b51554d Migrate x-pack-kibana source to kibana 2018-04-24 13:49:26 -07:00
Spencer
7621b410f9
[6.x] Move to Yarn 1.6.0 (#17741) (#17749) 2018-04-17 10:35:22 -07:00
Spencer
92c7322fec
[6.x] [eslint] always ignore jest snapshot files (#17500) (#17506) 2018-04-02 14:14:35 -07:00
Spencer
2013bb986d
[@kbn/ui-framework] move ui-framework to a package (#17085) (#17128)
* [@kbn/ui-framework] move ui-framework to a package

* [@kbn/ui-framework] restore doc_site index.html and fix build task names

* [jest] always ignore modules in target dirs
2018-03-13 12:54:05 -07:00
Lukas Olson
0336858ed2 Use generated parser instead of dynamically generating (#17049) 2018-03-08 14:23:26 -07:00
Aleh Zasypkin
1ee793c633
[6.x] Introduce Jest integration tests. (#16830) 2018-02-20 23:02:29 +01:00
Spencer
2197cdab12
[kbn-pm] rename from kbn-build (#16739) (#16742) 2018-02-14 11:51:40 -07:00
Spencer
d141b33e12
[kbn-plugin-generator] add plugin generator to the repo (#16655) (#16686)
* [kbn-plugin-generator] add plugin generator to the repo

* [plugin-generator] use snake_case plugin name for directory name

* [plugin-generator] fix typo

* [plugin-generator] remove translation support until we resume i18n efforts

* [yarn] update lockfile

* [mocha] remove plugin-generator selector from mocha tests

* [plugin-generator] update generated readme to recommend yarn

* [plugin-generator] add readme to generator pacakge

* [plugin-generator] link from plugin-resource docs

* [plugin-generator] mention very important `kbn bootstrap` script

* [plugin-generator] rework some parts of the README

* [plugin-generator] log actual directory name with system separators

* [plugin-generator] include bootstrap/yarn preinstall check script
2018-02-12 17:46:46 -07:00
Spencer
634fbf41db
[6.x] [eslint] un-ignore .eslintrc.js (#16542) (#16543) 2018-02-05 16:35:33 -07:00
Kim Joar Bekkelund
96d8995315
Build multiple Kibana packages for production (#16313) (#16496)
* Build packages before running ESLint on CI

* Add production task to kbn-build

* Ensure packages are bootstrapped before running the build

* Run ESLint on kbn-build
2018-02-02 22:47:18 +01:00
Spencer
d056e2d625
[6.x] [eslint] lint packages, but not eslint-* ones (#16470) (#16471) 2018-02-01 17:04:59 -07:00
Kim Joar Bekkelund
a817517574
[6.x] Switch to Yarn (#15485) (#15955)
* Switch to Yarn (#15485)

* switch to yarn

* cleanup misc references to npm

* [yarn] loosen dependency ranges so yarn will merge more deps

* fix linting error now that moment uses ESM

* [licenses] font-awesome changed the format of its license id

* Use local yarn

* Misc fixes

* eslintignore built yarn file

* Remove mkdir which doesn't do what it should do

* Check build without upgrading lots of versions

* Fix license check

* too many moments

* Better description

* Review fixes

* Lock to angular@1.6.5

* More specific version locks

* Revert "More specific version locks"

This reverts commit 11ef81102e.

* Revert "Lock to angular@1.6.5"

This reverts commit 3ade68c14c.

* rm yarn.lock; yarn

* Forcing a specific version of React, Angular, Moment

* Using vendored version of yarn in ci

* Use --frozen-lockfile

* fixes

* Update lockfile
2018-01-10 16:54:20 +01:00
Spencer
c0a5788835 [flot-charts] move into ui/public (#14669)
(cherry picked from commit 3e08a7e765)
2017-10-30 12:44:00 -07:00
Jonathan Budzenski
2e70fba30e [eslint] Ignore ui_framework/doc_site/build (#12400) 2017-06-26 18:07:44 -05:00
Spencer
cb3219c798 [webpack] fix loader query string usage (#9497)
* [webpack] pin to fork with fixed loader aliases

* [optimizer] upgrade to postcss+autoprefixer

* [timelion] convert uiExports.modules -> webpackShims

* [uiExports] remove implementation-leaking and unused uiExport types

* [optimizer] remove unused imports

* [uiBundlerEnv] add a method for exporting global import aliases for special cases
2016-12-15 16:11:42 -07:00
Spencer
0c736724b0 Upgrade eslint (#9357)
* upgrade eslint, all related deps, and config files

* replace gruntify-eslint with basic eslint-cli wrapper

* arrow-IIFEs must be invoked outside of the parens

* move import statements before their use

* reindent to satisfy new indentation check algorithm

* place missing semicolon

* ignore copy-pasted decode geohash code

* [grunt/eslint] fix argument spacing

* [gurnt/eslint] add comment about contents of report

* [grunt/tasks] use `export default`
2016-12-12 13:44:18 -07:00
Rashid Khan
3265451e62 Fix redefined variables 2016-08-12 14:52:43 -07:00
CJ Cenizal
b08f016cc6 Replace compiled angular-bootstrap file with original HTML and JS source files. 2016-07-05 12:27:20 -07:00
LeeDr
db95e52886 Merge remote-tracking branch 'jbudz/lint-ignore' into testDiscover 2015-11-13 10:46:33 -06:00
LeeDr
a9bf035ca1 Change ignore path for test/fixtures/scenarios up one level. 2015-11-13 09:59:50 -06:00
LeeDr
cb07ddfdfa Ignore my large data files in test/fixtures/scenarios/logstashFunctional. 2015-11-12 21:51:28 -06:00
Jonathan Budzenski
6e48ccc443 Prevent linting fixtures 2015-11-12 17:09:46 -06:00
Rashid Khan
79dcc9acf0 add jscs rules to eslint 2015-08-01 14:46:53 -07:00
Rashid Khan
9d4de5e87a Revert "add jscs rules to eslint"
This reverts commit cfde0e5a01.
2015-08-01 14:34:36 -07:00
spalger
cfde0e5a01 add jscs rules to eslint 2015-07-31 19:50:47 -07:00