We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using dependency filtering, dependent workspace packages referenced through an alias are not found.
8.6.1
pnpm -r install
pnpm -r --filter "packagea..." run hello
The hello script is run in packages packagea, packageb, and packagec
packagea
packageb
packagec
The hello script is run only in packages packagea, packageb, but not packagec
package.json from packagea
package.json
{ "name": "@scoped/packagea", "version": "0.0.1", "scripts": { "hello": "echo 'Hello world'" }, "dependencies": { "@scoped/packageb": "workspace:*", "packagec": "workspace:@scoped/packagec@*" } }
node -v
v18.16.0
macOS in Dev Container (.devcontainer.json)
The text was updated successfully, but these errors were encountered:
fix: respect workspace alias syntax in pkg graph (#6928)
41c2b65
close #6922
Successfully merging a pull request may close this issue.
Problem description
When using dependency filtering, dependent workspace packages referenced through an alias are not found.
pnpm version:
8.6.1
Code to reproduce the issue:
pnpm -r install
pnpm -r --filter "packagea..." run hello
Expected behavior:
The hello script is run in packages
packagea
,packageb
, andpackagec
Actual behavior:
The hello script is run only in packages
packagea
,packageb
, but notpackagec
Additional information:
package.json
frompackagea
node -v
prints:v18.16.0
macOS in Dev Container (.devcontainer.json)
The text was updated successfully, but these errors were encountered: