From 9bacc14ad59ebd37254829cb2323bfed113c17be Mon Sep 17 00:00:00 2001 From: Stackwright Bot Date: Wed, 29 Apr 2026 09:15:22 -0400 Subject: [PATCH] fix(changeset): correct phantom version baselines in pre.json, remove consumed changeset MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After PR #391 merged to main, the automated release workflow bumped build-scripts→0.5.1, cli→0.8.1, mcp→0.4.1, and launch-stackwright→0.2.1, but all npm publishes 404'd (packages not yet on the public registry). The back-merge of main into dev wrote those phantom stable versions into the dev package.json files, corrupting the prerelease state in two ways: 1. pre.json initialVersions was stale (still listed the pre-bump versions 0.5.0, 0.8.0, 0.4.0, 0.2.0), causing changeset status to error with 'Some packages have been changed but no changesets were found.' 2. pre.json changesets array listed all 10 IDs as 'already applied'. assembleReleasePlan filters out any changeset whose ID is in this array, so getReleasePlan returned 0 changesets and 0 releases. Combined with getVersionableChangedPackages finding real changes vs main, the changedPackages > 0 && changesets === 0 error condition fired. Fix: update the 4 phantom initialVersions to match current package.json, clear pre.json changesets to [] so all 10 pending .md files are treated as unapplied, and delete the zombie fix-prebuild-mkdir-nested-slugs changeset (already in the 0.5.1 CHANGELOG; this avoids a duplicate entry in the next release's CHANGELOG). Result: pnpm changeset status exits 0 and correctly reports 3 minor and 8 patch bumps across the 10 pending changesets. --- .changeset/fix-prebuild-mkdir-nested-slugs.md | 5 ----- .changeset/pre.json | 22 +++++-------------- 2 files changed, 5 insertions(+), 22 deletions(-) delete mode 100644 .changeset/fix-prebuild-mkdir-nested-slugs.md diff --git a/.changeset/fix-prebuild-mkdir-nested-slugs.md b/.changeset/fix-prebuild-mkdir-nested-slugs.md deleted file mode 100644 index e1973b42..00000000 --- a/.changeset/fix-prebuild-mkdir-nested-slugs.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@stackwright/build-scripts": patch ---- - -fix(build-scripts): create parent directory before writing nested page slug output files diff --git a/.changeset/pre.json b/.changeset/pre.json index a4c24310..3ba1f30d 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -3,16 +3,16 @@ "tag": "alpha", "initialVersions": { "stackwright-docs": "0.1.2", - "@stackwright/build-scripts": "0.5.0", - "@stackwright/cli": "0.8.0", + "@stackwright/build-scripts": "0.5.1", + "@stackwright/cli": "0.8.1", "@stackwright/collections": "0.1.0", "@stackwright/core": "0.8.0", "@stackwright/e2e": "0.3.0", "@stackwright/hooks-registry": "0.1.0", "@stackwright/icons": "0.5.0", - "launch-stackwright": "0.2.0", + "launch-stackwright": "0.2.1", "@stackwright/maplibre": "2.0.0", - "@stackwright/mcp": "0.4.0", + "@stackwright/mcp": "0.4.1", "@stackwright/nextjs": "0.4.0", "@stackwright/otters": "0.2.0", "@stackwright/sbom-generator": "0.2.0", @@ -21,17 +21,5 @@ "@stackwright/types": "1.2.0", "@stackwright/ui-shadcn": "0.1.1" }, - "changesets": [ - "add-plugin-content-schema-extension", - "add-pro-content-normalization", - "dependabot-batch-updates", - "feat-188-page-add-content-flag", - "feat-243-security-headers", - "fix-352-install-flag-actually-installs", - "fix-plugin-config-schema-242", - "fix-plugin-this-binding", - "fix-prebuild-mkdir-nested-slugs", - "fix-preinstall-double-run", - "grumpy-paws-create" - ] + "changesets": [] }