Тёмный

How to Update NPM Dependencies 

Ben Awad
Подписаться 499 тыс.
Просмотров 23 тыс.
50% 1

Опубликовано:

 

27 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
@DimitriNicolas
@DimitriNicolas 5 лет назад
Great video, there is also the "updtr" cli tool that update each outdated dependency one by one and run an "npm test" to control each dependency update.
@abnormi101
@abnormi101 5 лет назад
Thxs Dimitri! This tool is indeed really helpful. Gave it a quick try and it works like charm 👍
@peterm.souzajr.2112
@peterm.souzajr.2112 5 лет назад
these pro-tip videos are really helpful
@yuriinadilnyi3029
@yuriinadilnyi3029 3 года назад
It helped me to avoid a lot of troubles i got before! thx u!
@cunningham.s_law
@cunningham.s_law 5 лет назад
I use npm-check -u for interactive updates
@adarshgupta9272
@adarshgupta9272 3 года назад
Amazing video bro it helped me a lot even after spending 30 mins on net I didn't got clarity like your video
@techstacker5361
@techstacker5361 5 лет назад
Very useful! Thanks, Ben 👍👍👍
@codebro1785
@codebro1785 5 лет назад
Really useful stuff. Typescript went from 3.2.2 -> 3.3.3333 does that mean they fixed 3331 bugs? :D Just kidding but I still wonder why they chose to increment by such a large number...
@joelmatthias
@joelmatthias Год назад
This is a little confusing. Semantic versioning states that a change in the major version indicates a breaking change. But then you state that the minor change of type-graphql indicates a breaking change. Is that because the major version number is less than 1. It seems bad that the rules are different for a package with a major version of 0!
@StiekemeHenk
@StiekemeHenk Год назад
Some people don't follow Semantic Versioning, some try to but fail doing it properly. It sucks but it is what it is. This is why you should always check the notes for breaking changes. There's no real standard but Semantic Versioning seems to be the most accepted and used. Some devs might reserve big v.#.0.0 for big changes or redesigns because it sounds fancy or marketing reasons. "React 2.0 is out!" gets some attention as if it's an all new "React 2".
@devilmanscott
@devilmanscott 5 лет назад
Why not use yarn upgrade-interactive --latest which also shows you if the an update will be breaking or not.
@bawad
@bawad 5 лет назад
I like that one too, but it behaves a little weird when using it inside a yarn workspace. But for regular projects it has worked great for me
@devilmanscott
@devilmanscott 5 лет назад
@@bawad It's actually worked quite well for me in work spaces, but work spaces are still relatively new and might need more development time.
@ProgrammingWithOsku
@ProgrammingWithOsku 2 года назад
Ben Awad Habebi you are the best
@noob_player_in_the_field
@noob_player_in_the_field 4 года назад
npm WARN deprecated core-js@2.6.11: core-js@
@thogufree
@thogufree 2 года назад
I am missing a bit of info on regular upates due to security vulnerabiliteis etc and how best to deal with updating in case of version conflicts in required dependencies, peer dependencies etc. Any thoughts on that?
@jackpitts5561
@jackpitts5561 6 месяцев назад
I wasn't allowed to download ncu onto my macbook bc it said "rejected by your operating system, likely you do not have permissions"
@dailymeow3283
@dailymeow3283 3 года назад
Hey Ben, i try to create a react project, i found 86 vulnerabilities 4 of them are high ReDoS, and npm audit fix, couldn't fix any... what do you do in such case
@omri9325
@omri9325 5 лет назад
yarn upgrade-interactive --latest
@wrod7
@wrod7 5 лет назад
i use version lens vs code extension to show me out of date dependencies
@bawad
@bawad 5 лет назад
that looks sweet, I'm going to give it a try thanks!
@gijovarghese7548
@gijovarghese7548 5 лет назад
volume is little low
@bawad
@bawad 5 лет назад
noted, thanks
Далее
How npm resolves dependency hell | Must know!
9:56
Просмотров 8 тыс.
package.json is not enough
15:40
Просмотров 53 тыс.
На самом деле, все не просто 😂
00:45
How to Roll Your Own Auth
13:05
Просмотров 117 тыс.
How to upgrade NPM packages
6:25
Просмотров 23 тыс.
Where to Host a Fullstack Project on a Budget
21:44
Просмотров 337 тыс.
When Should You Use Gatsby?
9:06
Просмотров 153 тыс.
6 Best NPM Packages
7:24
Просмотров 108 тыс.
How to Safely Update NPM Packages
5:16
Просмотров 30 тыс.
How to Vim in 2023: Tips and Tricks
15:53
Просмотров 429 тыс.
What Programming Font Should You Use?
4:12
Просмотров 45 тыс.
Automate Dependency Management With Renovate From Mend
16:30