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

docs(package-json): note that line endings are inferred #7382

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

ertw
Copy link
Contributor

@ertw ertw commented Apr 16, 2024

What

Per npm/json-parse-even-better-errors#3 (comment), npm will implicitly update line endings, spacing, etc of package-lock.json so that it matches package.json

Why

I'd like to add this documentation because it does not seem to be documented anywhere, and as it is an implicit and non-configurable behavior, it took me a long time to figure out the cause.

References

npm/json-parse-even-better-errors#3 (comment)

Per npm/json-parse-even-better-errors#3 (comment), npm will implicitly update line endings, spacing, etc of `package-lock.json` so that it matches `package.json` 

I'd like to add this documentation because it does not seem to be documented anywhere, and as it is an implicit and non-configurable behavior, it took me a long time to figure out the cause.
@ertw ertw requested a review from a team as a code owner April 16, 2024 21:15
@wraithgar wraithgar changed the title Update package-lock-json.md docs(package-json): note that line endings are inferred Apr 16, 2024
@wraithgar wraithgar merged commit 140b9c9 into npm:latest Apr 16, 2024
8 of 9 checks passed
@github-actions github-actions bot mentioned this pull request Apr 16, 2024
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.

2 participants