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
Now pnpm workspace support workspace exclude rules.
pnpm-workspace.yaml case:
pnpm-workspace.yaml
packages: # all packages in subdirs of packages/ and components/ - 'packages/**' # exclude packages that are inside test directories - '!**/test/**'
so. if cwd absolute path matches the exclude rules, glob will exclude all workspaces.
case (expected results in parentheses) :
- test - packages - pkg-1 # (need) - pkg-2 # (need) - test # (not need) - pnpm-workspace.yaml
the parent cwd path has test string matches the exclude rule, getPackages result is [] (empty) .
test
getPackages
[]
The text was updated successfully, but these errors were encountered:
fix(pnpm): absolute cwd path matched workspace exclude rules (#121) (#…
7bd4f34
…122) * fix(pnpm): absolute path matched exclude rules * chore(changeset): add changesets for fix * chore: remove console.log * Update .changeset/fair-days-rest.md Co-authored-by: Mateusz Burzyński <[email protected]> Co-authored-by: Mateusz Burzyński <[email protected]>
Successfully merging a pull request may close this issue.
Now pnpm workspace support workspace exclude rules.
pnpm-workspace.yaml
case:so. if cwd absolute path matches the exclude rules, glob will exclude all workspaces.
case (expected results in parentheses) :
the parent cwd path has
test
string matches the exclude rule,getPackages
result is[]
(empty) .The text was updated successfully, but these errors were encountered: