Understanding Package-lock.Json | Javascript Tutorial

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • НаукаНаука

Комментарии • 38

  • @TheCodeCreative
    @TheCodeCreative  2 года назад

    To subscribe to the channel: ruclips.net/channel/UCmOpHGj4JRWCdXhllVTZCVw

  • @ManishKumarGupta-h2y
    @ManishKumarGupta-h2y 16 дней назад +1

    Finally found a video which actually teaches the different between them.

  • @TayoEXE
    @TayoEXE Год назад +4

    I like that you experimented and tested various scenarios to show us how it's working. My understanding of this topic just leveled up a bit. Thanks!

  • @shoummorauth
    @shoummorauth 8 месяцев назад +2

    Best video to learn about this topic. You are a genius man!

  • @arunsr2801
    @arunsr2801 7 месяцев назад +1

    best video on this topic.4:17 i was thinking the same and you brought that up

  • @icychains24
    @icychains24 7 месяцев назад +1

    So grateful for this. Thanks for showing various permutations and how they work!

  • @samerali270
    @samerali270 Год назад +2

    I'm very glad that I came across this amazing channel! Your informal explanation makes it very easy for anybody to understand and learn new confusing concepts!

  • @yourwelcomematt
    @yourwelcomematt Год назад +1

    Such a good explanation, thank you for clearing this all up for me!

  • @aristosxanthus514
    @aristosxanthus514 2 года назад +1

    Good explanation. I like your examples because they demonstrated semantic versioning and why it's important to have package-lock.json

  • @melvinwilson4541
    @melvinwilson4541 8 месяцев назад +1

    Very helpful video, thank you!

  • @subhashgn1775
    @subhashgn1775 2 года назад +2

    Very detailed and clear explanation.
    Thank you.🤝

  • @LibraryOfTheOligarchs
    @LibraryOfTheOligarchs 9 месяцев назад

    @TheCodeCreative can you do some peer-dependencies explanations, and ways to modify/change peer-dependencies. (e.g. "what exactly is a 'peer' ? ")

  • @TheCodeCreative
    @TheCodeCreative  2 года назад

    Join "The Code Creative Community" group on Facebook: facebook.com/groups/thecodecreative

  • @TheCodeCreative
    @TheCodeCreative  2 года назад

    Download my FREE "Google Search Secrets for Developers" Cheat Sheet:
    store.thecodecreative.com/google-secrets-cheat-sheet

  • @ertugrulgurler9901
    @ertugrulgurler9901 Год назад +1

    Thank you

  • @vishwanatht3537
    @vishwanatht3537 2 года назад +1

    tanq sir explaining advance Javascript topics do more videos on Javascript topics

  • @stephenhu118
    @stephenhu118 4 месяца назад

    Why doesn't npm only allow fixed version from the beginning? It allows semver for flexibility and later on realised that package-lock.json is needed to pin the versions down. What a mess...
    Anyway, your video is still educational, do you have any suggestion for best practice?

  • @JoeBoo532
    @JoeBoo532 2 года назад +1

    Thanks for a great explanation on package-lock.json! :D Just a small question, is it ok to delete package-lock.json?? 🧐

    • @TheCodeCreative
      @TheCodeCreative  2 года назад +1

      Thanks Joe! You wouldn't want to delete package-lock.json since you could wind up with different versions of your dependencies after running npm install.

    • @JoeBoo532
      @JoeBoo532 2 года назад +1

      @@TheCodeCreative what would happens if you accidentally delete it? what would be best solution to resolve that etc?

    • @TheCodeCreative
      @TheCodeCreative  2 года назад +1

      @@JoeBoo532 That would be a good reason to commit it to source control!

    • @AnsgarSteinkamp
      @AnsgarSteinkamp 2 года назад +1

      In case you want to update EVERYTHING to the latest (minor/patch) version, there is no problem with deleting package-lock.json. Or am I wrong?

    • @TheCodeCreative
      @TheCodeCreative  2 года назад

      @@AnsgarSteinkamp nope, I believe you are correct

  • @ubongeffanga571
    @ubongeffanga571 Год назад +1

    Nice video 👍
    Where's the link to the Google cheatsheet?

    • @TheCodeCreative
      @TheCodeCreative  Год назад +1

      Thanks! Here's the link: store.thecodecreative.com/google-secrets-cheat-sheet