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

Use npm update instead of deleting package-lock.json #394

Merged
merged 1 commit into from
May 19, 2022

Conversation

kylelaker
Copy link
Contributor

When we update packages, it's usually a bit better to keep
package-lock.json and to run npm install && npm update instead.

When we update packages, it's usually a bit better to keep
package-lock.json and to run `npm install && npm update` instead.
@easy-dynamics-oscal-automation easy-dynamics-oscal-automation bot requested a review from a team May 16, 2022 12:30
@kylelaker
Copy link
Contributor Author

The inspiration for this was mostly wanted to make sure that the SHA hash changes we see in #393 would have happened with npm update as well (they would). But just using npm update directly means that we don't have to wonder if it would have different behavior in the future.

Usually SHA-only changes are a red flag but in #393's case, it's because they're changing from SHA1 to SHA512.

@easy-dynamics-oscal-automation easy-dynamics-oscal-automation bot requested a review from a team May 17, 2022 20:59
@mikeisen1 mikeisen1 merged commit 038316b into develop May 19, 2022
@mikeisen1 mikeisen1 deleted the feature/use-npm-update branch May 19, 2022 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants