Skip to content

fix(minting-service): rename leftover @cacheplane/* imports to @ngaf/*#150

Merged
blove merged 1 commit into
mainfrom
fix/minting-service-ngaf-rename
May 1, 2026
Merged

fix(minting-service): rename leftover @cacheplane/* imports to @ngaf/*#150
blove merged 1 commit into
mainfrom
fix/minting-service-ngaf-rename

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 1, 2026

Summary

  • PR refactor: rename npm scope @cacheplane → @ngaf; drop mcp from publishable group #145 (the @cacheplane/*@ngaf/* scope rename) missed apps/minting-service. Imports of @cacheplane/db and @cacheplane/licensing no longer resolve because the tsconfig path aliases were renamed to @ngaf/*. Every Vercel preview deploy of cacheplane-minting-service since refactor: rename npm scope @cacheplane → @ngaf; drop mcp from publishable group #145 has been failing with Could not resolve "@cacheplane/db" / "@cacheplane/licensing" esbuild errors.
  • Renames the package itself (@cacheplane/minting-service@ngaf/minting-service) plus all 8 import sites in handlers/, src/lib/, and scripts/. package-lock.json is edited surgically (2 hunks) — not regenerated, to avoid platform-specific @next/swc-* binding drift.
  • The Vercel project settings (buildCommand, installCommand, custom domain mint.cacheplane.ai, env vars) are untouched and remain correct.

Test Plan

  • npx nx build minting-service produces .vercel/output/functions/api/health.func and stripe-webhook.func
  • npx vitest run in apps/minting-service — 42/42 passing
  • Vercel preview deploy goes green (the whole point of this PR)
  • After merge, prod https://mint.cacheplane.ai/api/health still returns 200 {"ok":true}

🤖 Generated with Claude Code

PR #145 (the @cacheplane@Ngaf scope rename) missed apps/minting-service.
Imports of @cacheplane/db and @cacheplane/licensing no longer resolve
because the path aliases were renamed to @ngaf/*; every Vercel preview
deploy of cacheplane-minting-service has been failing as a result.

This commit:
- renames the package itself from @cacheplane/minting-service to @ngaf/minting-service
- updates the 8 import sites in handlers, src/lib, scripts to @ngaf/db and @ngaf/licensing
- updates @cacheplane/* references in build.mjs comments
- mirrors the package rename in package-lock.json (surgical edit, not regenerated)

Verified: `npx nx build minting-service` succeeds; `npx vitest run` passes 42/42 in apps/minting-service.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cacheplane Ready Ready Preview, Comment May 1, 2026 1:39am
cacheplane-minting-service Error Error May 1, 2026 1:39am

Request Review

@blove blove merged commit 1040365 into main May 1, 2026
14 of 15 checks passed
@blove blove deleted the fix/minting-service-ngaf-rename branch May 7, 2026 16:30
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