np formats the `package.json` file upon use.
When `np` bumps the version in the `package.json` file. It also formats the file itself. Likely using prettier or something internally but people using different formatter like `biome` needs to make another commit just to re-format the file.
## Expected behavior
It should only update the `version` field in the `package.json` file without doing any formatting to the json file itself.
## Environment
<!-- Mention which versions of np, Node.js, npm and Git you're using, as well as your OS and version -->
np - v10.2.0
Node.js - v22.14.0
npm - 11.3.0
Git - 2.43.0
OS - Ubuntu 24.04.2 LTS (WSL)
关闭于 2026-01-12 2 条评论