Environment
Changesets version: @changesets/cli@^2.27.7
Package manager: pnpm with workspaces and catalog feature
Node version: 20.19.1
Current Behavior
When using pnpm workspaces with the catalog feature, updating a dependency version in the catalog section of pnpm-workspace.yaml is not detected as a change by changesets, even though this update affects all packages in the monorepo that reference that dependency via the catalog.
Expected Behavior
Changesets should detect when catalog dependency versions are updated and prompt for changelog entries, since these changes effectively update dependencies across multiple packages in the workspace.
Steps to Reproduce
- Set up a monorepo with pnpm workspaces using the catalog feature
- Have multiple packages that reference dependencies via the catalog (e.g., "dependency": "catalog:")
- Update a dependency version in the catalog section of pnpm-workspace.yaml
- Run
npx changeset (or similar command based on the type of monorepo)
- Observe that no packages have changed according to
changesets
AFAIK, the issue is that getChangedPackagesSinceRef in @changesets/git only looks at changed files within packages (getChangedFilesSince). It would also need to look at changes in the catalog, and check if the updated external packages are used by a package from the monorepo.
Environment
Changesets version: @changesets/cli@^2.27.7
Package manager: pnpm with workspaces and catalog feature
Node version: 20.19.1
Current Behavior
When using pnpm workspaces with the catalog feature, updating a dependency version in the catalog section of pnpm-workspace.yaml is not detected as a change by changesets, even though this update affects all packages in the monorepo that reference that dependency via the catalog.
Expected Behavior
Changesets should detect when catalog dependency versions are updated and prompt for changelog entries, since these changes effectively update dependencies across multiple packages in the workspace.
Steps to Reproduce
npx changeset(or similar command based on the type of monorepo)changesetsAFAIK, the issue is that
getChangedPackagesSinceRefin@changesets/gitonly looks at changed files within packages (getChangedFilesSince). It would also need to look at changes in the catalog, and check if the updated external packages are used by a package from the monorepo.