feat: support pnpm as package manager (#1548)

This commit is contained in:
Niek van Staveren
2024-05-17 15:45:22 +02:00
committed by GitHub
parent 9866ff7303
commit 3651e5a081
2 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ Positionals:
Options:
--version Show version number [boolean]
--install Run package installation step [boolean] [default: true]
--pkgm Package manager [string] [choices: "npm", "yarn"]
--pkgm Package manager [string] [choices: "npm", "yarn", "pnpm"]
--picasso Picasso template [string] [choices: "none", "minimal", "barchart"]
--author Package author [string]
-h, --help Show help [boolean]
@@ -43,7 +43,7 @@ Positionals:
Options:
--version Show version number [boolean]
--install Run package installation step [boolean] [default: true]
--pkgm Package manager [string] [choices: "npm", "yarn"]
--pkgm Package manager [string] [choices: "npm", "yarn", "pnpm"]
--picasso Picasso template
[string] [choices: "none", "minimal", "barchart"]
--author Package author [string]

View File

@@ -31,7 +31,7 @@ module.exports = {
});
yargs.option('pkgm', {
type: 'string',
choices: ['npm', 'yarn'],
choices: ['npm', 'yarn', 'pnpm'],
description: 'Package manager',
});
yargs.option('picasso', {