fix(sdk): add repository metadata for npm provenance#34
Merged
Conversation
@deepgram/agents@0.1.0 publish failed with E422 because npm provenance requires `repository.url` to match the source repo from the build attestation. add `repository`, `homepage`, and `bugs` to the SDK package.json. also drop `release-as: "0.1.0"` from the SDK config now that 0.1.0 has been tagged. release-please will resume normal pre-major bump rules from here, so this fix lands as 0.1.1.
lukeocodes
pushed a commit
that referenced
this pull request
Apr 30, 2026
🤖 I have created a release *beep* *boop* --- ## [0.1.1](agents-v0.1.0...agents-v0.1.1) (2026-04-30) ### Bug Fixes * **sdk:** add repository metadata for npm provenance ([#34](#34)) ([dc836fc](dc836fc)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
Summary
@deepgram/agents@0.1.0publish failed at the npm provenance step:npm provenance requires
repository.urlinpackage.jsonto match the source repo from the GitHub Actions build attestation. the SDK package.json had norepositoryfield.Changes
packages/sdk/package.json: addrepository(withdirectory: packages/sdkfor monorepo awareness),homepage, andbugs.release-please-config.json: droprelease-as: "0.1.0"from the SDK package. now that 0.1.0 is tagged, release-please should resume normal pre-major bump rules. this fix will land as 0.1.1.State on main
agents-v0.1.0GitHub release exists but@deepgram/agents@0.1.0is not on npm (provenance check rejected the upload).0.1.1. merging that runspublish-sdkagain with the repository field present, which should pass provenance.Test plan
bun run typecheckcleanbun run buildcleanbun run test78/78 passing@deepgram/agents@0.1.1to npmFollow-up
agents-v0.1.0GitHub release/tag can be left as-is (no consumer ever saw it on npm) or deleted for cosmetic cleanup.release-as: "0.1.0"for widget stays in config until widget's first tag.