Commit graph

1939 commits

Author SHA1 Message Date
Kim Joar Bekkelund 3448f31e3d
[kbn-build/bootstrap] Test cleanup (#16594) 2018-02-08 13:20:21 +01:00
Kim Joar Bekkelund 95a7435158
Run kbn:bootstrap script after installing deps (#16585)
* Run 'kbn:bootstrap' scripts at the end of bootstrapping

* Add bootstrap command tests

* resetAllMocks

* Use 'absolutePathSnaphotSerializer'

* Mock console.log calls

* Strip ansi snapshot serializer

* reset in afterEach

* Log before running 'kbn:bootstrap' scripts

* mock linkProjectExecutables in bootstrap tests
2018-02-08 01:41:16 +01:00
Spencer f7748072fb
[kbn-build/bootstrap] symlink executables from linked packages (#16584)
* [kbn-build/bootstrap] symlink executables from linked packages

* [kbn-build/bootstrap] use snapshots for tests

* [kbn-build/jest] add absolute path serializer
2018-02-07 16:02:28 -07:00
Joe Fleming 37990e9cde v9.0.2
Original commit: elastic/kibana-plugin-helpers@3bd57fbe5e
2018-02-05 15:53:23 -07:00
Spencer 608c9ff38b [config] throw if config file has a syntax error (elastic/kibana-plugin-helpers#65)
Original commit: elastic/kibana-plugin-helpers@487dd70bdb
2018-02-05 15:37:22 -07:00
Kim Joar Bekkelund e58b43f744
Prettier + ESLint setup (#16514)
* Move .eslintrc (yaml) to .eslintrc.js (js)

* Add Prettier setup to ESLint

* Run Prettier on @kbn/build

* Update style guide with Prettier
2018-02-05 18:18:43 +01:00
Court Ewing 271a941621
lint: error on innerHTML and family (#16477)
* lint for innerHTML and family

Browser apis like innerHTML and document.write are dangerous when used
incorrectly, so we should not be using them unless we explicitly opt-out
of the linting rule on a case by case basis.

* add no-unsanitized to eslint peerDependencies
2018-02-04 08:38:37 -05:00
Kim Joar Bekkelund 43dfbf01dc Babel preset package (#16479)
* [babel-preset] turn into a package

* switch to @kbn namespace

* [babel] pin babel-preset-env to 1.4.0, newer versions don't shim symbols

* [yarn] update lockfile
2018-02-03 12:24:16 -07:00
Kim Joar Bekkelund c8f3efd4ef
Rename @elastic/kbn-build to @kbn/build (#16507) 2018-02-03 12:04:35 +01:00
Kim Joar Bekkelund 090866c514
Handle Yarn not forwarding -- to kbn-build (#16497) 2018-02-03 00:44:22 +01:00
Kim Joar Bekkelund 136ded978f
Build multiple Kibana packages for production (#16313)
* 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 20:49:57 +01:00
Spencer 7fb3a4bfb5
[eslint] lint packages, but not eslint-* ones (#16470) 2018-02-01 16:59:04 -07:00
Kim Joar Bekkelund 2fd058876c
Handle Windows when checking relative paths (#16380) 2018-01-30 12:44:37 +01:00
Kim Joar Bekkelund 08e48aa847
Kibana build tool (#15055)
* Introduce `kbn`, the Kibana build tool

* yarn kbn

* Make all deps devDeps

* Exclude __fixtures__ folder from Jest to avoid warnings

* Review fixes

* Update readme

* Use 'yarn kbn'

* Consistent rootPath

* Link to kbn tool

* Unsupported URL 'debug help' in contributing guide
2018-01-24 10:34:52 +01:00
Joe Fleming e734ee8338 v9.0.1
Original commit: elastic/kibana-plugin-helpers@140024adac
2018-01-04 18:47:50 -07:00
Spencer 26894673ec [npm] upgraded eslint-related deps (elastic/kibana-plugin-helpers#62)
* [npm] upgraded eslint-related deps

* [npm] reflect peer deps from @elastic/eslint-config-kibana

Original commit: elastic/kibana-plugin-helpers@1add265641
2018-01-04 18:37:34 -07:00
Joe Fleming fdc4ff4bbf chore: ignore yarn.lock file
Original commit: elastic/kibana-plugin-helpers@9cad57cd97
2018-01-04 16:58:36 -07:00
Spencer b591607f0a [npm] upgrade gulp-zip (elastic/kibana-plugin-helpers#61)
Original commit: elastic/kibana-plugin-helpers@94e7530e76
2018-01-04 16:50:35 -07:00
spalger 7a72506eb9 [eslint-config-kibana] v0.15.0 2018-01-03 10:54:08 -07:00
Spencer 28663f6f8e
[eslint-config-kibana] expand list of restricted globals (#15798) 2018-01-03 10:52:30 -07:00
Kim Joar Bekkelund f0390c0ef0 v9.0.0
Original commit: elastic/kibana-plugin-helpers@8d5af744bb
2017-12-12 13:37:59 +01:00
Kim Joar Bekkelund b8c9ef2ff9 Remove kibanaRoot option, require kibana-extra (elastic/kibana-plugin-helpers#58)
* Remove kibanaRoot option, require kibana-extra

* Check location of Kibana on postinstall

* Fix eslint

* Remove 'process.env.KIBANA_ROOT'

Original commit: elastic/kibana-plugin-helpers@3511054dfb
2017-12-12 13:35:24 +01:00
Kim Joar Bekkelund eec07c5209 Deprecate specifying kibana root location (elastic/kibana-plugin-helpers#59)
Original commit: elastic/kibana-plugin-helpers@385fdede72
2017-12-12 13:11:27 +01:00
Jonathan Budzenski 4f24ea931b v8.1.0
Original commit: elastic/kibana-plugin-helpers@fb979ff679
2017-11-28 13:53:51 -06:00
Jonathan Budzenski fd2fb5b3a0 Update yarn.lock
Original commit: elastic/kibana-plugin-helpers@b3d62e5925
2017-11-28 13:53:14 -06:00
Jonathan Budzenski 82f3293eff Add support for passing in node options via environment variable (elastic/kibana-plugin-helpers#56)
* Add support for passing in node options via environment variable

* Split node options

* semicolon

Original commit: elastic/kibana-plugin-helpers@3fc4ec0e87
2017-11-28 13:51:20 -06:00
Joe Fleming b7ded472c1 v8.0.1
Original commit: elastic/kibana-plugin-helpers@2663befdc4
2017-11-21 10:19:16 -07:00
Spencer 0ee2d11a94 [createToolingLog] update require path for toolingLog (elastic/kibana-plugin-helpers#54)
Original commit: elastic/kibana-plugin-helpers@d968819d09
2017-11-21 10:16:08 -07:00
Joe Fleming 047a0ef4d9 chore: add kibanaRoot setting to readme
Original commit: elastic/kibana-plugin-helpers@3769efdb26
2017-11-21 10:12:16 -07:00
Joe Fleming b8aa8ea38e v8.0.0
Original commit: elastic/kibana-plugin-helpers@d538b32bc3
2017-11-20 12:59:22 -07:00
Jonathan Budzenski 05de884f5d Use scripts/kibana instead of bin if available (elastic/kibana-plugin-helpers#53)
* Use scripts/kibana instead of bin if available

* semicolons

* Don't fallback to legacy bin/kibana start method

* chore: add 8.x version to compat chart

Original commit: elastic/kibana-plugin-helpers@fc72de53bd
2017-11-20 12:58:15 -07:00
Spencer 5cddc10077
Upgrade to eslint 4 (#14862)
* [eslint] upgrade to 4.10.0

* [eslint-config-kibana] limit jest config to jest test files

* [ui_framework] remove trailing comma from rest-spreads

* [dashboard/tests] tag jest helpers with .test.js suffix

* explicitly import expect.js where used

* [eslint] apply auto-fixes

* [eslint] manually add/wrap some parens for compliance

* [npm] point to local packages for testing/review

* [jest] remove .test extension from jest helpers

* [ui_framework] fix trailing comma removal from 3bc661a1c8

* [packages] upgrade eslint packages
2017-11-14 18:16:59 -07:00
Joe Fleming 5a9eed6765 v7.1.2
Original commit: elastic/kibana-plugin-helpers@e314c21bf3
2017-11-09 11:13:20 -07:00
Joe Fleming 8e9443f253 Fix: Package use build target (elastic/kibana-plugin-helpers#52)
* fix: pass build target into package task

use the build target for the zip output

* chore: change up the npm scripts

* chore: add create package tests

* chore: update eslint deps

* chore: fix linting issues, add engines

Original commit: elastic/kibana-plugin-helpers@51058fb7fc
2017-11-09 11:12:36 -07:00
Joe Fleming 7f15f82600 v7.1.1
Original commit: elastic/kibana-plugin-helpers@b489c76b26
2017-11-06 11:28:26 -07:00
Joe Fleming ca5c47defa fix: read package file instead of using require
require uses a cache, so if the package.json file was changed before running build, the changes won't exist in the build runtime. using fs.readFileSync instead ensures that the information read from package.json is current.

Original commit: elastic/kibana-plugin-helpers@f78e891838
2017-11-06 11:25:19 -07:00
Spencer 3e08a7e765
[flot-charts] move into ui/public (#14669) 2017-10-30 12:43:12 -07:00
CJ Cenizal 05cbb92965 [eslint-config-kibana] Apply AirBnB spacing rules (#14522)
* Add AirBnB key-spacing rule.
* Add AirBnB comma-spacing rule.
2017-10-25 15:08:05 -07:00
Court Ewing e635d25b26 fork flot into Kibana (#14366)
The flot-charts project has been abandoned since 2014, but we use it
pretty extensively in Kibana. By forking it, we can fix bugs and improve
on the library in ways that we need to for Kibana.
2017-10-10 13:27:47 -04:00
Spencer bd53cc6370 Eslint/remove last amd modules (#14282)
* [timelion] remove last remaining amd modules

* [eslint-config-kibana] remove env.amd
2017-10-10 16:10:56 +02:00
Kim Joar Bekkelund 6a2bb74407 Use Object spread instead of Object.assign where it makes sense (#13903)
* Prefer Object spread

* Add eslint rules for Object spread

* no slice
2017-10-10 14:50:56 +02:00
Joe Fleming 7b8cf3c5b7 v7.1.0
Original commit: elastic/kibana-plugin-helpers@11238b2697
2017-09-26 15:16:28 -07:00
Joe Fleming 079c4f0629 Fix: readme include docs (elastic/kibana-plugin-helpers#50)
* chore: add a simple version compat chart

* chore: document the settings and how to use them

* chore: use icon for license info

* chore: use matching badge for circleci status

Original commit: elastic/kibana-plugin-helpers@1f39e488a3
2017-09-26 15:15:31 -07:00
Joe Fleming b73576b4d5 Feat: add includePlugins setting (elastic/kibana-plugin-helpers#49)
* observe includePlugins setting

* fix: move resolve up to config parser

this ensures that the path is resolved relative to the plugin root

Original commit: elastic/kibana-plugin-helpers@fd07d617a4
2017-09-26 14:45:54 -07:00
Joe Fleming 607354978f v7.0.2
Original commit: elastic/kibana-plugin-helpers@dba9da1b3c
2017-09-20 11:04:57 -07:00
Joe Fleming a579a3b2bc chore: add yarn.lock file to repo
Original commit: elastic/kibana-plugin-helpers@4108fe6597
2017-09-20 11:04:13 -07:00
Joe Fleming d12e9902a7 Feat: add translations to default build source paths (elastic/kibana-plugin-helpers#48)
* feat: add translations path to build

included by default, to better match what's in the elastic products and even the plugin template

also add a translations path to the mock plugin for tests

* chore: add script to run tests with linting

Original commit: elastic/kibana-plugin-helpers@9871a4b11d
2017-09-20 11:01:47 -07:00
spalger a4a41f57de 7.0.1
Original commit: elastic/kibana-plugin-helpers@abb99896ad
2017-09-19 16:38:43 -07:00
spalger 15ee7c7a01 [utils/babelRegister] add support for changes in elastic/kibana#13973
Original commit: elastic/kibana-plugin-helpers@13f30fb4d5
2017-09-19 16:38:19 -07:00
Kim Joar Bekkelund ecd9bcb356 Upgrade to Jest 21 (#13863)
* Upgrade to Jest 21

* Bump eslint-config-kibana to v0.11.0
2017-09-07 12:06:55 +02:00
CJ Cenizal b670baeeec Add AirBnB linting rules for React best practices. Bump to v0.10.0. (#13259) 2017-08-03 08:18:08 -07:00
Kim Joar Bekkelund 5772f56d7a Remove @elastic folder from packages/ (#13089) 2017-07-31 13:58:50 -07:00
Felix Stürmer 3884d38913 [eslint-config-kibana] Add jest plugin and settings (#13090) 2017-07-28 14:00:19 +02:00
CJ Cenizal e922f00445 Upgrade eslint config to 0.8.1. (#13128)
* Fix incorrect peerDependency and bump eslint config version to 0.8.1.
* Upgrade eslint config to 0.8.1. Fix JSX to adhere to new formatting rules.
2017-07-27 10:52:41 -07:00
CJ Cenizal b3ffd99542 Add linting rules for formatting JSX. (#12810)
* Add linting rules for formatting JSX.
* Bump eslint config version to 0.8.0.
2017-07-26 08:51:15 -07:00
Kim Joar Bekkelund bdaf8485b0 Move eslint-config-kibana into core (#12725)
* Initial commit

* added actual config

* version 0.0.1

* version 0.0.2

* [no-const-assign] Disallow assignment to const

http://eslint.org/docs/rules/no-const-assign

* [no-redeclare] Disallow redeclaring variables

http://eslint.org/docs/rules/no-redeclare

* version 0.0.3

* [no-unused-vars]: Disallow declaration of variables that are not used in the code.

* Bump to 0.1.0.

* upgrade deps in preperation for babel6 transition

* 0.2.0-alpha1

* use yaml for readability

* 0.2.0

* update/pin peed dependency versions

* 0.2.1

* [quotes] allow template literals

This allows eslint to validate this rule from the styleguide: https://github.com/elastic/kibana/blob/master/style_guides/js_style_guide.md#use-template-strings-to-avoid-escaping-single-quotes

* 0.2.2

* add object-curly-spacing and no-global-assign rules

* sort .eslintrc.yaml rules

* 0.3.0

* add basic react support

* 0.4.0

* Disallow using 'context' in tests

* 0.5.0

* move from .eslintrc.yaml to .eslintrc.js without .json generation (#6)

* Implement import plugin (#7)

* update deps

* include eslint-plugin-import

* Dereference import config (#8)

* reorganize existing rules into groups

* defreference eslint-plugin-import "recommended" config

Based on ea9c92c732/config/recommended.js

* 0.6.0

* set environment info for import rule

* 0.6.1

* update peerDependencies

* 0.7.0

* Move eslint-config-kibana into packages directory
2017-07-25 10:02:14 +02:00
spalger ea8aa196b0 commit yarn.lock file
Original commit: elastic/kibana-plugin-helpers@22bc67e613
2017-05-09 10:17:45 -07:00
Joe Fleming eb7e5a0630 7.0.0
Original commit: elastic/kibana-plugin-helpers@2ff10e0a45
2017-05-02 14:40:48 -07:00
Joe Fleming 9f37553324 Bump eslint rules, update code to match rules (elastic/kibana-plugin-helpers#43)
* bump @elastic/eslint-config-kibana and deps

* eslint --fix

* fix unused vars

some exceptions for tests

* move eslint-config-kibana to dev

* rename create_package function

* make .node-version looser, match internal checks

Original commit: elastic/kibana-plugin-helpers@6fac14bd51
2017-05-02 14:37:06 -07:00
Spencer eb1e80f272 require node 6 (elastic/kibana-plugin-helpers#42)
* switch to .node-version file

* require and validate node version 6+

Original commit: elastic/kibana-plugin-helpers@85655f230e
2017-05-02 14:27:07 -07:00
spalger 42bc99108f [utils] use actual plugin config (with defaults)
Original commit: elastic/kibana-plugin-helpers@f3bfdb2689
2017-04-28 08:15:04 -07:00
spalger 31e731fd04 bump to version 7 snapshot
Original commit: elastic/kibana-plugin-helpers@0c1b2c1670
2017-04-28 07:53:16 -07:00
Spencer 7331033072 Added helpers, KIBANA_ROOT environment override (elastic/kibana-plugin-helpers#41)
* run is now a named export, added helpers for interacting with the kibana repo

* [config] override the kibana root config with KIBANA_ROOT envvar

Original commit: elastic/kibana-plugin-helpers@54a38cd9a2
2017-04-28 07:49:19 -07:00
Shaunak Kashyap 69c22889ab Kibana-related packages (#11308)
* Make sure package is published under @elastic org namespace

* Preparing packages/ for Kibana-related packages

* Folder structure mirrors package name

* Add note on naming consistency

* s/packages/node modules/ for removing potention confusion with Kibana system packages

* Prefixing the eslint rule with package scope (i.e. org namespace)

* Adding README

* Bumping up version for release

* Adding repository information to package.json

* Bumping up version for release

* URL-encoding repository link + bumping up version for release

* Using published version
2017-04-19 04:31:00 -07:00
Stacey Gammon 5aea4ff210 Add no default exports custom rule (#10981)
* Introduce a custom kibana estlint rule for no default exports

Turn it on only at the level of /kibana/src/core_plugins/public/ for
now, just to keep the PR sizes manageable.

* Don't call functions directly on the import

* Create a packages dir and move the custom rule in there

* Remove copied package.json portions, use minimal info necessary
2017-04-12 06:59:14 -04:00
spalger 0dfc60ded1 6.0.4
Original commit: elastic/kibana-plugin-helpers@0c0ee17a54
2017-03-29 12:23:58 -07:00
spalger 6611bc4c8f fix build task when yarn is not installed
Original commit: elastic/kibana-plugin-helpers@d48808f8d8
2017-03-29 12:23:51 -07:00
spalger 3a2a636da0 6.0.3
Original commit: elastic/kibana-plugin-helpers@b4da11f899
2017-03-28 10:12:22 -07:00
Joe Fleming a773536c06 Fix running tasks on Windows (elastic/kibana-plugin-helpers#37)
* create windows cmd wrapper

* use windows cmd wrapper on browser tests

* be explicit about the mocha command location

* use windows cmd wrapper on server tests

* use windows cmd wrapper on build

default to using npm as well

Original commit: elastic/kibana-plugin-helpers@35f80a08ce
2017-03-28 00:01:58 -07:00
Joe Fleming 142d2dff2d change let to var (elastic/kibana-plugin-helpers#35)
allow helpers to run on pre-6.0 node

Original commit: elastic/kibana-plugin-helpers@91de9a84d3
2017-03-27 11:30:19 -07:00
spalger 187a94427b 6.0.2
Original commit: elastic/kibana-plugin-helpers@ff9d402245
2017-02-24 13:32:07 -07:00
spalger c61d2bd11f [tasks/test/browser] fix --kbnServer.tests_bundle flag
Original commit: elastic/kibana-plugin-helpers@12e7552adb
2017-02-24 13:31:52 -07:00
spalger 0a044bf726 6.0.1
Original commit: elastic/kibana-plugin-helpers@8eae537f9f
2017-02-21 10:42:49 -07:00
Megan Walker 314bda86a6 Update URLs in package.json (elastic/kibana-plugin-helpers#31)
The package.json URLs are still referencing @spalger's version, whilst development and collaboration happens on @elastic's version

Original commit: elastic/kibana-plugin-helpers@1f322c1cb1
2017-02-21 10:41:26 -07:00
Joe Fleming 7adc615c1f 6.0.0
Original commit: elastic/kibana-plugin-helpers@9ee7b62e75
2017-01-11 14:43:19 -07:00
Joe Fleming 85234f979b Use npm/yarn to install build dependencies (elastic/kibana-plugin-helpers#28)
* remove scripts and devDependencies from package

these are only useful in development, and serve no purpose in the build

* refactor the package rewriter

* clean up the buildTarget before building

* run npm install after build creation

* break apart the create_build module

* add create_package modules

call it from within the build_action

* add flag to skip package zip creation

* rename skip-package flag to skip-archive

* rename rewritePackage to rewritePackageJson

* include lock and shrinkwrap files if they exist

* add test for skipping zip creation

* add some tests to build creation

Original commit: elastic/kibana-plugin-helpers@ef6b9c6332
2017-01-11 14:41:05 -07:00
Joe Fleming 569ac1f3d1 5.2.0
Original commit: elastic/kibana-plugin-helpers@8c2a547d9d
2016-12-23 10:50:07 -07:00
Joe Fleming d258d24b13 Allow custom build target via --build-destination flag (elastic/kibana-plugin-helpers#30)
* pass buildTarget into createBuild

allow override from options

* add cli option to override build destination

--build-destination

* fix tests

* resolve build destination from plugin.root

this allows both relative and absolute paths to be used

* add short option

* update the help

Original commit: elastic/kibana-plugin-helpers@6c9fb3464e
2016-12-23 10:48:06 -07:00
Joe Fleming efa7302364 return the result of running the action
Original commit: elastic/kibana-plugin-helpers@9b819eeeb3
2016-12-22 15:58:56 -07:00
Joe Fleming ceb52252be Enable custom builds (elastic/kibana-plugin-helpers#27)
* only modify root package.json file

previously this was modifying every package.json from node_modules as well

* refactor the build task

export the build, define helpers outside of the task

* allow custom kibana and build versions

both can be passed via flags

* allow custom build globs to be specified

* move build into its own module

* add simple option parsing tests

* update readme

* move dependency file appending into the action

* put source and target into variables

* move config file loading into a module

* refactor test_server_action slightly

be more explicit about the files option overwriting the plugin settings

* move default build patterns to plugin config

allows the setting to be overridden via the config file

* fix dirname on relative includes

trim any leading '../' off the path when moving it into the build target

* move node_module dirs into plugin_config module, use existing promises

* rename file_config => config_file

Original commit: elastic/kibana-plugin-helpers@743e4a37c2
2016-12-21 22:37:57 -06:00
Joe Fleming 4cc81e2c89 5.1.1
Original commit: elastic/kibana-plugin-helpers@ad9a8e85b8
2016-12-21 18:22:03 -07:00
Joe Fleming 4456490cc5 fix cli parsing of --dev flag
Original commit: elastic/kibana-plugin-helpers@3aa37c2dfc
2016-12-21 18:21:15 -07:00
Joe Fleming 269bdc45e2 node4 support: const -> var
Original commit: elastic/kibana-plugin-helpers@19b607d954
2016-12-16 18:20:35 -07:00
Joe Fleming 5bc1308422 format the package.json file
Original commit: elastic/kibana-plugin-helpers@c474820bb5
2016-12-16 18:20:35 -07:00
Joe Fleming a145458138 append build info to package.json
Original commit: elastic/kibana-plugin-helpers@504fd07f3c
2016-12-16 18:20:33 -07:00
Joe Fleming dd0d91cfd0 update the readme
Original commit: elastic/kibana-plugin-helpers@c650c4527e
2016-12-16 09:41:32 -07:00
Joe Fleming 802d68ecc9 5.1.0
Original commit: elastic/kibana-plugin-helpers@6dd1407e81
2016-12-16 09:39:35 -07:00
Joe Fleming 0d621e778a Separate the task runner and the command line parser (elastic/kibana-plugin-helpers#25)
* remove conditionl require in runner

add tasks module to load all tasks, throw if task does not exist

* change task signatures and action handlers

- tasks get plugin, run, and an options object
- action handler controls what goes into each task
- taskRunner wrapper moves the command object to the first argument

* change test command signature

allow files to be passed in, and pass all options to test:server and test:browser

* simplify the task runner

* fix typo in unknownOptions

* expose the task runner as the module's main

this way tasks can be run programatically without going through a cli parser

* add tests for task runner

* remove file passing for testAll

* add serverTestPaths to the plugin config

useful for overriding the value via a config file

* [config] plugin.serverTestPaths -> plugin.serverTestPatterns

Original commit: elastic/kibana-plugin-helpers@82af4df64e
2016-12-16 01:06:02 -07:00
Joe Fleming 0ee64597fb add not about custom tests executiong to the readme/help
Original commit: elastic/kibana-plugin-helpers@139221e5a6
2016-12-15 15:14:29 -07:00
Joe Fleming 867ed91517 make server test files an argument
Original commit: elastic/kibana-plugin-helpers@b043b423ef
2016-12-15 14:56:47 -07:00
Joe Fleming 01a8fcee35 assign args in argument passing code
minor syntax change

Original commit: elastic/kibana-plugin-helpers@ce77d071d1
2016-12-15 14:24:44 -07:00
Joe Fleming beb4b33f62 if plugins are specified, use the option value instead of the default
Original commit: elastic/kibana-plugin-helpers@d610c9c9d6
2016-12-15 14:24:44 -07:00
Joe Fleming 47595e7bdd add plugins option to browser tests
used to pass your own testsBundle.pluginIds to the test runner

Original commit: elastic/kibana-plugin-helpers@d370d74bd4
2016-12-15 14:24:44 -07:00
Joe Fleming 8b6ac6469c split and concat and included server test paths
Original commit: elastic/kibana-plugin-helpers@e7dffb6ffe
2016-12-15 14:24:44 -07:00
Joe Fleming c5b08cc1fa add --include options to test:server
Original commit: elastic/kibana-plugin-helpers@d3b5e24207
2016-12-15 14:24:04 -07:00
Joe Fleming 545a304f0f Move require calls outside of task functions (elastic/kibana-plugin-helpers#23)
* move require calls outside of task functions

* fix default command value

Original commit: elastic/kibana-plugin-helpers@846855e960
2016-12-15 13:15:36 -07:00
Joe Fleming 11bb47cc74 fix default command, no more use of call
Original commit: elastic/kibana-plugin-helpers@fe13b987c9
2016-12-14 17:23:09 -07:00
Joe Fleming 30dc427299 use --dev flag for browser dev mode
Original commit: elastic/kibana-plugin-helpers@a790fdd338
2016-12-14 17:19:18 -07:00
Joe Fleming f222c6e889 pass run method into tasks
don't reach into lib for it

Original commit: elastic/kibana-plugin-helpers@d92d2e979a
2016-12-14 17:06:13 -07:00
Joe Fleming b85a68df15 remove use of spread and default assignment
Original commit: elastic/kibana-plugin-helpers@17532f0fdd
2016-12-14 17:06:13 -07:00
Joe Fleming 3486e431ad add test command to execute test/all
Original commit: elastic/kibana-plugin-helpers@e096ac55f3
2016-12-14 17:06:13 -07:00
Joe Fleming f1a9be1933 add a test/all task
Original commit: elastic/kibana-plugin-helpers@9b7c15cf32
2016-12-14 17:06:13 -07:00
Joe Fleming df21e54e57 allow browser tests to be runOnce
Original commit: elastic/kibana-plugin-helpers@ede52ece0e
2016-12-14 17:06:13 -07:00
Joe Fleming 43c6f9c660 Use json files to override default config values (elastic/kibana-plugin-helpers#21)
* read json overrides, mix into defaults

* rename plugin config helper

* use the plugin config in start

Original commit: elastic/kibana-plugin-helpers@4cfbe28128
2016-12-14 17:03:15 -07:00
spalger 0632b8e2b9 5.0.1-patch2
Original commit: elastic/kibana-plugin-helpers@a754ef5b50
2016-11-21 14:46:31 -07:00
spalger 5298a23d92 do not pass stdin to sub tasks, fixes elastic/kibana-plugin-helpers#19
Original commit: elastic/kibana-plugin-helpers@f872954888
2016-11-21 14:46:02 -07:00
spalger a1daf785ec 5.0.1-patch1
Original commit: elastic/kibana-plugin-helpers@d49bb6ea73
2016-11-17 13:04:46 -07:00
spalger b5166d80d3 use a promise instead of a callback to track task completion
Original commit: elastic/kibana-plugin-helpers@c6dacf3507
2016-11-17 13:02:57 -07:00
spalger 66c5ec54ef 5.0.1
Original commit: elastic/kibana-plugin-helpers@e42d134e4c
2016-11-17 03:34:55 -07:00
spalger 9510c6fa2d add circle-ci config file
Original commit: elastic/kibana-plugin-helpers@80505e1b0d
2016-11-17 03:29:37 -07:00
spalger c736d6f404 include nvmrc file for development
Original commit: elastic/kibana-plugin-helpers@f51115de11
2016-11-17 03:19:06 -07:00
spalger 82ff13ee87 add basic test for the build action
Original commit: elastic/kibana-plugin-helpers@52230f6c3b
2016-11-17 03:17:44 -07:00
spalger a52da8e3d6 run vinyl.src in the plugin.root directory
Original commit: elastic/kibana-plugin-helpers@8f3081b029
2016-11-17 03:17:31 -07:00
spalger 6ec4fc4ca1 add an optional callback to the build action
Original commit: elastic/kibana-plugin-helpers@6a1012f96b
2016-11-17 03:16:49 -07:00
spalger 20d44277a1 support defining an alternate plugin root
Original commit: elastic/kibana-plugin-helpers@0e4d4fa501
2016-11-17 03:16:24 -07:00
spalger 483d5750c8 fix lint error
Original commit: elastic/kibana-plugin-helpers@06af5c3dd4
2016-11-17 03:15:10 -07:00
Chris Weed 9eff54d1e0 Running main, corrected build, checking for no dependencies (elastic/kibana-plugin-helpers#15)
* Updated if check if there are no dependencies

* Now running main()

* Build now uses the correct parameter.

Original commit: elastic/kibana-plugin-helpers@7cf31d26d2
2016-11-17 02:47:45 -07:00
spalger 0eec010617 5.0.1-pre3
Original commit: elastic/kibana-plugin-helpers@2e0e10106b
2016-11-11 13:25:58 -07:00
spalger ddf67bf648 [build] ask for kibana version when set to "kibana"
Original commit: elastic/kibana-plugin-helpers@5fe34c47ae
2016-11-11 13:23:58 -07:00
spalger efda634e85 5.0.1-pre2
Original commit: elastic/kibana-plugin-helpers@0fd7d07558
2016-11-11 10:23:14 -07:00
Megan Walker 151041bf26 Pass pluginId and plugin-path values through correctly (elastic/kibana-plugin-helpers#11)
Fixes elastic/kibana-plugin-helpers#10

Original commit: elastic/kibana-plugin-helpers@74defe4206
2016-11-11 10:21:52 -07:00
spalger 57ecccec89 5.0.1-pre
Original commit: elastic/kibana-plugin-helpers@2d26645117
2016-11-11 09:43:24 -07:00
spalger b2369866d2 [test:server] include Kibana node_modules/.bin in path when running server tests
Original commit: elastic/kibana-plugin-helpers@bbda801351
2016-11-11 09:41:52 -07:00
Megan Walker a3ddc22645 Correctly bundle dependencies if there is only one
Fixes elastic/kibana-plugin-helpers#8

Original commit: elastic/kibana-plugin-helpers@c46b2ca07c
2016-11-11 15:17:09 +00:00
spalger 9593ecb35d 5.0.0
Original commit: elastic/kibana-plugin-helpers@42163ce240
2016-11-04 01:03:37 -05:00
Spencer dbd2db4f66 Merge pull request elastic/kibana-plugin-helpers#6 from spalger/implement/extra-args-to-kibana
[start] send extra args to the kibana process

Original commit: elastic/kibana-plugin-helpers@09b0d85f00
2016-11-03 23:41:14 -05:00
spalger 6790982d08 [start] send extra args to the kibana process
Original commit: elastic/kibana-plugin-helpers@ce943ca67c
2016-10-21 15:04:27 -07:00
spalger 5a446ffe4e [build] place the plugin contents under the kibana directory
Original commit: elastic/kibana-plugin-helpers@0a0f5fea0a
2016-10-21 14:58:48 -07:00
spalger ec965190d6 group task related files
Original commit: elastic/kibana-plugin-helpers@4a8ccce1ec
2016-10-21 14:44:19 -07:00
spalger 25a10c17d2 added license files for better visiblity
Original commit: elastic/kibana-plugin-helpers@a3297e2728
2016-08-19 08:46:47 -07:00
spalger 45cb675249 5.0.0-beta2
Original commit: elastic/kibana-plugin-helpers@4e70c3e4d8
2016-06-22 04:48:13 -07:00
mkoertgen 7d4f1a56ca Fix start cmd on Windows
Original commit: elastic/kibana-plugin-helpers@7718cefd8a
2016-06-19 08:25:34 +01:00
spalger fe22f9bb70 [npm] do not commit npm logs
Original commit: elastic/kibana-plugin-helpers@a1bf7505a7
2016-02-14 02:28:56 -07:00
spalger bd4588368d [package.json] fix typo
Original commit: elastic/kibana-plugin-helpers@f135485c1a
2016-02-14 02:27:23 -07:00
spalger e7dccb71e4 [npm] rename
Original commit: elastic/kibana-plugin-helpers@9fb16dd1c3
2016-02-14 02:26:21 -07:00
spalger d3cd99c665 [readme] inception
Original commit: elastic/kibana-plugin-helpers@5caa197ea7
2016-02-14 02:19:29 -07:00
spalger cce0cc64e3 [npm] finish package.json
Original commit: elastic/kibana-plugin-helpers@c7b0e9d522
2016-02-14 02:19:17 -07:00
spalger e9b7e0566a simplify bin scripts and get them working
Original commit: elastic/kibana-plugin-helpers@1455f09194
2016-02-14 02:13:30 -07:00
spalger ff5597948e initial commit
Original commit: elastic/kibana-plugin-helpers@06c603d0d9
2016-02-12 14:36:17 -07:00