fix: scope Gitea registry to @mosaic packages only #374

Merged
jason.woltje merged 1 commits from fix/gateway-scoped-registry into main 2026-04-04 19:09:14 +00:00
Owner

Summary

  • Writes a temporary scoped .npmrc with @mosaic:registry= instead of using --registry flag
  • Only @mosaic/* packages resolve from Gitea; third-party deps resolve from npmjs normally
  • Bumps @mosaic/mosaic and @mosaic/cli to 0.0.13

Test plan

  • mosaic update pulls 0.0.13
  • mosaic gateway install resolves @mosaic/gateway from Gitea
  • Third-party deps like @anthropic-ai/sdk resolve from npmjs without E404

🤖 Generated with Claude Code

## Summary - Writes a temporary scoped .npmrc with @mosaic:registry=<gitea-url> instead of using --registry flag - Only @mosaic/* packages resolve from Gitea; third-party deps resolve from npmjs normally - Bumps @mosaic/mosaic and @mosaic/cli to 0.0.13 ## Test plan - [ ] mosaic update pulls 0.0.13 - [ ] mosaic gateway install resolves @mosaic/gateway from Gitea - [ ] Third-party deps like @anthropic-ai/sdk resolve from npmjs without E404 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jason.woltje added 1 commit 2026-04-04 19:08:56 +00:00
fix: scope Gitea registry to @mosaic packages only during gateway install
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
6e26623cbe
The --registry flag overrides all package resolution, causing npm to
look for third-party deps (e.g. @anthropic-ai/sdk) on Gitea. Fix by
writing a scoped .npmrc that routes only @mosaic/* to Gitea while
letting everything else resolve from npmjs normally.

Bump to 0.0.13.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jason.woltje merged commit cbd5e8c626 into main 2026-04-04 19:09:14 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#374