Skip to content

Is it possible to run post upgrade script depending on the type of package manager? #8857

Answered by rarkins
songkeys asked this question in Request Help
Discussion options

You must be logged in to vote

We don't currently distinguish between npm and yarn - they are considered the same manager. So both are language=javascript and manager=npm. You may be able to distinguish between them using "matchFiles": ["package-lock.json"] and "matchFiles": ["yarn.lock"] because matchFiles can be either package file or the lock file.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@songkeys
Comment options

@jdbruijn
Comment options

@songkeys
Comment options

Comment options

You must be logged in to vote
2 replies
@songkeys
Comment options

@rarkins
Comment options

Answer selected by songkeys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants