Commit graph

14 commits

Author SHA1 Message Date
Spencer
9ed5ca64ef [5.3] Remove use of npm ls in grunt tasks (#11965) (#11985)
* [grunt/build] refactor _build:notice task to not depend on npm

The _build:notice task used to rely on the output of `npm ls` to determine where modules were defined, but the task now just asks `license-checker` to include the `realPath` of the modules it describes in it's output, which is ultimately the same thing but works with `yarn` too.

* [grunt/licenses] convert to use lib/packages/getInstalledPackages()

* [grunt/notice/generate] test generateNoticeText()

* [grunt/licenses] tested assertLicensesValid()

* [npm] remove npm dev dep

* [tasks/lib/packages] do not include kibana in "installed packages"

* [tasks/lib/notice] join all notices with the same separator

(cherry picked from commit 5c04ff65fb)
2017-05-24 09:49:24 -07:00
Spencer
9ed7e81b62 Backport eslint updates to 5.x (#10139)
* [eslint] update eslint config to 0.3.0

* [eslint] autofix

* [fixtures/hits] reformat to comply with max-len lint rule

* [eslint] enable no-var and autofix

* [eslint] enable prefer-const and autofix

* [eslint] fix autofix-incompatible no-var and prefer-const violations

* [eslint] enable quotes+no-extra-semi and autofix
2017-02-06 21:27:07 -07:00
Tyler Smalley
ad97552c03 Upgrade to Node 6.4.0
* Updated dependencies to include graceful-fs ~4.0
* Replaced deprecated grunt-s3 package with suggested grunt-aws-s3
* Update licenses task to better support npm 3

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-08-25 08:40:14 -07:00
CJ Cenizal
6d6ab4ab5e Log dependency path info in licenses grunt task.
- Now you'll see a path of the parent dependencies when a dependency fails to licenses task, so you can identify the offending root dependency.
- ES2015ify the licenses task.
2016-06-21 18:55:54 -07:00
Rashid Khan
412b711a19 Add the license check back 2016-05-02 09:55:55 -07:00
spalger
ce366a06f4 [build] initial fix 2015-08-13 21:16:54 -07:00
spalger
e0d78a8475 switch to eslint 2015-07-31 17:16:09 -07:00
spalger
cfc398b37d remove bower, nice people matter 2015-07-27 17:13:45 -07:00
Spencer Alger
382598fada split dev server in two, preventing server source file from forcing webpack rebuilds 2015-07-10 06:20:03 -07:00
Rashid Khan
7efd5dbaa6 Use --debug instead of --verbose 2015-06-26 12:16:58 -07:00
Rashid Khan
81b5197bee Make licenses task take --verbose 2015-06-25 14:24:52 -07:00
Spencer Alger
dc07a456cd removed unused deps and prevent license failure 2015-06-08 14:17:22 -07:00
Rashid Khan
20b261d9d6 Add to grunt test 2015-06-04 14:15:10 -07:00
Rashid Khan
fc28784e4d Add 'licenses' task to grunt to check for incompatible licenses 2015-06-04 13:47:57 -07:00