fix: add ./peer/supabase-js to jsr.json exports#94
Merged
Conversation
commit: |
…error suppression
kallebysantos
approved these changes
Jul 3, 2026
staaldraad
approved these changes
Jul 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two fixes to unblock JSR publishing and improve the JSR score.
jsr.json—./peer/supabase-jswas present inpackage.jsonexports but missing fromjsr.json, so the entrypoint was invisible to the JSR registry. Added it to keep both export maps in sync.release.yml— JSR has been silently failing to publish since v1.0.0. PR #62 split the release workflow into two jobs to isolate npm's OIDC token from thepnpm installstep (supply chain hardening after the TanStack/router incident). As part of that split,id-token: writewas removed from thebuildjob on the assumption that JSR uses a separate OIDC binding that does not require it. That assumption was wrong: JSR authenticates CI publishes viaAuthorization: githuboidc <token>, and the JSR CLI obtains that token from GitHub's OIDC endpoint — which GitHub only exposes when the job hasid-token: write. The audience is JSR-scoped (not npm), so restoringid-token: writeto thebuildjob does not re-open the npm supply chain path. Thepublish-npmjob remains isolated with nopnpm install. Also removescontinue-on-error: truefrom the JSR publish step so future failures are visible.