chore: update project config and files formatting#8
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
Updates project/tooling configuration and reformats UI components as part of moving the repo to updated Next.js 16-era defaults (Bun + formatting/lint tooling).
Changes:
- Update TypeScript/Next config (tsconfig tweaks, enable
reactCompiler). - Add/replace tooling configs (Tailwind + PostCSS config, ESLint flat config in TS, Prettier config, commitlint, bunfig, lint-staged, VS Code settings).
- Reformat component and app files (mostly className ordering/quote style + small a11y tweak in
Counter).
Reviewed changes
Copilot reviewed 19 out of 22 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| tsconfig.json | Modernizes TS target/lib/jsx settings and expands include globs |
| tailwind.config.ts | Adds Tailwind configuration (content, dark mode, custom animation) |
| postcss.config.ts | Replaces PostCSS config with TS version using @tailwindcss/postcss |
| postcss.config.mjs | Removes prior PostCSS config |
| eslint.config.ts | Replaces ESLint flat config with TS-based config using Next presets |
| eslint.config.mjs | Removes prior FlatCompat-based ESLint config |
| next.config.ts | Enables React Compiler |
| package.json | Updates package metadata/deps and adds formatting/linting tools |
| bun.lock | Lockfile updates reflecting dependency/config changes |
| lint-staged.config.js | Adds lint-staged configuration |
| .prettierrc.json | Adds Prettier configuration incl. Tailwind plugin |
| commitlint.config.ts | Adds commitlint config |
| bunfig.toml | Adds Bun test/coverage config |
| .vscode/settings.json | Sets Bun as package manager in VS Code |
| .vscode/launch.json | Switches debug runtime from npm to Bun and reformats JSON |
| .vscode/extensions.json | Adds recommended VS Code extensions list |
| example.env | Adds example DATABASE_URL |
| src/components/IncidentForm.tsx | Formatting-only JSX/utility class reordering |
| src/components/IncidentCard.tsx | Formatting-only JSX/utility class reordering |
| src/components/Counter.tsx | Formatting + adds aria-controls/id for history panel |
| src/app/page.tsx | Formatting-only JSX/utility class reordering |
| src/app/layout.tsx | Formatting + minor layout markup compaction |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
TIP This summary will be updated as you push new changes. Give us feedback
3693c97 to
f073d6f
Compare
f073d6f to
e821fea
Compare
e821fea to
2f8fc0e
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 22 out of 26 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
2f8fc0e to
96bdc89
Compare
96bdc89 to
79fd6f8
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 22 out of 26 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
79fd6f8 to
b491a08
Compare
Description
This PR uses the latest config and dependencies for Next.js 16.
Related issues
Testing
Screenshots
Notes