From e44eb3cf556d85829ca3c0582f91e78006fb13fa Mon Sep 17 00:00:00 2001 From: Hyan Mandian <5044101+hyanmandian@users.noreply.github.com> Date: Sat, 3 Oct 2026 15:00:34 -0300 Subject: [PATCH] build(fmt): leave jsr.json to release-please, as CHANGELOG.md already is release-please rewrites jsr.json when it bumps the version and expands every array, which the formatter then reports, so the Check workflow failed on the 2.5.0 release PR until a formatting commit was pushed to it. scripts/jsr.ts rewrites only the exports block, so the staleness check is unaffected. --- vite.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index d6fb5c604..b38a83028 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -146,7 +146,8 @@ const sharedPack = { export default defineConfig({ fmt: { // `reports` holds generated output only (the Stryker mutation reports). - // `CHANGELOG.md` is written by release-please (`* ` bullets); formatting it would fail the + // `CHANGELOG.md` and `jsr.json` are written by release-please (`* ` bullets in the first, every + // array expanded in the second when it bumps the version); formatting them would fail the // Check workflow on every release PR. ignorePatterns: [ "dist", @@ -156,6 +157,7 @@ export default defineConfig({ ".stryker-tmp", ".claude", "CHANGELOG.md", + "jsr.json", ], singleQuote: false, sortImports: true,