Repository navigation
--filter <name> cannot select the root project (single-package project, or workspace root)
#1753
Single-package project (one pnpm --filter app run hello # $ echo hello from app
aube --filter app run hello
pnpm workspace root (root pnpm --filter root run hello # $ echo hello from root
aube --filter root run helloThat message also prints the internal The workspaces docs list exact package names as a selector form and don't mention needing a workspace. Both errors come from Expected: like pnpm, treat the root project as selectable by name, both when it is the only project and when it is a workspace root. I found this through aubeshim, which routes To reproduce: git clone https://github.com/mwolson/tmp-aube-issues
cd tmp-aube-issues/filter-root-project
./repro.sh |
Replies: 2 comments
|
Thanks for the clear repro. Fixed in #1754: an explicit AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: unavailable. |
|
Retested with
PNPM_BIN=/path/to/real/pnpm ./repro.shIt now exits 0 with native pnpm 12.14.0 as the control. Fix shipped in aube 2.7.2 via #1754. Marking your reply as the answer. |
Thanks for the clear repro. Fixed in #1754: an explicit
--filter <name>(or--filter ./) now selects the root project, both in a single-package project and in a workspace root, acrossrun,exec,list,why,queryand friends.-rand--filter '*'still exclude the root, as in pnpm. The no-match error also no longer prints theEffectiveFilterdebug struct.AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: unavailable.