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
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ $RECYCLE.BIN/

# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,vim,macos,windows,linux,nextjs,react

# cloudflare / opennextjs
.open-next
# cloudflare
.dev.vars

# generated by cf-typegen
Expand Down
10 changes: 1 addition & 9 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ pnpm start:vinext
# Cloudflare Workers へデプロイ(vinext)
pnpm deploy:vinext

# ローカルでのビルドプレビュー(OpenNext、legacy)
pnpm preview

# Cloudflare Workers へデプロイ(OpenNext、legacy)
pnpm deploy

# Lint / フォーマットチェック
pnpm check

Expand All @@ -43,7 +37,7 @@ pnpm cf-typegen
## アーキテクチャ

- **フレームワーク**: Next.js 16 (App Router)
- **デプロイ先**: Cloudflare Workers(vinext 経由。OpenNext は legacy として併存)
- **デプロイ先**: Cloudflare Workers(vinext 経由)
- **Lint / フォーマット**: Biome(ESLint・Prettier の代替)
- **CSS**: CSS Modules + PostCSS (postcss-preset-env)
- **フォント**: `@fontsource/line-seed-jp`
Expand All @@ -52,8 +46,6 @@ pnpm cf-typegen

本番は Cloudflare Workers Builds でビルド・デプロイする。ビルドコマンドは `pnpm run build:vinext`、デプロイコマンドは `pnpm exec wrangler deploy --config dist/server/wrangler.json`、バージョンコマンドは `pnpm exec wrangler versions upload --config dist/server/wrangler.json`。`vite build` が `dist/server/wrangler.json` を生成し、実際のデプロイにはそちらを使う(ルートの `wrangler.jsonc` は vite / vinext の入力用)。

OpenNext の経路は legacy として残している。`pnpm preview` / `pnpm deploy` は専用の `wrangler.opennext.jsonc`(エントリは `.open-next/worker.js`)を使う。

### コードスタイル

Biome の設定(`biome.json`)に従う:
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ pnpm run build # build with Next.js
pnpm run build:vinext # build with vinext (production build)
pnpm run start:vinext # preview the vinext production build locally
pnpm run deploy:vinext # deploy to Cloudflare Workers (vinext)
pnpm run preview # preview production build (OpenNext, legacy)
pnpm run deploy # deploy to Cloudflare Workers (OpenNext, legacy)
pnpm run cf-typegen # generate TypeScript types for Cloudflare Workers
pnpm run check # run lint and format checking
pnpm run check:fix # run lint and format checking with auto-fix
Expand Down
8 changes: 1 addition & 7 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@
},
"files": {
"ignoreUnknown": false,
"includes": [
"**",
"!**/.next",
"!**/.open-next",
"!**/node_modules",
"!**/pnpm-lock.yaml"
]
"includes": ["**", "!**/.next", "!**/node_modules", "!**/pnpm-lock.yaml"]
},
"formatter": {
"enabled": true,
Expand Down
3 changes: 0 additions & 3 deletions open-next.config.ts

This file was deleted.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
"build": "next build",
"start": "next start",
"typecheck": "tsc --noEmit",
"preview": "opennextjs-cloudflare build --config wrangler.opennext.jsonc && opennextjs-cloudflare preview --config wrangler.opennext.jsonc",
"deploy": "opennextjs-cloudflare build --config wrangler.opennext.jsonc && opennextjs-cloudflare deploy --config wrangler.opennext.jsonc",
"cf-typegen": "wrangler types --env-interface CloudflareEnv cloudflare-env.d.ts",
"check": "biome check",
"check:fix": "biome check --fix",
Expand Down Expand Up @@ -37,7 +35,6 @@
"devDependencies": {
"@biomejs/biome": "^2.0.0",
"@cloudflare/vite-plugin": "^1.67.0",
"@opennextjs/cloudflare": "latest",
"@playwright/test": "^1.63.0",
"@types/node": "^26.0.0",
"@types/react": "^19.0.0",
Expand Down
Loading
Loading