Skip to content

Add CLI npm repository metadata#506

Open
andycana wants to merge 1 commit into
Sitecore:devfrom
andycana:codex/add-cli-repository-metadata
Open

Add CLI npm repository metadata#506
andycana wants to merge 1 commit into
Sitecore:devfrom
andycana:codex/add-cli-repository-metadata

Conversation

@andycana

@andycana andycana commented Jun 9, 2026

Copy link
Copy Markdown

Summary

Add standard npm repository metadata to packages/cli/package.json.

The published @sitecore-content-sdk/cli@2.1.0 package already exposes homepage and bugs links, but npm view @sitecore-content-sdk/cli@2.1.0 name version homepage repository bugs --json does not return a repository field. This change adds the GitHub repository URL and package directory in the standard npm manifest shape for monorepo packages.

Validation

  • npm view @sitecore-content-sdk/cli@2.1.0 name version homepage repository bugs --json
  • node -e "const p=require('./packages/cli/package.json'); if(!p.repository || p.repository.type!=='git' || !p.repository.url.includes('Sitecore/content-sdk') || p.repository.directory!=='packages/cli') throw new Error('repository metadata mismatch'); console.log('sitecore metadata check passed');"
  • git diff --check
  • npm pack --dry-run --ignore-scripts from packages/cli

Scope

Manifest metadata only. No runtime code, dependency, or lockfile changes.

@changeset-bot

changeset-bot Bot commented Jun 9, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9b0680d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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