Skip to content

fix: include root package in pnpm workspace (repairs release workflow) - #403

Merged
mvantellingen merged 1 commit into
mainfrom
fix/changesets-workspace-root
Jul 17, 2026
Merged

fix: include root package in pnpm workspace (repairs release workflow)#403
mvantellingen merged 1 commit into
mainfrom
fix/changesets-workspace-root

Conversation

@mvantellingen

Copy link
Copy Markdown
Member

Problem

The docs PR (#402) added packages: [docs] to pnpm-workspace.yaml. That made
changesets/manypkg treat the root library as the excluded root package, so the
release job now fails:

Error: Found changeset ... for package @labdigital/commercetools-mock which is not in the workspace

(pnpm itself still shows the root project, but manypkg — which changesets uses — does not.)

Fix

List the root explicitly alongside docs:

packages:
  - '.'
  - docs

Verified locally

  • pnpm changeset status@labdigital/commercetools-mock bumped at minor ✅
  • pnpm --filter @labdigital/commercetools-mock-docs build → 26 pages ✅
  • pnpm check (biome + tsc) → 322 files, no errors ✅

Adding the docs package as 'packages: [docs]' made changesets treat the root
library as the excluded root package, breaking the release workflow
('changeset ... which is not in the workspace'). List the root explicitly so
both the library and docs are workspace members.
@changeset-bot

changeset-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0df49cf

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mvantellingen
mvantellingen merged commit c4c0030 into main Jul 17, 2026
14 checks passed
@mvantellingen
mvantellingen deleted the fix/changesets-workspace-root branch July 17, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant