mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Merge pull request #34 from AikidoSec/pnpm-install-coverage
Add coverage for pnpm install command, fixes #32
This commit is contained in:
commit
0f90ac2a2d
2 changed files with 2 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ function writeHelp() {
|
||||||
ui.writeInformation(
|
ui.writeInformation(
|
||||||
`- ${chalk.cyan(
|
`- ${chalk.cyan(
|
||||||
"safe-chain setup"
|
"safe-chain setup"
|
||||||
)}: This will setup your shell to wrap safe-chain around npm, npx and yarn.`
|
)}: This will setup your shell to wrap safe-chain around npm, npx, yarn, pnpm and pnpx.`
|
||||||
);
|
);
|
||||||
ui.writeInformation(
|
ui.writeInformation(
|
||||||
`- ${chalk.cyan(
|
`- ${chalk.cyan(
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ export function createPnpmPackageManager() {
|
||||||
matchesCommand(args, "update") ||
|
matchesCommand(args, "update") ||
|
||||||
matchesCommand(args, "upgrade") ||
|
matchesCommand(args, "upgrade") ||
|
||||||
matchesCommand(args, "up") ||
|
matchesCommand(args, "up") ||
|
||||||
|
matchesCommand(args, "install") ||
|
||||||
// dlx does not always come in the first position
|
// dlx does not always come in the first position
|
||||||
// eg: pnpm --package=yo --package=generator-webapp dlx yo webapp
|
// eg: pnpm --package=yo --package=generator-webapp dlx yo webapp
|
||||||
// documentation: https://pnpm.io/cli/dlx#--package-name
|
// documentation: https://pnpm.io/cli/dlx#--package-name
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue