Skip to content

chore: scope package to @utkarsh2325/git-context for npm publish - #6

Merged
utkarsh232005 merged 1 commit into
KDM-cli:mainfrom
utkarsh232005:fix/scoped-package-npm
Sep 24, 2026
Merged

utkarsh232005 merged 1 commit into
KDM-cli:mainfrom
utkarsh232005:fix/scoped-package-npm

Conversation

@utkarsh232005

Copy link
Copy Markdown
Member

Summary

When publishing to npm registry, npm flagged gitcontext as too similar to existing package git-context (typosquatting prevention rule) and requested publishing under the account scope @utkarsh2325.

Changes:

  • package.json:
    • Sets name to @utkarsh2325/git-context
    • Adds "publishConfig": { "access": "public" }
    • Cleans bin paths using standard dist/cli.js (satisfying npm pkg fix)
  • .github/workflows/publish.yml:
    • Dynamically strips existing scope before prepending @${GITHUB_REPOSITORY_OWNER} for GitHub Packages so publication to GitHub Packages continues to succeed under @kdm-cli/git-context
  • README.md:
    • Updates install command to npm install @utkarsh2325/git-context
    • Updates Quick Start import example

Copilot AI lite review requested due to automatic review settings September 24, 2026 16:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Sep 24, 2026

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: b72e50dc-c1d2-45e5-a212-039bb8a65378

📥 Commits

Reviewing files that changed from the base of the PR and between 1694b29 and 72b924a.

📒 Files selected for processing (3)
  • .github/workflows/publish.yml
  • README.md
  • package.json
 _______________________________
< Grow a pair... of test cases. >
 -------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@utkarsh232005
utkarsh232005 merged commit 1877132 into KDM-cli:main Sep 24, 2026
2 of 3 checks passed
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