Skip to content

Add package support metadata#185

Open
mawxcodehub wants to merge 1 commit into
mohsinulhaq:masterfrom
mawxcodehub:fix/package-support-metadata
Open

Add package support metadata#185
mawxcodehub wants to merge 1 commit into
mohsinulhaq:masterfrom
mawxcodehub:fix/package-support-metadata

Conversation

@mawxcodehub

Copy link
Copy Markdown

Summary

  • add package-level homepage metadata pointing to the README
  • add package-level bugs.url metadata pointing to the issue tracker
  • leave runtime code, dependencies, entrypoints, and generated output unchanged

Verification

  • node -e "const fs=require('fs'); const p=JSON.parse(fs.readFileSync('package.json','utf8')); if (p.name !== 'react-popper-tooltip' || p.homepage !== 'https://github.com/mohsinulhaq/react-popper-tooltip#readme' || p.bugs?.url !== 'https://github.com/mohsinulhaq/react-popper-tooltip/issues') process.exit(1); console.log(JSON.stringify({name:p.name,version:p.version,homepage:p.homepage,bugs:p.bugs}))"
  • npm pack --dry-run --json --ignore-scripts
  • git diff --check

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