Repository navigation
[Susan (Grok Bot)] Re-vendor resume-master 2.0.0 - #17
Merged
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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(commit0ae59e5ee5a93c329762e8354ca57dd7ec8e41e7) withnpm ci && npm run vendorand handed in, because this agent could not read the privateFast-Dog-Coding/resume-masterrepository.packages/resume-masteris thatvendor/portfoliofolder (index.js,index.cjs,index.d.ts,package.json).vendorStamp.commitis0ae59e5ee5a93c329762e8354ca57dd7ec8e41e7andvendorStamp.clientIdisportfolio. The app version stays 1.1.1.Website callers still use
getResume(apiKey)with a trimmed key and no options.src/lib/pg-config.tsis unchanged.npm run sync:dbwas not run.Imports
DEFAULT_RESUME_SERVICE_URLwas used, and only insrc/lib/__tests__/resume-adapter.test.ts. That import is removed. The test still checks the default origin by asserting the fetch URLhttps://resume-master-nu.vercel.app/v1/resume.Old projection types now use the generated portfolio types:
ProjectedResume→PortfolioResumeinsrc/lib/resume-adapter.ts,src/lib/sync-resume.ts,src/lib/__tests__/resume-adapter.test.ts, andsrc/lib/__tests__/sync-resume.test.tsProjectEntry→PortfolioProjectinsrc/lib/resume-adapter.tsReferenceEntry→PortfolioReferenceinsrc/lib/resume-adapter.tsWorkEntry→PortfolioWorkinsrc/lib/resume-adapter.tsNo website source imported
policyFor,projectResume,policies,master, orslice. 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
getResumecontract where it differs from 1.3.0:modeis forwarded only forstrictorexpand, an empty key throwsgetResume requires an apiKey, and a non-2xx response omits the body./api/syncstill redacts secrets in error details before they are returned.Verification
npm install: succeeded. Prisma Client 7.8.0 generated.package-lock.jsonrecords@fastdogcoding/resume-master2.0.0.npm run test:run(vitest): 7 files, 61 tests passed.npx tsc --noEmit: passed.npm run lint: fails with 11 existing errors insrc/_components/HeaderNav.tsx,src/_components/SiteFooter.tsx,src/_components/SiteHeader.tsx, andsrc/_components/sections/TestimonialSection.tsx, plus warnings inGalleryGrid.tsx,temp.ts, andvitest.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 needsDATABASE_URL. With it unset,/api/syncfails while constructing the Prisma client. With a local dummy URL and no database, prerender fails onprisma.page.findMany().npm run build(scripts/vercel-build.sh) was not run, because it executesprisma db push.