build(deps): upgrade to next 16 and drop the postcss override - #69
Open
rickstaa wants to merge 3 commits into
Open
build(deps): upgrade to next 16 and drop the postcss override#69rickstaa wants to merge 3 commits into
rickstaa wants to merge 3 commits into
Conversation
Next 16 unpins postcss, so the override goes. It also makes Turbopack the default, retires middleware.ts in favour of proxy.ts, and ships flat ESLint configs, which removes the FlatCompat shim and @eslint/eslintrc. The new React Compiler lint rules flag ~40 existing call sites and are switched off until that refactor lands. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Nothing runs with --webpack; Turbopack is the only bundler in use, so the block and the turbopack stub that existed to satisfy it both go. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.
Stacked on #67. Upgrades next and eslint-config-next to 16.3.4, which unpins postcss and removes the need for the postcss override. The esbuild override stays until drizzle-kit 1.0 drops its deprecated loader.
Migration changes: middleware.ts renamed to proxy.ts (same code, new export name); an empty turbopack config marks the webpack watch block as a deliberate --webpack fallback; eslint.config.mjs imports the flat configs directly, so @eslint/eslintrc is gone; tsconfig picks up the jsx and include changes Next 16 applies; agentRules is disabled so next dev stops appending a generated block to CLAUDE.md.
The three React Compiler lint rules new in eslint-plugin-react-hooks 7 (set-state-in-effect, refs, static-components) flag about 40 existing sites and are turned off in the config with a note. Build, lint, typecheck, and vitest pass; the proxy was smoke-tested under CONSOLE_DEV_MOCK.