-
Notifications
You must be signed in to change notification settings - Fork 25
Update dependencies and fix TypeScript/ESLint config #252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Update 24 packages to their latest minor/patch versions: - @eslint/* packages - @playwright/test 1.56.1 → 1.57.0 - @radix-ui/react-label, react-slot - @swc/core 1.13.5 → 1.15.3 - @tailwindcss/postcss, tailwindcss 4.1.14 → 4.1.17 - @types/node, @types/react, @types/react-dom, @types/lodash - @typescript-eslint/* 8.46.1 → 8.48.0 - globals, lint-staged, lucide-react, next-intl, next-plausible - prettier, react-hook-form, tailwind-merge, zod 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
- Upgrade Next.js 15.5.6 → 16.0.6 (now uses Turbopack by default) - Upgrade eslint-config-next 15.5.6 → 16.0.6 - Upgrade @eslint/compat 1.4.0 → 2.0.0 - Upgrade jest-extended 6.0.0 → 7.0.0 - Migrate eslint.config.mjs to native flat config (remove FlatCompat) - Rename middleware.ts → proxy.ts for Next.js 16 compatibility - Update lint-staged to use eslint directly (next lint removed in v16) - Add eslint-disable for legitimate setState-in-effect patterns - Add eslint-disable for known TanStack Table + React Compiler issue 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
- Remove deprecated baseUrl from tsconfig.json, add rootDir - Change moduleResolution from "node" to "bundler" - Update ESLint config to use FlatCompat for legacy eslint-config-next - Remove invalid react-hooks eslint-disable comments (rules don't exist in current version) - Downgrade Next.js and eslint-config-next from 16.x to 15.5.7 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates project dependencies (minor/patch updates and Next.js 15.5.7), fixes TypeScript configuration deprecation warnings by removing baseUrl and switching to moduleResolution: "bundler", and modernizes the ESLint flat config to use FlatCompat for legacy compatibility with eslint-config-next.
Key Changes:
- TypeScript config modernization: removed
baseUrl, changedmoduleResolutionto "bundler", addedrootDir - ESLint flat config refactored to use
FlatCompatfor Next.js config compatibility - Multiple dependency updates across dev and production packages
- Updated lint-staged to use
eslintcommand instead ofnext lint - Added new proxy.ts middleware file for next-intl
Reviewed changes
Copilot reviewed 3 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tsconfig.json | Removed deprecated baseUrl, switched to moduleResolution: "bundler", added rootDir and .next/dev/types/**/*.ts to includes |
| proxy.ts | New middleware file for next-intl internationalization setup |
| package.json | Updated 30+ dependencies including Next.js (15.5.6→15.5.7), TypeScript tooling, Radix UI, and various dev dependencies |
| package-lock.json | Lockfile updates reflecting package.json changes with resolved dependency trees |
| eslint.config.mjs | Refactored to use ESLint flat config with FlatCompat, removed direct React plugin imports, simplified ignores pattern |
| .lintstagedrc.js | Changed from next lint --file to eslint command for consistency with new config |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
proxy.ts is a Next.js 16 feature - Next.js 15.x still uses middleware.ts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
There was a problem hiding this comment.
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 3 out of 5 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
baseUrl, usemoduleResolution: "bundler")FlatCompatfor legacyeslint-config-nextcompatibilityreact-hookseslint-disable comments for non-existent rulesTest plan
npx tsc --noEmit)npm run build)npm run lint)🤖 Generated with Claude Code