Merge pull request #10400 from abpframework/mehmet-erim-patch-1

Update npm-check-updatest command
pull/10401/head
albert 4 years ago committed by GitHub
commit b25b72abe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -31,7 +31,7 @@ const updatePackages = (pkgJsonPath) => {
const result = childProcess
.execSync(
`ncu "/^@abp.*$/" --packageFile ${pkgJsonPath} -u${
program.prerelase ? ' --target greatest' : ''
program.prerelase ? ' --target newest' : ''
}`
)
.toString();

Loading…
Cancel
Save