-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publishing phylum_lockfile to crates.io #1504
Comments
We have considered publishing it, but we weren't sure it would be worth the effort. If you know of projects that would like to use this crate, please let us know. I don't think it makes sense to publish And then there are a few other minor considerations:
But these don't prevent publishing since we can change the name or license at any time. |
Hi Kyle, tl;dr - good cross-language lock file parsing is the foundation of building project management tools. While I havent discussed it with the maintainer, https://github.com/simonbuchan/pnpm-extra could benefit from merging its pnpm lock file loader (which loads The other Rust pnpm lock file parsers that I know of are https://github.com/moonrepo/moon/blob/d69e3e4952f6e146e07374aa5464ae3bc7caa64f/legacy/node/lang/src/pnpm/mod.rs#L50-L57 , which omits Also d4rkr00t/rnpm#1 is "blocked" on needing lock parsers for pnpm and yarn. See also https://github.com/orgs/pnpm/discussions/3419 and https://github.com/pnpm/pn for other pnpm efforts that could benefit from having a good pnpm lock file parser. https://github.com/dimensionhq/volt might get more traction if it could support other node lock files as well as its own lock file format. And there are several tools which convert pnpm lock files to package-lock.json so that pnpm projects can utilise tools that only support the more common package-lock.json - I can see that being rewritten in Rust if there are good data models for these lockfile formats. All the above is focused mostly on benefits that could come of publishing a pnpm lock file parser as that is the problem I have been focused on, where there is not existing complete Rust parsers available. My interest is I am currently building a tool for regulatory compliance that needs to load project dependency data and must know (1) the locked version of each dependency and (2) inspect the source for that version of the dependency out of the local cache , targeting three project types atm: cargo, pnpm and pyproject.toml+"uv pip compile" And due to finding https://github.com/jslicense/licensee.js being the best there is, and yet it is severely limited compared to |
Would it be possible to publish
phylum_lockfile
to crates.io, as it is incredibly useful for other projects that want to do analysis of project dependencies.This would require also publishing https://github.com/phylum-dev/phylum-types , and also
lockfile_generator
, and the latter also looks very useful for other projects.The text was updated successfully, but these errors were encountered: