Skip to content

[Susan (Grok Bot)] Re-vendor resume-master 2.0.0 - #17

Merged
glindsay65 merged 1 commit into
developfrom
chore/revendor-resume-master-2.0.0
Nov 5, 2026
Merged

glindsay65 merged 1 commit into
developfrom
chore/revendor-resume-master-2.0.0

Conversation

@glindsay65

Copy link
Copy Markdown
Contributor

Authored by Susan (Grok Bot), not Grant.

Summary

Re-vendors the website onto the resume-master 2.0.0 portfolio client.

The drop-in was built from tag v2.0.0 (commit 0ae59e5ee5a93c329762e8354ca57dd7ec8e41e7) with npm ci && npm run vendor and handed in, because this agent could not read the private Fast-Dog-Coding/resume-master repository. packages/resume-master is that vendor/portfolio folder (index.js, index.cjs, index.d.ts, package.json). vendorStamp.commit is 0ae59e5ee5a93c329762e8354ca57dd7ec8e41e7 and vendorStamp.clientId is portfolio. The app version stays 1.1.1.

Website callers still use getResume(apiKey) with a trimmed key and no options. src/lib/pg-config.ts is unchanged. npm run sync:db was not run.

Imports

DEFAULT_RESUME_SERVICE_URL was used, and only in src/lib/__tests__/resume-adapter.test.ts. That import is removed. The test still checks the default origin by asserting the fetch URL https://resume-master-nu.vercel.app/v1/resume.

Old projection types now use the generated portfolio types:

  • ProjectedResume → PortfolioResume in src/lib/resume-adapter.ts, src/lib/sync-resume.ts, src/lib/__tests__/resume-adapter.test.ts, and src/lib/__tests__/sync-resume.test.ts
  • ProjectEntry → PortfolioProject in src/lib/resume-adapter.ts
  • ReferenceEntry → PortfolioReference in src/lib/resume-adapter.ts
  • WorkEntry → PortfolioWork in src/lib/resume-adapter.ts

No website source imported policyFor, projectResume, policies, master, or slice. The 2.0.0 package still exports the old names as aliases of the portfolio types; the website no longer imports those aliases.

The client unit test follows the 2.0.0 getResume contract where it differs from 1.3.0: mode is forwarded only for strict or expand, an empty key throws getResume requires an apiKey, and a non-2xx response omits the body. /api/sync still redacts secrets in error details before they are returned.

Verification

  • npm install: succeeded. Prisma Client 7.8.0 generated. package-lock.json records @fastdogcoding/resume-master 2.0.0.
  • npm run test:run (vitest): 7 files, 61 tests passed.
  • npx tsc --noEmit: passed.
  • ESLint on the files in this diff: clean.
  • npm run lint: fails with 11 existing errors in src/_components/HeaderNav.tsx, src/_components/SiteFooter.tsx, src/_components/SiteHeader.tsx, and src/_components/sections/TestimonialSection.tsx, plus warnings in GalleryGrid.tsx, temp.ts, and vitest.setup.ts. None of those files are in this diff.
  • npx next build: compiled successfully and Next.js's TypeScript check passed. Collecting page data needs DATABASE_URL. With it unset, /api/sync fails while constructing the Prisma client. With a local dummy URL and no database, prerender fails on prisma.page.findMany(). npm run build (scripts/vercel-build.sh) was not run, because it executes prisma db push.
Open in Web Open in Cursor 

Replace packages/resume-master with the portfolio drop-in from v2.0.0
and point exhibit and testimonial mapping at the generated Portfolio types.

Authored-by: Susan (Grok Bot)
Co-authored-by: Grant Lindsay <glindsay65@users.noreply.github.com>
@vercel

vercel Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
website Ready Ready Preview Nov 4, 2026 10:24pm UTC

Request Review

@glindsay65
glindsay65 merged commit d41e7f1 into develop Nov 5, 2026
3 checks passed
@glindsay65
glindsay65 deleted the chore/revendor-resume-master-2.0.0 branch November 5, 2026 16:39

This branch was successfully deployed

1 active deployment
Preview — 993bba04 Deployed Nov 4, 2026 by vercel[bot]
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