phero-hq / phero

Full-stack type-safety with pure TypeScript

Home Page:https://phero.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yarn/pnpm/workspace-support: Use `npm exec`

Jpunt opened this issue · comments

The Phero CLI currently references things like node_modules/.bin/phero-client in order to run commands, while in some situations (like with workspaces), the actual executables are on a different location. TIL this is where npm-exec is for, and it seems to work with npm, pnpm, yarn, with or without workspaces. This would probably fix #87 as well.

Fixed in #94