Skip to content

feat!: rewrite CV site on Next.js, Supabase, and pnpm#148

Merged
95gabor merged 4 commits into
mainfrom
v2
Jul 6, 2026
Merged

feat!: rewrite CV site on Next.js, Supabase, and pnpm#148
95gabor merged 4 commits into
mainfrom
v2

Conversation

@95gabor

@95gabor 95gabor commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replace Nuxt 4 + @nuxt/content with Next.js 16 static export, shadcn/ui, Tailwind v4, next-intl, and next-themes
  • CV data: YAML seed → Supabase (Postgres) → build-time fetch; routes / + /hu
  • pnpm lockfile; remove npm / Nuxt / Storybook / SCSS stack
  • CI: local Supabase for PR checks; publish (v* tag) uses prod secrets (SUPABASE_DB_URL, SUPABASE_URL, SUPABASE_PUBLISHABLE_KEY) + schema migrate
  • Docker: single Dockerfile (in-container build + nginx gzip); deny-all .gitignore / .dockerignore

BREAKING CHANGE

Before (main) After (v2)
Nuxt 4, npm Next.js 16, pnpm
@nuxt/content / YAML runtime Supabase + pnpm run db:seed
.output/public out/
npm run generate pnpm run build
Local dev: npm run dev supabase start + pnpm run db:seed + pnpm run dev

Publish requires GitHub Actions secrets (see docs/projects/next-shadcn-supabase-rewrite/github-secrets.md). Prod seed before first v* tag.

Test plan

  • CI green on this PR (lint, typecheck, build, E2E, Lighthouse, Docker smoke)
  • Local: pnpm install, supabase start, pnpm run db:seed, pnpm run dev/ and /hu
  • pnpm run build produces out/ with JSON-LD, sitemap, robots, llms.txt
  • After merge + secrets: v* tag → migrate job + Pages + GHCR image

Post-merge (Phase 6)

  • Prod pnpm run db:seed if not done yet
  • Tag release → live https://95gabor.me on Next build

Made with Cursor

Replace Nuxt 4 + @nuxt/content with Next.js 16 static export, shadcn/ui,
Tailwind v4, next-intl, next-themes, and build-time Supabase fetch.

BREAKING CHANGE: Nuxt app removed; use pnpm, `supabase start`, `pnpm run
db:seed`, and `pnpm run dev`. Publish on `v*` tag uses prod Supabase
(SUPABASE_DB_URL, SUPABASE_URL, SUPABASE_PUBLISHABLE_KEY secrets). CI keeps
local Supabase. Output is `out/` (not `.output/public`). npm lockfile removed.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@95gabor, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 16 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 93efeb9c-0214-42f8-ab11-f9595a0fc5a1

📥 Commits

Reviewing files that changed from the base of the PR and between e203956 and a5001e4.

⛔ Files ignored due to path filters (4)
  • package-lock.json is excluded by !**/package-lock.json
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
  • public/grid-light.svg is excluded by !**/*.svg
  • public/grid.svg is excluded by !**/*.svg
📒 Files selected for processing (145)
  • .cursor/rules/cv-workspace.mdc
  • .dockerignore
  • .env.example
  • .github/actions/docker-build-env/action.yaml
  • .github/actions/node-bootstrap/action.yaml
  • .github/workflows/ci.yaml
  • .github/workflows/publish.yaml
  • .github/workflows/release.yaml
  • .gitignore
  • .lighthouserc.docker.json
  • .lighthouserc.json
  • .storybook/main.ts
  • .storybook/preview.ts
  • AGENTS.md
  • Dockerfile
  • README.md
  • SKILLS.md
  • app/app.scss
  • app/app.vue
  • app/assets/styles/_mixins.scss
  • app/assets/styles/_placeholders.scss
  • app/assets/styles/_variables.scss
  • app/assets/styles/main.scss
  • app/components/CookieConsent.vue
  • app/components/Education/Education.scss
  • app/components/Education/Education.vue
  • app/components/Experience/Experience.scss
  • app/components/Experience/Experience.vue
  • app/components/Header/Header.scss
  • app/components/Header/Header.vue
  • app/components/Hobbies/Hobbies.scss
  • app/components/Hobbies/Hobbies.vue
  • app/components/LanguageSelector.vue
  • app/components/LanguageSelector/LanguageSelector.scss
  • app/components/MetaData.vue
  • app/components/Skills/Skills.scss
  • app/components/Skills/Skills.vue
  • app/components/StructuredData.vue
  • app/components/ui/InlineLink.stories.ts
  • app/components/ui/InlineLink.vue
  • app/components/ui/SectionTitle.scss
  • app/components/ui/SectionTitle.stories.ts
  • app/components/ui/SectionTitle.vue
  • app/globals.css
  • app/hu/layout.tsx
  • app/hu/page.tsx
  • app/layout.tsx
  • app/not-found.tsx
  • app/page.tsx
  • app/robots.ts
  • app/sitemap.ts
  • app/types/cv.ts
  • components.json
  • components/cookie-consent.tsx
  • components/cv-page.tsx
  • components/education.tsx
  • components/experience.tsx
  • components/google-analytics.tsx
  • components/header.tsx
  • components/hobbies.tsx
  • components/language-selector.tsx
  • components/locale-provider.tsx
  • components/page-controls.tsx
  • components/print-button.tsx
  • components/providers.tsx
  • components/set-document-lang.tsx
  • components/skills.tsx
  • components/structured-data.tsx
  • components/theme-toggle.tsx
  • components/ui/badge.tsx
  • components/ui/button.tsx
  • components/ui/card.tsx
  • components/ui/inline-link.tsx
  • components/ui/section-title.tsx
  • content.config.ts
  • docker-compose.yml
  • docs/.ai/README.md
  • docs/.ai/architecture.md
  • docs/.ai/coding-standards.md
  • docs/.ai/content-model.md
  • docs/.ai/workflows/commit-and-pr.md
  • docs/.ai/workflows/edit-cv-content.md
  • docs/.ai/workflows/local-setup.md
  • docs/.ai/workflows/release.md
  • docs/.ai/workflows/run-and-verify.md
  • docs/README.md
  • docs/content.md
  • docs/projects/README.md
  • docs/projects/next-shadcn-supabase-rewrite.md
  • docs/projects/next-shadcn-supabase-rewrite/README.md
  • docs/projects/next-shadcn-supabase-rewrite/architecture.md
  • docs/projects/next-shadcn-supabase-rewrite/deploy.md
  • docs/projects/next-shadcn-supabase-rewrite/github-secrets.md
  • docs/projects/next-shadcn-supabase-rewrite/local-supabase.md
  • docs/projects/next-shadcn-supabase-rewrite/phases.md
  • docs/projects/next-shadcn-supabase-rewrite/seo-parity.md
  • docs/projects/next-shadcn-supabase-rewrite/supabase-schema.md
  • docs/references.md
  • docs/setup.md
  • docs/templates/task-brief.md
  • eslint.config.mjs
  • global.d.ts
  • i18n/config.ts
  • i18n/request.ts
  • lib/cv/fetch.ts
  • lib/cv/map-from-db.ts
  • lib/cv/types.ts
  • lib/get-site-config.ts
  • lib/period.ts
  • lib/seo/llms-content.ts
  • lib/seo/metadata.ts
  • lib/seo/structured-data.ts
  • lib/site-config.ts
  • lib/site-config.types.ts
  • lib/supabase/server.ts
  • lib/supabase/types.ts
  • lib/ui-messages.ts
  • lib/utils.ts
  • messages/en.json
  • messages/hu.json
  • next-env.d.ts
  • next.config.ts
  • nginx.conf
  • nuxt.config.ts
  • package.json
  • playwright.config.ts
  • postcss.config.mjs
  • release.config.mjs
  • schema/cv.schema.json
  • scripts/export-supabase-env.sh
  • scripts/generate-json-schema.ts
  • scripts/generate-llm-config.ts
  • scripts/generate-llms-txt.mts
  • scripts/prepare-static-site-prod.sh
  • scripts/prepare-static-site.sh
  • scripts/prepare-supabase-for-build.sh
  • scripts/seed-from-yaml.mts
  • scripts/supabase-push-prod.sh
  • scripts/supabase-start-quiet.sh
  • scripts/write-docker-build-secrets.sh
  • server/tsconfig.json
  • supabase/.gitignore
  • supabase/config.toml
  • supabase/migrations/20260706095641_create_cv_tables.sql
  • tsconfig.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch v2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Keep v2 implementation docs; main only had the planning snapshot from #147.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

Lighthouse results

URL Performance Accessibility Best Practices SEO
http://127.0.0.1:4173/ 69% 99% 96% 100%

Updated automatically by CI.

github-actions Bot added a commit that referenced this pull request Jul 6, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

Latest full-page screenshot

Full-page PR screenshot

Avoid ARG/ENV for SUPABASE_* so credentials do not persist in image
layers and Docker scanner warnings clear. Update CI/publish workflows
and compose; fix add-hosts and Percy Playwright import.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

Silence supabase start output, pass BuildKit credentials via secret files
with masking, and use 172.17.0.1 instead of host-gateway for buildx.
Fix HU static export via direct ui-messages lookup for section labels.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@95gabor 95gabor merged commit 534de64 into main Jul 6, 2026
11 checks passed
@95gabor 95gabor deleted the v2 branch July 6, 2026 12:57
95gabor pushed a commit that referenced this pull request Jul 6, 2026
# [3.0.0](v2.14.0...v3.0.0) (2026-07-06)

* feat!: rewrite CV site on Next.js, Supabase, and pnpm ([#148](#148)) ([534de64](534de64))

### BREAKING CHANGES

* Nuxt app removed; use pnpm, `supabase start`, `pnpm run
db:seed`, and `pnpm run dev`. Publish on `v*` tag uses prod Supabase
(SUPABASE_DB_URL, SUPABASE_URL, SUPABASE_PUBLISHABLE_KEY secrets). CI keeps
local Supabase. Output is `out/` (not `.output/public`). npm lockfile removed.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(docker): pass Supabase credentials via BuildKit secrets

Avoid ARG/ENV for SUPABASE_* so credentials do not persist in image
layers and Docker scanner warnings clear. Update CI/publish workflows
and compose; fix add-hosts and Percy Playwright import.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(ci): harden secrets in logs and unblock Docker build

Silence supabase start output, pass BuildKit credentials via secret files
with masking, and use 172.17.0.1 instead of host-gateway for buildx.
Fix HU static export via direct ui-messages lookup for section labels.

Co-authored-by: Cursor <cursoragent@cursor.com>
@95gabor

95gabor commented Jul 6, 2026

Copy link
Copy Markdown
Owner Author

🎉 This PR is included in version 3.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant