Skip to content

--target @next for specific packages #1411

Answered by raineorshine
zaaakher asked this question in Q&A
Discussion options

You must be logged in to vote

Hi. Yes, this is currently supported in the .ncurc.js config. You can define a target function like this:

module.exports = {
  target: name => name === '@sikka/hawa' ? '@next' : 'latest'
}

https://github.com/raineorshine/npm-check-updates#target

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zaaakher
Comment options

Answer selected by zaaakher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants