Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.3] Remove use of npm ls in grunt tasks (#11965) #11985

Merged
merged 1 commit into from
May 24, 2017

Conversation

spalger
Copy link
Contributor

@spalger spalger commented May 24, 2017

  • [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 5c04ff6)

* [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 5c04ff6)
@spalger spalger merged commit 9ed5ca6 into elastic:5.3 May 24, 2017
@spalger spalger deleted the backport/5.3/11965 branch October 18, 2019 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant