Skip to content

chore: add package support metadata#67

Merged
chenjiahan merged 1 commit into
rstackjs:mainfrom
YfengJ:codex/package-support-metadata
Jun 18, 2026
Merged

chore: add package support metadata#67
chenjiahan merged 1 commit into
rstackjs:mainfrom
YfengJ:codex/package-support-metadata

Conversation

@YfengJ

@YfengJ YfengJ commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add package homepage metadata pointing to the repository README
  • add bugs.url metadata pointing to the GitHub issue tracker

Why

This makes the npm package page expose the project homepage and issue tracker directly.

Validation

  • node metadata assertion for homepage and bugs.url
  • npm view @rsbuild/plugin-pug@latest name version repository.url homepage bugs --json
  • pnpm install --frozen-lockfile --ignore-scripts
  • pnpm run lint
  • pnpm run build
  • pnpm run test
  • npm pack --dry-run --ignore-scripts --json .
  • git diff --check

@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 45186cc3-e3f0-4753-8369-1759a08e9812

📥 Commits

Reviewing files that changed from the base of the PR and between 7fb53b9 and 4f31274.

📒 Files selected for processing (1)
  • package.json

📝 Walkthrough

Walkthrough

Two metadata fields were added to package.json: a homepage field pointing to the repository's README anchor, and a bugs object with a url field pointing to the GitHub issues page for @rsbuild/plugin-pug. No other fields or files were modified.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change—adding package metadata fields (homepage and bugs.url) to package.json.
Description check ✅ Passed The description clearly explains the changes, their purpose, and includes comprehensive validation steps that align with the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@chenjiahan chenjiahan merged commit 91032d9 into rstackjs:main Jun 18, 2026
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants