How to easily update your NPM dependencies #shorts

preview_player
Показать описание

My VSCode Extensions:
- theme: material community high contrast
- fonts: Menlo, Monaco, 'Courier New', monospace
- errors: Error Lens
- extra git help: Git Lens
- tailwind css intellisense
- indent rainbow
- material icon theme
- prettier & eslint
- ES7+ React Snippets
Рекомендации по теме
Комментарии
Автор

Major releases: *
Minor releases: ^
Patch releases: ~

JegErNrsk
Автор

I use a tool called taze. It can update both minor and major versions pretty easily.
Usually I just run "taze major -w" then "npm i" and it is all done, all packages get updated to the latest versions.
If you just want security patches you can directly use "npm audit" and "npm audit --force" though.

twothreeoneoneseventwoonefour
Автор

Npm outdated is new for me !! Super useful

yogitech
Автор

This man saved me, I was trying yesterday and it just wasn't working. But imma try this thanks man

Owl
Автор

Thanks I didn't know it was this easy 👍

mohanadoo
Автор

Npm update screwed me over several times. Imo better to update each manually and read changelogs before updating.

PostMeridianLyf
Автор

One issue I run into is - how do I know if I have any unused dependencies? This becomes especially difficult when you have to install multiple dependencies just to get one of them to work.

brentryczak
Автор

I use renovate bot to update dependencies

trailblazer
Автор

Yours “Buy Super Thanks” and the “description” is blocking the view of the console..!! 😢😭😭 #PleaseFix

annabominakiran