$schema string | installCommand string | buildCommand string | outputDirectory string | framework string | rewrites list |
|---|---|---|---|---|---|
https://openapi.vercel.sh/vercel.json | npm install | npm run build | dist | vite | [
{
"source": "/(.*)",
"destination": "/index.html"
}
] |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
The Next 18 — anniversary-intimacy completion patch
Drop-in files that finish the anniversary-intimacy app on branch couple of
dolonhunt/romantic-partners-app. They close the three critical gaps found in review:
survey/writing answers lost on refresh, the partner reveal never wired into any flow,
and no day locking — plus onboarding, games played-tracking, honest media cards, and
the Capacitor CLI/core version alignment.
Contents
| File | Goes to | Action |
|---|---|---|
Sections.tsx |
anniversary-intimacy/src/components/Sections.tsx |
replace |
CourseTimeline.tsx |
anniversary-intimacy/src/components/CourseTimeline.tsx |
replace |
Onboarding.tsx |
anniversary-intimacy/src/components/Onboarding.tsx |
new file |
patch.mjs |
anniversary-intimacy/ (temp) |
run once, then delete |
patch.mjs applies all src/App.tsx edits (onboarding gate, Begin/Complete split,
CourseTimeline props, GamesSection props) and the package.json Capacitor fix. It
fails loudly (exit 1) if any expected string is missing, so a partial match never
silently corrupts anything.
Apply
git clone https://huggingface.co/datasets/dshunt/next18-anniversary-patch next18-patch
cd romantic-partners-app
git checkout couple
cp ../next18-patch/Sections.tsx ../next18-patch/CourseTimeline.tsx anniversary-intimacy/src/components/
cp ../next18-patch/Onboarding.tsx anniversary-intimacy/src/components/
cp ../next18-patch/patch.mjs anniversary-intimacy/
cd anniversary-intimacy
node patch.mjs
rm -rf node_modules package-lock.json && npm install
npx tsc --noEmit && npm run build # the gate — must pass before committing
cd ..
git add -A
git commit -m "feat: wire reveal + persistence into surveys/prompts, day locking, onboarding, games tracking, honest media, capacitor alignment"
git push origin couple
Zip it locally if you want an archive: zip -r next18-patch.zip next18-patch
What this closes
- ✅ Survey answers survive refresh (store-backed, per partner)
- ✅ Writing prompts auto-save + reveal when both partners have written
- ✅ Reveal flow reachable inside the real survey and prompt flows
- ✅ Day N locked until Day N−1 complete
- ✅ Begin ≠ Complete (no accidental completions)
- ✅ Games played-tracking wired to the previously dead store
- ✅ Media: no simulated playback
- ✅ Onboarding writes names + comfort levels into the existing store
- ✅ Capacitor CLI (7.6.4) and core aligned on major 7
- Downloads last month
- 51