question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

packages.lock.json files are excluded

See original GitHub issue

packages.lock.json files are used to enable repeatable package restores and should not be excluded; how can I override this behavior?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
donJoseLuiscommented, Jun 15, 2020

@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.

0reactions
DavidKarlascommented, May 10, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found