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

add newline at the end of file in package.json #1161

Open
dangoldbj opened this issue Aug 4, 2022 · 0 comments · May be fixed by #1162
Open

add newline at the end of file in package.json #1161

dangoldbj opened this issue Aug 4, 2022 · 0 comments · May be fixed by #1162

Comments

@dangoldbj
Copy link

dangoldbj commented Aug 4, 2022

Standard javascript tools add newline at the end of file of package.json.
yarnpkg/yarn#2675

Current behavior:
wasm-pack does not add newline at the end of file of the generated package.json files.

Requested behavior:
add newline at the end of file of the generated package.json files.

Why?
Current behavior leads to frequent diff when the generated package.json is included in the git repository, as the newline is either added or removed every time you run wasm-pack or yarn

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 a pull request may close this issue.

1 participant