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

[RAC-6681] Lock down NPM modules #585

Merged

Conversation

lanchongyizu
Copy link
Member

@lanchongyizu lanchongyizu commented Feb 27, 2018

Background

Recently, randexp was upgraded to v0.4.8 which has a bug fent/randexp.js#49, and it broke down our concourse-ci. Please reference #584 for details.
So we need to lock down the version of the dependent libraries recursively.

Done

  • Add publishable npm-shrinkwrap.json, which is repurposed from package-lock.json.
  • Not lock down the dependent on-core, so don't add commit hash or version to on-core.
    The benefits:
    • Don't need to update npm-shrinkwrap.json every time when on-core has a new commit.
    • Ease the dependent PRs merging.
  • Install npm@5.6.0 in travis-ci which is the same as concourse-ci.

Please refer to https://rackhd.atlassian.net/browse/RAC-6681 for details.

@RackHD/corecommitters @iceiilin @nortonluo

@RackHDCI
Copy link

The Copyright Check has failed!
The files listed below do not have a valid copyright statement:

  • .travis.yml

@lanchongyizu lanchongyizu force-pushed the bugfix/add-package-lock-json branch 2 times, most recently from 812e2b1 to aa35255 Compare April 13, 2018 03:00
@lanchongyizu lanchongyizu changed the title [WIP] add package-lock.json [RAC-6681] Lock down NPM modules Apr 23, 2018
* Add publishable npm-shrinkwrap.json, which is repurposed from package-lock.json.
* Not lock down the dependent on-core, so don't add commit hash or version to on-core.
  The benefits:
    * Don't need to update npm-shrinkwrap.json every time when on-core has a new commit.
    * Ease the dependent PRs merging.
* Install npm@5.6.0 in travis-ci which is the same as concourse-ci.
@lanchongyizu lanchongyizu merged commit 2d9a827 into RackHD:master Apr 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants