Skip to content
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

Automate publishing to JSR and NPM #676

Open
MasterKale opened this issue Jan 26, 2025 · 3 comments
Open

Automate publishing to JSR and NPM #676

MasterKale opened this issue Jan 26, 2025 · 3 comments

Comments

@MasterKale
Copy link
Owner

Describe the issue

To date publishing packages has been a manual process - I increment a version number, write the changelog, then manually run the requisite publishing scripts locally.

Now that I'm publishing to JSR as well as NPM, though, it feels like I should try to automate this part of it completely. The fact that JSR has first-class support for publishing via CI turns this effort into mostly "figure out how to do this for NPM."

I think ideally I'd be able to do the following:

  1. Write the update
  2. Increment "version" in deno.json
  3. Write a corresponding entry in CHANGELOG.md
  4. Tag HEAD with the new version
  5. Push up HEAD + tag
  6. Create a new Release on GitHub
  7. CI publishes to JSR and NPM 🤖
@MasterKale
Copy link
Owner Author

@alexz707
Copy link

@MasterKale thanks for you work! could you update the version on npm? there it still say 13.1.0 ;-)

@MasterKale
Copy link
Owner Author

MasterKale commented Feb 18, 2025

@alexz707 Please create an issue next time. Anyway I don't know what you mean, NPM has the latest of both the browser and server libraries:

Image

There's no "[email protected]" because there were no changes to the browser library in https://github.com/MasterKale/SimpleWebAuthn/releases/tag/v13.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants