Skip to content

Conversation

@ecraig12345
Copy link
Member

In repos that don't use a supported monorepo manager (npm/yarn/pnpm workspaces, rush, lerna), respect ignorePatterns when globbing for package.json files. The intended use for this is a repo like beachball that's actually a single package, but it has test fixtures checked in which also contain package.json files, and those fake packages should be ignored.

This is NOT respected in the more common case of a monorepo with a recognized manager. To ignore those "real" packages, use the scope option or set "private": true in package.json instead.

I reused the same option for this instead of introducing a separate one like packageIgnorePatterns because typically, you'd want to ignore changes in these same folders (e.g. fixtures) when determining changed packages. And adding another explicit package ignore option would be redundant with scope.

Also update workspace-tools to 0.40.4.

@ecraig12345 ecraig12345 merged commit 6b44464 into main Jan 23, 2026
8 checks passed
@ecraig12345 ecraig12345 deleted the ecraig/workspace branch January 23, 2026 11: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.

2 participants