# What changed in prettier-plugin-pkg

> 2 changes in prettier-plugin-pkg 0.22 from its official release notes, upgrade guides and advisories. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/prettier-plugin-pkg/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## prettier-plugin-pkg 0.22

### Behavior and default changes

- Sorts pre/post scripts around the base script, except for pare/postpare and preprepare/prepare/postprepare. (0.22.0) — [release notes](https://github.com/un-ts/prettier/releases/tag/prettier-plugin-pkg%400.22.0)

### Fixes and other changes

- Default pre/post lifecycle scripts are now sorted together instead of being treated as unrelated hooks. (0.22.1) — [release notes](https://github.com/un-ts/prettier/releases/tag/prettier-plugin-pkg%400.22.1)
