Skip to content

Commit b32eea4

Browse files
chore: release package(s) (#476)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 953fc3e commit b32eea4

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

.changeset/silver-shirts-relax.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

packages/pkg/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Change Log
22

3+
## 0.21.1
4+
5+
### Patch Changes
6+
7+
- [#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`
8+
9+
This option allows you to specify a preset for sorting packages in the `package.json` file.
10+
11+
The available presets are: `npm`, `npm-plus`:
12+
13+
- `npm`: sorts by [`npm`'s document](https://docs.npmjs.com/cli/v11/configuring-npm/package-json)
14+
- `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)
15+
316
## 0.21.0
417

518
### Minor Changes

packages/pkg/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "prettier-plugin-pkg",
3-
"version": "0.21.0",
3+
"version": "0.21.1",
44
"type": "module",
55
"description": "An opinionated package.json formatter plugin for Prettier",
66
"repository": "git+https://github.com/un-ts/prettier.git",

0 commit comments

Comments
 (0)