packages.lock.json files are excluded
See original GitHub issuepackages.lock.json
files are used to enable repeatable package restores and should not be excluded; how can I override this behavior?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Do I commit the package-lock.json file created by npm 5?
Yes, package-lock.json is intended to be checked into source control. If you're using npm 5+, you may see this notice on the command...
Read more >Resolved - packages-lock.json
Hi, I noticed that a file called Packages/packages-lock.json is started to appear in the latest version of Unity 2020.1.0b12. Should I
Read more >package-lock.json
One key detail about package-lock.json is that it cannot be published, and it will be ignored if found in any place other than...
Read more >package-lock.json - in GIT or not?
So, a lock file keeps the version of all our dependencies, ... Your package.json only points to the versions of your direct dependencies....
Read more >Package.json vs Package-lock.json
json is a file that is automatically generated by npm when a package is installed. It records the exact version of every installed...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@grinrag please consult with @KathleenDollard to understand the related use case. Why are excluding *.lock.json to begin with?
@gitfool , thanks for the issue. Please give us a bit of time to discuss this & then get back to you.
Hi @gitfool sorry for slow turn around on this one, we are slowly cleaning up backlog… Here is example on how to add all Excludes except .lock.json so your file is not deleted: https://github.com/dotnet/templating/blob/main/test/Microsoft.TemplateEngine.TestTemplates/test_templates/SourceWithExcludeAndWithout/With/.template.config/template.json