Understanding Package-lock.Json | Javascript Tutorial

Sdílet
Vložit
  • čas přidán 22. 08. 2024

Komentáře • 36

  • @TheCodeCreative
    @TheCodeCreative  Před 2 lety

    To subscribe to the channel: czcams.com/channels/mOpHGj4JRWCdXhllVTZCVw.html

  • @TayoEXE
    @TayoEXE Před rokem +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 Před 7 měsíci +2

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

  • @arunsr2801
    @arunsr2801 Před 6 měsíci +1

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

  • @icychains24
    @icychains24 Před 6 měsíci +1

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

  • @samerali270
    @samerali270 Před rokem +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!

  • @aristosxanthus514
    @aristosxanthus514 Před 2 lety +1

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

  • @melvinwilson4541
    @melvinwilson4541 Před 7 měsíci +1

    Very helpful video, thank you!

  • @yourwelcomematt
    @yourwelcomematt Před rokem +1

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

  • @subhashgn1775
    @subhashgn1775 Před 2 lety +2

    Very detailed and clear explanation.
    Thank you.🤝

  • @TheCodeCreative
    @TheCodeCreative  Před 2 lety

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

  • @TheCodeCreative
    @TheCodeCreative  Před 2 lety

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

  • @ertugrulgurler9901
    @ertugrulgurler9901 Před rokem +1

    Thank you

  • @vishwanatht3537
    @vishwanatht3537 Před 2 lety +1

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

  • @LibraryOfTheOligarchs
    @LibraryOfTheOligarchs Před 8 měsíci

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

  • @stephenhu118
    @stephenhu118 Před 3 měsíci

    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 Před 2 lety +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  Před 2 lety +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 Před 2 lety +1

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

    • @TheCodeCreative
      @TheCodeCreative  Před 2 lety +1

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

    • @AnsgarSteinkamp
      @AnsgarSteinkamp Před 2 lety +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  Před 2 lety

      @@AnsgarSteinkamp nope, I believe you are correct

  • @ubongeffanga571
    @ubongeffanga571 Před rokem +1

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

    • @TheCodeCreative
      @TheCodeCreative  Před rokem +1

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