prettier-package-json icon indicating copy to clipboard operation
prettier-package-json copied to clipboard

Prettier formatter for package.json files

Results 22 prettier-package-json issues
Sort by recently updated
recently updated
newest added

Hi there, Thanks so much for making this package. I was wondering if it would be possible to add a `--check` option to the CLI so we could check if...

enhancement

The package.json puts npm overrides at bottom (is this intentional), as well as doesn't sort the package order listed in it. This is a new feature in Npm 8.3, and...

Bumps [minimist](https://github.com/substack/minimist) from 1.2.0 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR aeb3e27 1.2.5...

dependencies

For my current project, I've been noticing the sort order of my packages change every time I run `npm install`. Specifically in this case, this package sorts dashes before underscores...

Bumps [ws](https://github.com/websockets/ws) from 7.4.5 to 7.5.7. Release notes Sourced from ws's releases. 7.5.7 Bug fixes Backported 6946f5fe to the 7.x release line (1f72e2e1). 7.5.6 Bug fixes Backported b8186dd1 to the...

dependencies

Bumps [debug](https://github.com/debug-js/debug) from 2.6.8 to 2.6.9. Release notes Sourced from debug's releases. 2.6.9 Patches Remove ReDoS regexp in %o formatter: #504 Credits Huge thanks to @​zhuangya for their help! Changelog...

dependencies

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tmpl&package-manager=npm_and_yarn&previous-version=1.0.4&new-version=1.0.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

### Problem invalid JSON test failing on main ### Steps to recreate 1. Run `yarn test` ### Additional notes I wanted to make this issue because I also experienced this...