Here's a super quick rust script (if speed is an issue) that supports hoisted node_modules for workspaces defined using the "workspaces" package.json attribute: https://github.com/jsimonrichard/node-module-version-checker-rs
"workspaces"