mskelton / yarn-plugin-outdated

Yarn plugin to show outdated dependencies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flip the default to all workspaces

mskelton opened this issue · comments

When I created this plugin, I was frustrated with monorepos showing huge amounts of outdated dependencies and as a result I set the default to the current workspace with a optional flag --all that would search all workspaces.

I'm questioning that decision and wondering if a better default would be all workspaces with a flag to focus to the current workspace. Some options for the flag could be.

  • --focus,-f - Not a huge fan since -f generally means force
  • --workspace,-w - No major drawbacks
  • --current,--current-workspace,-c - Fine, but more verbose.