Tiago Costa
f0c7782904
chore(19502): change license checker and generator behaviour to only add dev dependencies with --dev flag. ( #19626 ) ( #19825 )
2018-06-12 09:15:44 -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
Jenkins CI
bc5b51554d
Migrate x-pack-kibana source to kibana
2018-04-24 13:49:26 -07:00
Spencer
5c04ff65fb
Remove use of npm ls
in grunt tasks ( #11965 )
...
* [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
2017-05-24 08:34:55 -07:00
Spencer
d8d65526c6
[eslint] enable no undef ( #10825 )
...
* [codeshift] add proper ignore comments
* [codeshift] apply require-to-import transform
* [codeshift/fixup] remove duplicate imports
* [eslint] upgrade config for react "unused" support
* [codeshift] apply remove-unused-imports transform
* [codeshift] apply remove-unused-basic-requires transform
* [codeshift] apply remove-unused-function-arguments transform
* [lintroller] fix argument list spacing
* [codeshift] apply remove-unused-basic-bars transform
* [codeshift/fixup] fixup unused basic var removals
* manually apply remove-unused-assignments transform
* [codeshift] reapply remove-unused-imports transform
* [codeshift] reapply remove-unused-function-arguments transform
* [eslint] autofix param spacing
* manually fix remaining no-undef errors
* use more descriptive file ignore pattern
* add eslint-plugin-react peerDependency
* replace values that looked unused in tests
* remove // kibana-jscodeshift-no-babel comment
* remove import statements from code required by api tests
* Remove '// kibana-jscodeshift-ignore' comments
* address review feedback
* remove remnant of removed if condition
2017-03-22 07:08:23 -07:00
Spencer
e488a16e6f
[eslint] reenable no-extra-semi and quotes rules ( #9473 )
...
* [eslint] re-enable no-extra-semi and quotes rules
* [eslint] update to version 0.2.2 of eslint config
* [eslint] autofix
2016-12-13 18:17:47 -07:00
Spencer
2f6654bcec
[eslint] re-enable no-var and prefer-const ( #9455 )
...
* [eslint] enable no-var and autofix
* [eslint] enable prefer-const and autofix
* [eslint] fix autofix-incompatible no-var and prefer-const violations
2016-12-13 10:44:27 -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