Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Add .npmrc file to enforce save-exact #5679

Merged
merged 1 commit into from
Jun 9, 2020
Merged

Add .npmrc file to enforce save-exact #5679

merged 1 commit into from
Jun 9, 2020

Conversation

mickmister
Copy link
Contributor

Summary

With this file in the root dir, npm will always use exact versions when updating package.json. This file already exists in the mattermost-mobile repo.

Ticket Link

https://mattermost.atlassian.net/browse/MM-25856

@mickmister mickmister added the 2: Dev Review Requires review by a core commiter label Jun 8, 2020
Copy link
Member

@hmhealey hmhealey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, I didn't even know this was an option. Maybe .npmrc has an option for not screwing up the package-lock.json constantly 😛

@hmhealey hmhealey added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core commiter labels Jun 9, 2020
@hmhealey hmhealey merged commit c0d780c into master Jun 9, 2020
@hmhealey hmhealey deleted the npmrc-file branch June 9, 2020 21:33
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels Jun 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4: Reviews Complete All reviewers have approved the pull request Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants