[{"data":1,"prerenderedAt":76},["ShallowReactive",2],{"term-l\u002Flock-file":3,"related-l\u002Flock-file":60},{"id":4,"title":5,"acronym":6,"body":7,"category":40,"description":41,"difficulty":42,"extension":43,"letter":44,"meta":45,"navigation":46,"path":47,"related":48,"seo":54,"sitemap":55,"stem":58,"subcategory":6,"__hash__":59},"terms\u002Fterms\u002Fl\u002Flock-file.md","Lock File",null,{"type":8,"value":9,"toc":33},"minimark",[10,15,19,23,26,30],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"A lock file is a snapshot of the exact versions of every package your project is using right now. It means everyone on the team — and your production server — installs the exact same versions, not slightly-different-maybe-broken ones.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"A lock file (package-lock.json, yarn.lock, Pipfile.lock) records the exact resolved version of every dependency and transitive dependency. It ensures reproducible installs across machines and environments. Always commit your lock file.",[11,27,29],{"id":28},"when-youll-hear-this","When You'll Hear This",[16,31,32],{},"\"Commit the lock file — it ensures reproducible builds.\" \u002F \"The lock file was out of sync and that's why CI was failing.\"",{"title":34,"searchDepth":35,"depth":35,"links":36},"",2,[37,38,39],{"id":13,"depth":35,"text":14},{"id":21,"depth":35,"text":22},{"id":28,"depth":35,"text":29},"general","A lock file is a snapshot of the exact versions of every package your project is using right now.","beginner","md","l",{},true,"\u002Fterms\u002Fl\u002Flock-file",[49,50,51,52,53],"Dependency","Package","Semver","node_modules","Virtual Environment",{"title":5,"description":41},{"changefreq":56,"priority":57},"weekly",0.7,"terms\u002Fl\u002Flock-file","-waIj-_ukfmNVqpzXaW_tDbM9q59uqLhtdYejE-VTGQ",[61,64,67,70,73],{"title":49,"path":62,"acronym":6,"category":40,"difficulty":42,"description":63},"\u002Fterms\u002Fd\u002Fdependency","A dependency is a package your project relies on to work. Your app depends on React to render UI, axios to make requests, and dotenv to read config.",{"title":52,"path":65,"acronym":6,"category":40,"difficulty":42,"description":66},"\u002Fterms\u002Fn\u002Fnode-modules","node_modules is the folder where npm dumps all the packages you install. It can grow to hundreds of megabytes instantly and contains thousands of files.",{"title":50,"path":68,"acronym":6,"category":40,"difficulty":42,"description":69},"\u002Fterms\u002Fp\u002Fpackage","A package is a bundle of code someone else wrote and published so you don't have to reinvent the wheel. Need to parse dates? There's a package for that.",{"title":51,"path":71,"acronym":51,"category":40,"difficulty":42,"description":72},"\u002Fterms\u002Fs\u002Fsemver","Semver is the numbering system for software versions: MAJOR.MINOR.PATCH.",{"title":53,"path":74,"acronym":6,"category":40,"difficulty":42,"description":75},"\u002Fterms\u002Fv\u002Fvirtual-environment","A virtual environment is an isolated bubble for your Python project's packages.",1776518293025]