Skip to content

Commit e2f0fee

Browse files
feat: load checkPeerDependencies config from package.json (and merge with CLI options)
1 parent b709caf commit e2f0fee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cli.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import { checkPeerDependencies } from './checkPeerDependencies';
55
import { getPackageManager } from './packageManager';
66

77
const options = yarrrrgs
8+
.pkgConf('checkPeerDependencies')
9+
.usage('Options may also be stored in package.json under the "checkPeerDependencies" key')
810
.option('help', {
911
alias: 'h',
1012
boolean: true,

0 commit comments

Comments
 (0)