Skip to content

Fixing removing package-lock from gitignore#4346

Merged
jasonsaayman merged 2 commits intoaxios:masterfrom
brianadams731:fix-gitignore
Dec 29, 2021
Merged

Fixing removing package-lock from gitignore#4346
jasonsaayman merged 2 commits intoaxios:masterfrom
brianadams731:fix-gitignore

Conversation

@brianadams731
Copy link
Copy Markdown
Contributor

@brianadams731 brianadams731 commented Dec 21, 2021

Removed package-lock.json from .gitignore, this adheres to the guidelines provided by npm found here

Fixes #4324 Package-lock.json file should be committed

Providing a package-lock makes for a more consistent experience for both end users and developers. While it is unlikely that issues would arise from a minor bump in transitive dependencies, it is still a possibility.

@arthurfiorette
Copy link
Copy Markdown
Contributor

arthurfiorette commented Dec 28, 2021

Perhaps the maintainers are using yarn. But no matter what it is, a lock file must be included in the github repo.

@jasonsaayman jasonsaayman merged commit ccc9516 into axios:master Dec 29, 2021
mbargiel pushed a commit to mbargiel/axios that referenced this pull request Jan 27, 2022
Co-authored-by: Jay <jasonsaayman@gmail.com>
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.

Package-lock.json file should be committed

3 participants