What is NPM's package-lock.json?

Поділитися
Вставка
  • Опубліковано 28 лис 2024

КОМЕНТАРІ • 31

  • @JamesQQuick
    @JamesQQuick 2 місяці тому +1

    Great explanation. Love the overall video as well. Fun stuff!

  • @FengolZA
    @FengolZA 5 місяців тому +1

    For years I've had the lock file my project and finally bit to bullet to try and understand what it is. This video couldn't make it any clearer. Thank you so much!

  • @krishnakandula6587
    @krishnakandula6587 Рік тому +1

    The presentation and the conceptual clarity of the video is unbelievable. Thank you.

  • @reidmoffat7055
    @reidmoffat7055 Рік тому +1

    This way you presented this video is incredible; incredibly informative & clear and straight to the point - in 3 mins you answered all my questions better than all the stack overflow questions I've read over the last few years. Incredible channel 🙏

  • @iurysza
    @iurysza Рік тому +2

    You're very good at this! Quality content, great editing, great humor.

  • @VidyaHarnal-r9y
    @VidyaHarnal-r9y Рік тому +2

    Great video, you explained it so accurately. Cleared a lot of blur about the package-lock json file. You should make more videos.

  • @snake1625b
    @snake1625b 2 місяці тому

    Great explanation! It seems like the lock also includes the versions of the sub dependencies as well

  • @poppin_party
    @poppin_party Рік тому +1

    thanks bud, I finally understand wth package-lock is

  • @akashkeshari5699
    @akashkeshari5699 Місяць тому

    Hi @Tom, I am using yarn in my project and got yarn.lock file. Still the project does not build up when I tried building with "yarn build" command which was actually building earlier.

  • @sundarraj9384
    @sundarraj9384 Рік тому

    Simple, Clear and Good

  • @aben5960
    @aben5960 Рік тому

    I really appreciate your efforts to produce such an amazing video :)

  • @Ahmed-fq3kz
    @Ahmed-fq3kz Рік тому

    great informative video with some comedic scenes. I think you will fit perfectly as voice over

  • @aakashpatel9281
    @aakashpatel9281 6 місяців тому +1

    really appreciate the video . Keep it up 👍

  • @rajatguleria4933
    @rajatguleria4933 Рік тому +1

    Awesome bro, I watched some videos on the same and thought of the same question why would ^ be in the package.json and lock.jason file exist together but no one mentioned the same except you.

  • @harshasinha5499
    @harshasinha5499 9 місяців тому

    beautiful answers explained nicely

  • @randalljosue
    @randalljosue Рік тому

    But what about the fact package-lock.json also has ~ and ^?
    It would just then NOT install the exact version of packages...

  • @RavenFelman
    @RavenFelman Рік тому +1

    thank you so much!

  • @lightoo4343
    @lightoo4343 Рік тому

    Should we ever delete lock file? How will it affect dependencies ?
    Amazing content !😊

    • @TomGregoryTech
      @TomGregoryTech  Рік тому +1

      There's no reason to delete it. You might get different dependency versions to someone else using the same repo.

    • @lightoo4343
      @lightoo4343 Рік тому

      @@TomGregoryTech thank you so much 😊

  • @b25671
    @b25671 Рік тому

    Why didn't npm just change the functionality of "npm install"... which installs and automatically updates
    ... to just "install"... without the automatic update
    And if you want to update the packages... you use the "npm update" command
    ... like you do now?
    I don't get it.

  • @prabhsharansingh6150
    @prabhsharansingh6150 3 місяці тому

    Too good!

  • @GregorGramlich
    @GregorGramlich Рік тому +1

    I know lock files from the various package managers of Ruby, Python and NodeJS.
    A similar functionality exists for Gradle (Locking dependency versions in the user guide). Why seems to be so little talk about that? Why don't you - as the Gradle guy - talk about it or mention the parallels in this video?
    Are the other Gradle mechnisms prefered over locking dependencies? I honestly don't understand why this feature seems to be so unpopular for Gradle.

  • @RichardRebeco
    @RichardRebeco Рік тому

    gracias amigo

  • @user-ed1jc6xl9r
    @user-ed1jc6xl9r 8 місяців тому +1

    omg thx u

  • @valikonen
    @valikonen 3 місяці тому

    Jesus Bob you have a talent to speak outside of topic....I hope your mom will cut your access to internet ;)

  • @Draconicrose
    @Draconicrose 4 місяці тому

    Oh. OH! Oh wow. Okay. THEN WHY DON'T THEY JUST SAY SO- /sigh. Thank you for the video.

  • @pstha4537
    @pstha4537 Рік тому +4

    too many useless content. Get to the point. make it concise.

  • @Markus-iq4sm
    @Markus-iq4sm Рік тому

    Weak explanation

  • @ShoaibBinAllahBakhsh
    @ShoaibBinAllahBakhsh 2 місяці тому

    console.log("Excellent explanation");