You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the most part scripty works just fine with pnpm, the only difference I've run into is the forwarding of command-line arguments does not work.
I suspect this is because with npm you have to explicitly use the -- to forward arguments, and with pnpm you do not.
I can submit a PR if you can point me in the right direction @jasonkarns - it wasn't obvious to me which part of the codebase I'd need to make a change in to support this 🤓
The text was updated successfully, but these errors were encountered:
I would almost argue that pnpmshould accept -- to separate pnpm args from its script args. That's a longstanding unix convention; even in cases where the -- is optional, it's still allowed. Not that scripty couldn't work around it, but seems a worthwhile feature request to pnpm anyway.
For the most part scripty works just fine with pnpm, the only difference I've run into is the forwarding of command-line arguments does not work.
I suspect this is because with
npm
you have to explicitly use the--
to forward arguments, and withpnpm
you do not.I can submit a PR if you can point me in the right direction @jasonkarns - it wasn't obvious to me which part of the codebase I'd need to make a change in to support this 🤓
The text was updated successfully, but these errors were encountered: