feat: add npm namespace placeholder for git-id-switcher#422
Conversation
Reserve the `git-id-switcher` package name on npm registry to prevent namespace squatting. Contains only package.json and README — no scripts, no dependencies. 🖥️ IDE: [Cursor](https://cursor.sh) 🔌 Extension: [Claude Code](https://claude.ai/download) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Model-Raw: claude-opus-4-6-20250415
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
👧 Luna's Exploration Report 📦No new dependencies added. Just version bumps! Nothing to explore here... 😴
This report was curiously compiled by nullvariant-luna[bot] |
🐗 Blaze's Release Review 📦No version bump. Just dependency changes... boring. Wake me up when it's deploy time! 😤
This review was ENTHUSIASTICALLY filed by nullvariant-blaze[bot] |
🐰 Mimi's Validation Report ✅All checks are looking good! Great job! 🎉 ⏳ Some checks are still running. I will keep watching!
This report was carefully prepared by nullvariant-mimi[bot] |
🕊️ Ciel's Mediation 🌤️*~~ floating down from the clouds ~~ The zoo seems a bit noisy today...* 3 zoo members have reviewed this PR.
⚖️ The zoo has mixed opinions. Some are concerned, some are fine with it. Please review each comment carefully and make the final call.
This mediation was peacefully delivered by nullvariant-ciel[bot] |
Review Summary by QodoAdd npm namespace placeholder for git-id-switcher package
WalkthroughsDescription• Add npm namespace placeholder package for git-id-switcher • Reserve package name on npm registry to prevent squatting • Includes minimal package.json and README with extension links • Placed in packages/ directory separate from VS Code artifacts Diagramflowchart LR
A["Repository Structure"] --> B["packages/git-id-switcher-npm/"]
B --> C["package.json"]
B --> D["README.md"]
C --> E["Namespace Reservation"]
D --> F["Extension Reference"]
E --> G["npm Registry"]
F --> H["VS Code Marketplace"]
File Changes1. packages/git-id-switcher-npm/package.json
|
Code Review by Qodo
1.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
- Add `files` field to restrict published contents - Add `_nameConflictNote` to document intentional name duplication - Update homepage to VS Code Marketplace URL - Add Open VSX Registry link to README 🖥️ IDE: [Cursor](https://cursor.sh) 🔌 Extension: [Claude Code](https://claude.ai/download) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Model-Raw: claude-opus-4-6-20250415
- Copy LICENSE from repo root to npm package directory - Add LICENSE to files field in package.json - Rename _nameConflictNote to x-nameConflictNote (avoid npm internal prefix) 🖥️ IDE: [Cursor](https://cursor.sh) 🔌 Extension: [Claude Code](https://claude.ai/download) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Model-Raw: claude-opus-4-6-20250415
|



Summary
packages/git-id-switcher-npm/directory with minimalpackage.jsonandREADME.mdgit-id-switchernpm package name to prevent namespace squattingpackages/(notextensions/) to separate npm registry artifacts from VS Code Marketplace artifactsNotes
npm publishfrompackages/git-id-switcher-npm/to complete the reservationTest plan
npm pack --dry-runconfirms onlypackage.jsonandREADME.mdare includednpm run lint:all/test:all/compile:allunaffected