-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
[HOWTO] Regenerate npm-shrinkwrap after updating a module in package.json #104
Labels
Comments
Instead of updating package.json manually and |
arm4b
pushed a commit
that referenced
this issue
Jun 21, 2019
arm4b
pushed a commit
that referenced
this issue
Jun 21, 2019
To have the environment fully reproducible, running it in existing Docker images from st2chatops repo may help: docker-compose run xenial npm install --production
# example of updating only specific hubot-stackstorm package
docker-compose run xenial npm update hubot-stackstorm
docker-compose run xenial npm shrinkwrap
cat npm-shrinkwrap.json It's also possible to do this in CircleCI itself with SSH debug builds if required environment is absent locally. |
arm4b
changed the title
INFO: How to shrinkwrap after updating a module in package.json?
[HOWTO] Regenerate npm-shrinkwrap after updating a module in package.json
Jun 26, 2019
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install node version as specified in engine section in package.json
git clone [email protected]:StackStorm/st2chatops.git
npm install
Edit package in package.json and set it to new version
npm update $package_name
npm shrinkwrap
The text was updated successfully, but these errors were encountered: