Skip to content

chore: add bugs metadata for analytics#516

Open
yanziwei wants to merge 1 commit into
DavidWells:masterfrom
yanziwei:fix/analytics-bugs-metadata
Open

chore: add bugs metadata for analytics#516
yanziwei wants to merge 1 commit into
DavidWells:masterfrom
yanziwei:fix/analytics-bugs-metadata

Conversation

@yanziwei

Copy link
Copy Markdown

Summary

  • add npm bugs metadata for the analytics package so npm and downstream tooling can link to the GitHub issue tracker

Validation

  • npm view analytics@0.8.19 name version repository homepage bugs license --json
  • node -e "const pkg=require('./packages/analytics/package.json'); if (pkg.name !== 'analytics') throw new Error(pkg.name); if (pkg.bugs?.url !== 'https://github.com/DavidWells/analytics/issues') throw new Error(JSON.stringify(pkg.bugs)); console.log(JSON.stringify({name: pkg.name, version: pkg.version, bugs: pkg.bugs}))"
  • npm pack --dry-run --json --ignore-scripts
  • npm pack --json --ignore-scripts, then verified package/package.json in the tarball includes bugs.url
  • git diff --check

Charles microbounty: charles-openclaw/charles-microbounties#1199

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