-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
area: ergonomicsIssues and features impacting the developer experience of using turboIssues and features impacting the developer experience of using turbo
Description
What version of Turborepo are you using?
1.2.0-canary.5
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Linux
Describe the Bug
When having an exclude pattern in pnpm-workspace.yaml (e.g. !packages/**/ignored-package), PNPM correctly ignores matched packages when installing dependencies, but turbo still tries to run tasks there.
Expected Behavior
turbo correctly ignores packages matched by ignore pattern in pnpm workspace.
To Reproduce
npx create-turbo@latest
cd my-turborepo
mkdir packages/ignored
echo " - '"'!'"packages/ignored'" >> pnpm-workspace.yaml
echo '{"name": "ignored", "scripts": {"build": "echo '"'Hello From ignored'"'"}}' >> packages/ignored/package.json
pnpm turbo run build
ignored package will be in scope and 'Hello From ignored' will be displayed from ignored:build task.
Metadata
Metadata
Assignees
Labels
area: ergonomicsIssues and features impacting the developer experience of using turboIssues and features impacting the developer experience of using turbo