package-lock.json explained

package-lock.json explained

Bogdan Stashchuk

5 лет назад

30,582 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Hello Mihai
Hello Mihai - 11.03.2023 09:12

very clear and well thought out! thank you

Ответить
Bianca Procopio
Bianca Procopio - 01.01.2023 19:12

This was a great explanation, thank you!!

Ответить
Divyank Gupta
Divyank Gupta - 20.10.2022 12:36

so does npm install installs the latest version of dependencies?, overlooking the version mentioned in package.json file

Ответить
Lucio
Lucio - 13.08.2022 02:18

Great!!!

Ответить
Akash Shrestha
Akash Shrestha - 31.03.2022 13:38

great

Ответить
R S
R S - 03.02.2022 09:18

What if some dependecies in lock file gets corrupted?

Ответить
Michael Carnevale
Michael Carnevale - 11.08.2021 16:14

so it locks even the dependencies of the dependencies, okay that makes sense thanks for the useful video

Ответить
Okey!
Okey! - 24.06.2021 09:30

I didnt understand. So why cant we just remove the ^ symbol if we want to make the versions remain consistant

Ответить
Dantex
Dantex - 31.03.2021 07:00

Great, thanks a lot!

Ответить
Romeo
Romeo - 21.12.2020 21:16

Спасибо, дружище! Хороший инглиш как для разработчика) Правильно ли я понял, получается, если есть просто package.json - то при использовании комманды npm install устанавливаются все зависимости, указанные в данном файле и если версия одного из компонентов обновилась, то она же и установится. А если присутствует файл package-lock.json, то будет установленна именно конкретная версия компонента, даже если уже миллион обновлений вышло? Lock как бы блокирует обновление версии компонента, я правильно понял?

Ответить
Katarzyna Kolny
Katarzyna Kolny - 03.11.2020 18:53

Really clear explanation! Thank you :)

Ответить
Zakhar Kibanov
Zakhar Kibanov - 03.11.2020 13:56

Норм, понятно все, язык на 5ку!

Ответить
huan shao
huan shao - 16.08.2020 10:46

wow, super clear explanation, thanks!

Ответить
Tom Howard
Tom Howard - 02.08.2020 02:40

Thank You Bogdan.

Ответить
rajashekhar
rajashekhar - 17.05.2020 22:09

Excellent

Ответить
rajashekhar
rajashekhar - 17.05.2020 22:05

Can you please make a video on Nodejs + MySQL deploy on server

Ответить
rajashekhar
rajashekhar - 17.05.2020 22:05

Can you please make a video on ReactJS webpack config

Ответить
shando_eth
shando_eth - 23.03.2020 00:05

Excellent explanation!

Ответить
Soumya Ranjan Mishra
Soumya Ranjan Mishra - 19.11.2019 19:00

Great Explanation!! Thanks a lot.

Ответить