Browse Source

Merge pull request #11351 from abpframework/feat/update-update-script

Chore: Updated the npm-check-updates command logic
pull/11352/head
Bunyamin Coskuner 4 years ago
committed by GitHub
parent
commit
52231f7c7a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      npm/package-update-script.js

2
npm/package-update-script.js

@ -15,7 +15,7 @@ const check = (pkgJsonPath) => {
return childProcess
.execSync(
`ncu "/^@(${packages}).*$/" --packageFile ${pkgJsonPath} -u${
program.prerelease ? ' --target newest' : ''
program.prerelease ? ' --target greatest' : ' --target patch'
}${program.registry ? ` --registry ${program.registry}` : ''}`
)
.toString();

Loading…
Cancel
Save