Skip to content

fix: declare repository for npm provenance - #5

Merged
echoVic merged 1 commit into
mainfrom
codex/fix-npm-provenance-repository
Jul 2, 2026
Merged

fix: declare repository for npm provenance#5
echoVic merged 1 commit into
mainfrom
codex/fix-npm-provenance-repository

Conversation

@echoVic

@echoVic echoVic commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • New Features
    • Added repository metadata to the package information, including the project’s Git source and URL.
  • Tests
    • Added coverage to verify the package repository metadata is present and correctly formatted.

@echoVic
echoVic merged commit 7e2436b into main Jul 2, 2026
2 checks passed
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 99e4cd68-9855-49fa-8271-098b6f374e54

📥 Commits

Reviewing files that changed from the base of the PR and between 6638358 and 57f9f82.

📒 Files selected for processing (2)
  • package.json
  • scripts/__tests__/semantic-release-config.test.ts

📝 Walkthrough

Walkthrough

Adds a repository field (type and URL) to package.json and introduces a new test suite that verifies the repository field in package.json matches the expected Git type and GitHub URL.

Changes

Repository Metadata

Layer / File(s) Summary
Add repository field and test
package.json, scripts/__tests__/semantic-release-config.test.ts
Adds a repository object (type: "git", url) to package.json, and adds a test that loads package.json and asserts the repository field matches the expected values.

Estimated code review effort: 1 (Trivial) | ~3 minutes

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/fix-npm-provenance-repository

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant