Skip to content

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

Merged
wraithgar merged 1 commit into
npm:latestfrom
ertw:patch-2
Apr 16, 2024
Merged

docs(package-json): note that line endings are inferred#7382
wraithgar merged 1 commit into
npm:latestfrom
ertw:patch-2

Conversation

@ertw

@ertw ertw commented Apr 16, 2024

Copy link
Copy Markdown
Contributor

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 Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants