Closed milahu closed 9 months ago
the cli isn't needed for the playground but would be nice to get rid of the warning either way
wanna create a PR with that wrapper? have to include it in https://docs.npmjs.com/cli/v10/configuring-npm/package-json#files because src
isn't published or use https://pnpm.io/package_json#publishconfig with "bin": "dist/cli.js"
publishconfig
should be the right tool for this unless you want to bind webcrack
as an executable in the dev environment.
Describe the bug
when running
pnpm install
in the repo root pnpm is trying to installpackages/webcrack
toapps/playground
butpackages/webcrack
is not-yet built at this pointpnpm version 8.15.2 webcrack version e6b584f300886b36b2bb3f5b7044f1aa8f97616c
workaround
possible solution
create a wrapper
packages/webcrack/src/cli-wrapper.js
forpackages/webcrack/dist/cli.js
Expected Behaviour
no warnings
Code
Logs
No response