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

Reformat package.json for npm #23

Merged
merged 1 commit into from
Sep 11, 2024
Merged

Conversation

jiribenes
Copy link
Contributor

@jiribenes jiribenes commented Sep 11, 2024

Motivation

npm version major/minor/patch can change the version of the currently developed npm package:

  • by bumping major/minor/patch in package.json
  • making a commit
  • and a git tag

... which makes it very nice to use to make a deploy using a single command.

Unfortunately, it reformats the package.json file into a more standard version. It's still 4 spaces, but a bit more verbose.
I think the trade-off is worth it here, just to make releasing a bit easier.

Description

I ran npm version patch and only selectively added the things that do not change the version, thus making the diff smaller for an actual release.

@jiribenes jiribenes merged commit a0fb8fa into master Sep 11, 2024
1 check passed
@jiribenes jiribenes deleted the refactor/reformat-package-json branch September 11, 2024 08:48
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.

1 participant