Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/portal/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules/
.next/
next-env.d.ts
.env*
!.env.example
*.tsbuildinfo
Expand Down
3 changes: 3 additions & 0 deletions apps/portal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ npm run build
npm run test:database
```

`typecheck`는 먼저 `next typegen`으로 환경·경로 타입을 생성합니다. Next.js가
개발/빌드 모드에 맞게 다시 쓰는 `next-env.d.ts`는 Git에 저장하지 않습니다.

마지막 명령은 Docker와 `postgres:17.11-bookworm` 이미지를 사용합니다. 외부 네트워크와
호스트 포트가 없는 일회용 컨테이너에서 실제 PostgreSQL RLS/RPC를 실행하고 제거합니다.
테스트용 `auth` 테이블·JWT helper는 최소 fixture입니다. 이는 Supabase GoTrue, 실제
Expand Down
7 changes: 0 additions & 7 deletions apps/portal/next-env.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion apps/portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dev": "next dev --hostname 127.0.0.1",
"build": "next build",
"start": "next start --hostname 127.0.0.1",
"typecheck": "tsc --noEmit",
"typecheck": "next typegen && tsc --noEmit",
"test": "node --test test/*.test.mjs",
"test:database": "node scripts/test-database.mjs"
},
Expand Down
Loading