Posts tagged as npm
Upgrade all dependency versions in package.json with yarn
📆2020-06-23🍱tools
Updating dependencies in an npm project is pretty straight forward and easy to do with the command yarn upgrade . It updates all packages to their latest backwards-compatible version. Something that those coming from using npm update…
Automate versioning and publication of npm packages
📆2020-06-06🍱tools
A while ago I wrote a post about always writing perfect commit messages by using commit linting tools and conventional templates. This makes the commit messages look great and formatted the same way regardless of who is committing but…
Difference between dependencies, devDependencies and peerDependencies in npm
📆2019-09-30🍱tools
When creating a new npm project, all those with a package.json in the root directory, we usually don't create everything from scratch but need some dependencies. There are different type of dependencies that can be somewhat difficult to…
Update nvm installed node version and keep globally installed packages
📆2019-07-01🍱tools
Node Version Manager is great for managing and working with different node versions but can be a little tricky to update to a newer version the first times. Especially if you want to keep all the globally installed packages. It’s actually…