Honor the `format` config key. After writing changelogs, `version` runs the configured formatter over them, matching how `@changesets` formats its output, so a formatter-configured repo stays consistent. Supports prettier, biome, oxfmt, deno, and dprint; `format: "auto"` detects the formatter from its config files (same order as `@changesets`). Native formatters run directly and the npm-based ones run through the detected package manager (npx/pnpm/yarn/bun). `format: false` (the default) skips formatting, and a missing or failing formatter degrades gracefully with a warning, leaving the canonical changelog as written.
0 commit comments