Skip to content

プロジェクトの初期化 - #27

Open
ToYama170402 wants to merge 5 commits into
mainfrom
infra/setup-nextjs-project
Open

プロジェクトの初期化#27
ToYama170402 wants to merge 5 commits into
mainfrom
infra/setup-nextjs-project

Conversation

@ToYama170402

Copy link
Copy Markdown
Contributor
  • Next.jsプロジェクトの初期化
    • TypeScript / TailwindCSS 有効化
  • 開発環境の修正
    • devcontainer.json に含まれる過剰な拡張機能を削除
    • 開発コンテナのシェル周りの過剰な機能を削除
  • Dockerfile の整理
    • 開発用イメージもDockerfile 内のマルチステージビルドで生成
    • pnpm の推奨記述を参考に修正
      https://pnpm.io/ja/docker

@ToYama170402
ToYama170402 requested a review from dugite-git April 23, 2026 15:01
@ToYama170402 ToYama170402 self-assigned this Apr 23, 2026
Copilot AI review requested due to automatic review settings April 23, 2026 15:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread .devcontainer/devcontainer.json
Comment thread package.json
Comment thread Dockerfile Outdated
Comment thread Dockerfile Outdated
Comment thread docker-compose.yml
ToYama170402 and others added 2 commits April 25, 2026 20:34
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 25, 2026 12:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread docker-compose.dev.yml
Comment thread Dockerfile
Comment thread pnpm-workspace.yaml
Comment thread README.md Outdated
Comment thread README.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants