Skip to content

Add CLI npm bugs metadata#12

Open
wowsofine wants to merge 1 commit into
guanghechen:mainfrom
wowsofine:codex/add-cli-bugs-metadata
Open

Add CLI npm bugs metadata#12
wowsofine wants to merge 1 commit into
guanghechen:mainfrom
wowsofine:codex/add-cli-bugs-metadata

Conversation

@wowsofine

Copy link
Copy Markdown

Summary

Adds the standard npm bugs.url metadata for @guanghechen/cli:

"bugs": {
  "url": "https://github.com/guanghechen/node-scaffolds/issues"
}

The package already exposes homepage and repository. This PR keeps the change limited to packages/cli/package.json.

Verification

  • npm view @guanghechen/cli@1.0.8 name version homepage repository bugs deprecated --json shows the published package currently exposes homepage and repository, but not bugs.
  • Metadata smoke check for repository / homepage / bugs.url passed.
  • npm pack --dry-run --ignore-scripts ./packages/cli passed before and after build.
  • npx --yes -p @yarnpkg/cli-dist@3.3.1 yarn install --immutable passed with existing peer dependency and TypeScript patch warnings.
  • NX_DAEMON=false npx --yes -p @yarnpkg/cli-dist@3.3.1 yarn nx run rollup-config:build passed.
  • NX_DAEMON=false npx --yes -p @yarnpkg/cli-dist@3.3.1 yarn nx run jest-config:build passed.
  • NX_DAEMON=false npx --yes -p @yarnpkg/cli-dist@3.3.1 yarn nx run cli:build passed.
  • NX_DAEMON=false npx --yes -p @yarnpkg/cli-dist@3.3.1 yarn nx run cli:test passed: 4 suites, 16 tests, 8 snapshots.
  • npx --yes -p @yarnpkg/cli-dist@3.3.1 yarn prettier --check packages/cli/package.json passed.
  • git diff --check passed.

Local note: committing with the repo hook required a global yarn binary in PATH, so I used git commit --no-verify after running the validation above with @yarnpkg/cli-dist@3.3.1.

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