-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
Add a release engine for npm #489
Comments
What makes this hard is that npm's abbreviated package manifest requires The simplest route here would be to require additional fields like This approach aligns with what we do for PyPI artifact metadata as well, e.g. Publishing via the CLI (see also: keygen-sh/keygen-cli#13): keygen upload package.json --release 1.0.0 --metadata "$(cat package.json | jq 'del(.name, .version)')" Every registry has their own quirks. 🤪 |
/bounty $500 |
💎 $500 bounty • KeygenSteps to solve:
Thank you for contributing to keygen-sh/keygen-api! Add a bounty • Share on socials
|
An interested issue to tackle. I will go ahead with it
|
@varshith257 I would like to collaborate with you. If you're interested, please let me know how I can assist. |
I started working on it and all set to go of initial work. I will connect you on discord if any |
Will draft PR soon with taking help of references attached |
I actually think I want to go a different route here, since Rubygems looks like it similarly needs dependency 'metadata' too, and we can't just throw that into release The idea is that we set up a processing job pipeline for release 'metadata' artifacts, such as an npm This approach also avoids weird quirks which come from shoehorning resource |
This is part of our overarching goal of supporting more package managers in Keygen: #493.
Implement similar to #478. I think I’d prefer a
node
ornpm
subdomain. See #679 for implementation of PyPI, and #753 forTauri. The Tauri one will likely be the most helpful for reference, since the PyPI included a lot of noisy ground work.
Helpful resources:
This engine is meant to replace the workflow in that blog post — it should be a turn-key way to distribute modules.
In the end, I want a customer to be able to upload a module (e.g. via
npm pack
) to the distribution API we already have, and allow their end-users tonpm install
that module like they would from https://npmjs.com.Implementation should include integration tests. lmk of any questions.
The text was updated successfully, but these errors were encountered: