Audit and fix accessibility issues across the portfolio to ensure WCAG 2.1 AA compliance.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Deploy to Vercel/Cloudflare, manage environment variables, troubleshoot builds, and handle rollbacks.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Run the full verification suite before any deployment:
npx tsc --noEmit # TypeScript must pass
npm run lint # ESLint must pass
npm run test -- --run # Tests must pass
npm run doctor # React-doctor must be 100/100
npm run build # Build must succeed
If any step fails, fix it before deploying. Never deploy broken code.
Local preview (production-like):
npm run build && npm run start
Vercel CLI deploy:
npx vercel --prod # Production deployment
npx vercel # Preview deployment (branch)
Vercel environment variables:
| Variable | Environment | Required |
|---|---|---|
NEXT_PUBLIC_SANITY_PROJECT_ID | All | Yes |
NEXT_PUBLIC_SANITY_DATASET | All | Yes |
SANITY_API_READ_TOKEN | All | Yes |
SANITY_REVALIDATE_SECRET | All | Yes |
NEXT_PUBLIC_UMAMI_WEBSITE_ID | Production | No |
NEXT_PUBLIC_UMAMI_SCRIPT_URL | Production | No |
NEXT_PUBLIC_UMAMI_HOST_URL | Production | No |
Check env vars are set:
npx vercel env ls
The repo uses opennextjs-cloudflare for Cloudflare compatibility:
npm run cloudflare:build # Build for Cloudflare
npm run cloudflare:dev # Local Cloudflare dev
npm run cloudflare:deploy # Deploy to Cloudflare
Cloudflare-specific notes:
output: 'standalone' is disabled on Windows (isWindows check in next.config.js)wrangler.toml configures Workers bindingsCommon build errors:
| Error | Cause | Fix |
|---|---|---|
Module not found | Missing dependency | npm install |
Type error | TypeScript strict mode | Fix the type error in the source |
Hydration mismatch | Server/client HTML differ | Check useEffect guards, mounted state |
Circular dependency | Import cycle | Refactor to break the cycle |
ENOMEM | Out of memory | Increase Node memory: NODE_OPTIONS="--max-old-space-size=4096" |
Build analysis:
ANALYZE=true npm run build # Bundle analyzer (if configured)
Vercel rollback:
npx vercel rollback # Roll back to previous deployment
npx vercel rollback <url> # Roll back to specific deployment
Git rollback:
git log --oneline -10 # Find the commit to roll back to
git revert <commit-hash> # Create a revert commit
git push # Trigger redeployment
Emergency: force deploy last known good:
git checkout <good-commit> -- .
git commit -m "chore: emergency rollback to <good-commit>"
git push
Vercel manages SSL automatically. For custom domains:
npx vercel domains add <domain>
Verify DNS records point to Vercel's nameservers or use CNAME to cname.vercel-dns.com.
npm run build locally firstconsole.log in production code (use reportWebVitals instead)npm run build succeeds locally아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Audit and fix accessibility issues across the portfolio to ensure WCAG 2.1 AA compliance.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Creates a new blog post document in the Sanity studio. Use when the user wants to write a blog post, publish an article, or schedule a future post.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Creates a new certification document in the Sanity studio. Use when the user wants to add a credential, certificate, or professional accreditation to the Certifications collection.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Adds a new skill MD file to the studio's skills collection. Use when the user wants to author a new step-by-step recipe for the studio's in-app Skills tool or the .agents mirror.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Creates a new project document in the Sanity studio. Use when the user wants to add a new portfolio project, a case study, or a work sample to the Projects collection.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Creates a new experience document in the Sanity studio. Use when the user wants to add a job, role, internship, or work history entry to the Experience collection.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.