Switch to static deployment + bun migration #2
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
tyange-labs/tyange-blog!2
Loading…
Reference in a new issue
No description provided.
Delete branch "claude/peaceful-cerf-05115b"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
nuxt build+ PM2) 배포를 정적 사이트(nuxt generate+ nginx) 배포로 전환주요 변경
정적 배포
nitro.prerender+crawlLinks: true+prerender:routes훅(CMS에서 슬러그 주입)로 전체 페이지 prerenderapp/pages/index.vue태그 필터를 쿼리 기반useFetch→ 메모리 필터링으로 전환 (static 호환)routeRulesSWR 제거 (서버 전용 옵션이라 static에선 무의미)pnpm build→bun run generate,.output/publicSCP 배포, PM2 restart → nginx reloadecosystem.config.js제거Bun 마이그레이션
packageManager필드bun@1.1.42로 변경,pnpm-lock.yaml→bun.lockSetup pnpm+Setup Node→Setup Bun단일 단계CLAUDE.md규칙을 bun 허용으로 업데이트서버 설정 (코드 외 작업)
/etc/nginx/sites-available/blog.tyange.comroot를/home/ubuntu/tyange-blog로,try_files+ SPA 폴백 구성/home/ubuntu/traversal 권한 허용 (`chmod o+x`)Test plan
🤖 Generated with Claude Code