Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .changeset/silver-shirts-relax.md

This file was deleted.

13 changes: 13 additions & 0 deletions packages/pkg/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Change Log

## 0.21.1

### Patch Changes

- [#475](https://github.com/un-ts/prettier/pull/475) [`8f1aef9`](https://github.com/un-ts/prettier/commit/8f1aef94b22fa1d2559f249290ed0255301d3374) Thanks [@Shinigami92](https://github.com/Shinigami92)! - feat(pkg): add option `packageSortOrderPreset`

This option allows you to specify a preset for sorting packages in the `package.json` file.

The available presets are: `npm`, `npm-plus`:

- `npm`: sorts by [`npm`'s document](https://docs.npmjs.com/cli/v11/configuring-npm/package-json)
- `npm-plus`: sorts by [`sort-package-json`](https://github.com/keithamus/sort-package-json/blob/aa6774ad937feb83178c8bc981f08305e1d22b5c/defaultRules.md) and therefore is compatible to [`prettier-plugin-packagejson`](https://github.com/matzkoh/prettier-plugin-packagejson)

## 0.21.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/pkg/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prettier-plugin-pkg",
"version": "0.21.0",
"version": "0.21.1",
"type": "module",
"description": "An opinionated package.json formatter plugin for Prettier",
"repository": "git+https://github.com/un-ts/prettier.git",
Expand Down