Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add npm support metadata#38

Open
mawxcodehub wants to merge 1 commit into
rehooks:masterrehooks/component-size:masterfrom
mawxcodehub:codex/add-package-support-metadatamawxcodehub/component-size:codex/add-package-support-metadataCopy head branch name to clipboard
Open

Add npm support metadata#38
mawxcodehub wants to merge 1 commit into
rehooks:masterrehooks/component-size:masterfrom
mawxcodehub:codex/add-package-support-metadatamawxcodehub/component-size:codex/add-package-support-metadataCopy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.