プロジェクトの初期化 - #27
Open
ToYama170402 wants to merge 5 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Next.js(TypeScript + TailwindCSS)プロジェクトを再初期化し、開発コンテナ/Compose/Docker ビルド構成を整理して、pnpm を前提とした開発・デプロイに移行するPRです。
Changes:
src/app配下へ App Router 構成を追加し、Tailwind v4(@tailwindcss/postcss)前提のスタイルに更新- Yarn/SCSS/Stylelint など旧構成を削除し、ESLint Flat Config + pnpm へ移行
- Dockerfile を pnpm + マルチステージ(
dev/runner)に整理し、Compose/Devcontainer 設定を簡素化
Reviewed changes
Copilot reviewed 27 out of 37 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| yarn.lock | Yarn ロックファイルを削除(pnpm へ移行) |
| tsconfig.json | JSX/paths/include 等を src 構成に合わせて更新 |
| src/app/page.tsx | Next.js テンプレートのトップページを追加 |
| src/app/layout.tsx | ルートレイアウト(Geist フォント/グローバルCSS)を追加 |
| src/app/globals.css | Tailwind v4 の記法を用いたグローバルスタイルを追加 |
| src/app/favicon.ico | favicon を追加 |
| sql/initdb/init.sql | DB 初期化SQLを削除 |
| sample.env | Postgres 向けサンプル env を削除 |
| public/window.svg | テンプレート用アイコンを追加 |
| public/vercel.svg | Vercel ロゴ SVG を差し替え |
| public/globe.svg | テンプレート用アイコンを追加 |
| public/file.svg | テンプレート用アイコンを追加 |
| postcss.config.mjs | @tailwindcss/postcss 設定を追加 |
| pnpm-workspace.yaml | pnpm ワークスペース設定(ignoredBuiltDependencies)を追加 |
| package.json | pnpm/ESLint/Tailwind 前提に更新、依存バージョン更新 |
| next.config.ts | output: "standalone" を設定 |
| next.config.mjs | 旧 Next config を削除 |
| eslint.config.mjs | ESLint Flat Config を追加(Next 推奨の設定を参照) |
| docker-compose.yml | web のみへ簡素化、runner ターゲットを利用 |
| docker-compose.dev.yml | dev ターゲット利用へ簡素化 |
| app/page.tsx | 旧 app/ 配下のページを削除(src/app へ移行) |
| app/layout.tsx | 旧 app/ 配下のレイアウトを削除 |
| app/globals.scss | 旧 SCSS グローバルスタイルを削除 |
| app/components/size.scss | 旧 SCSS ユーティリティを削除 |
| app/components/color.scss | 旧 SCSS 変数を削除 |
| app/components/button/button.tsx | 旧ボタンコンポーネントを削除 |
| app/components/button/button.module.scss | 旧ボタンの SCSS module を削除 |
| app/api/hello/route.ts | 旧 API ルートを削除 |
| Dockerfile.dev | 旧 開発用 Dockerfile を削除(Dockerfile に統合) |
| Dockerfile | pnpm + マルチステージ(dependencies/builder/dev/runner)へ刷新 |
| .vscode/setting.json | VS Code ローカル設定ファイルを削除 |
| .stylelintrc.js | Stylelint 設定を削除 |
| .gitignore | Yarn/pnpm/env など無視パターンを更新 |
| .eslintrc.json | 旧 ESLint 設定を削除(Flat Config へ移行) |
| .devcontainer/devcontainer.json | devcontainer 構成を整理(compose/feature/settings/extensions) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 28 out of 38 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
devcontainer.jsonに含まれる過剰な拡張機能を削除Dockerfile内のマルチステージビルドで生成https://pnpm.io/ja/docker