Proposal: Add option to emit paket.lock as JSON
See original GitHub issueWhat
Add an option to Paket that changes to format of paket.lock
to JSON
Why?
The exact use case for me is to parse the paket.lock
file to generate Bazel targets for each NuGet package.
If the lock file would be in JSON it makes it easier for other tools to parse the lock file since JSON is supported
by all programming/scripting languages.
Other use cases:
- Parse the lock file to send to dependency analysis tools
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- 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 >Getting Started with Paket – Part 1 - The Cockney Coder
lock file means that your dependencies cannot drift across projects, since there's only one version per dependency. Note: There's a paket ...
Read more >Stop using package-lock.json or yarn.lock | by Gajus Kuizinas
I maintain over 200 repositories on GitHub and one of the most common PRs that I receive is someone adding package-lock.json or yarn.lock....
Read more >package.json
Description. This document is all you need to know about what's required in your package.json file. It must be actual JSON, not just...
Read more >Tooling for Your .NET Projects
Figure 1: A paket.lock file showing indented transitive dependencies. These files make Paket use simple, thorough, and convenient. Why should ...
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
Big 👍 from me on this one, I know that having this would make efforts like @TheAngryByrd’s attempted integration with Dependabot easier, for example.
@forki we could potentially do it in a staged fashion as well, where the lock file could be the output of a command (paket show lock file --json) while keeping the existing file as the source of truth. This might help to prove out the formatting/syntax, before committing to it as the full lock file format.