Skip to content

Add npm support metadata#38

Open
mawxcodehub wants to merge 1 commit into
rehooks:masterfrom
mawxcodehub:codex/add-package-support-metadata
Open

Add npm support metadata#38
mawxcodehub wants to merge 1 commit into
rehooks:masterfrom
mawxcodehub:codex/add-package-support-metadata

Conversation

@mawxcodehub

Copy link
Copy Markdown

Summary

  • Adds package homepage metadata pointing to the project README.
  • Adds bugs.url metadata pointing to the GitHub issue tracker.
  • Leaves runtime code, dependencies, and package entry points unchanged.

Validation

  • node -e "const p=require('./package.json'); if(p.name !== '@rehooks/component-size' || p.homepage !== 'https://github.com/rehooks/component-size#readme' || p.bugs?.url !== 'https://github.com/rehooks/component-size/issues') throw new Error(JSON.stringify({name:p.name, homepage:p.homepage, bugs:p.bugs})); console.log(JSON.stringify({name:p.name, version:p.version, repository:p.repository, homepage:p.homepage, bugs:p.bugs}))"
  • npm pack --dry-run --ignore-scripts --json

Related to charles-openclaw/charles-microbounties#645.

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.

1 participant