Hasty Treat - Whats the deal with npm, yarn and lock files?!

Published: July 30, 2018, 1 p.m.

b'

In this Hasty Treat, Scott and Wes discuss npm, yarn, lock files, why they\\u2019re useful, why you would or wouldn\\u2019t want to track them in Git and much more!

Netlify \\u2014 Sponsor

Netlify\\xa0is the best way to deploy and host a front-end website. All the features developers need right out of the box: Global CDN, Continuous Deployment, one click HTTPS and more. Hit up\\xa0netlify.com/syntax\\xa0for more info.

Show Notes

4:10

  • What is npm and yarn?

8:00

  • What\\u2019s the difference between npm and yarn?

12:00

  • What is semver?

16:40

  • What is the dependency tree?
  • This is the problem that lock files solve

20:32

  • Cool new features of npm and yarn
    • npx
    • security warnings

Tweet us your tasty treats!

'