We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
narn <binary>
pnpm run <binary>
pnpm can run both scripts and binaries like yarn 'pnpm eslint' == 'yarn eslint' && 'pnpm test' == 'yarn test'.
pnpm
'pnpm eslint' == 'yarn eslint' && 'pnpm test' == 'yarn test'
When running narn eslint in a pnpm folder, it runs pnpm run.
narn eslint
pnpm run
The most correct form is pnpm exec <binary>, but pnpm lets you do it if there's no script name binary, same as yarn.
pnpm exec <binary>
Example:
» pnpm eslint . --fix # Works fine » narn eslint . --fix pnpm run eslint . --fix # Incorrectly calls run ERR_PNPM_NO_SCRIPT Missing script: eslint
The text was updated successfully, but these errors were encountered:
@joeldenning would you accept a PR for this?
Sorry, something went wrong.
No branches or pull requests
pnpm
can run both scripts and binaries like yarn'pnpm eslint' == 'yarn eslint' && 'pnpm test' == 'yarn test'
.When running
narn eslint
in a pnpm folder, it runspnpm run
.The most correct form is
pnpm exec <binary>
, but pnpm lets you do it if there's no script name binary, same as yarn.Example:
The text was updated successfully, but these errors were encountered: