Skip to content

Instantly share code, notes, and snippets.

@spacedawwwg
Last active November 14, 2020 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spacedawwwg/fabc672e186280ad6aa147e17f6fc3a3 to your computer and use it in GitHub Desktop.
Save spacedawwwg/fabc672e186280ad6aa147e17f6fc3a3 to your computer and use it in GitHub Desktop.
Use npm-check-updates to upgrade whole mono-repo (with interactive flag)
{
"scripts": {
"upgrade:interactive": "find . -type f -name 'package.json' -not -path './.git/*' -not -path '*/node_modules/*' -execdir ncu --interactive \\;"
},
"devDependencies": {
"npm-check-updates": "^10.0.0",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment