Yarn/pnpm/workspace-support: Use `npm exec`
Jpunt opened this issue · comments
Jasper Haggenburg commented
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.
Jasper Haggenburg commented
Fixed in #94