Update to Next.js 16 - #27
Conversation
…pdate magic-snowflakes to version 7.0.2
|
Code looks mostly fine, can't test until I'm home though. |
this will throw error if port is unavailable instead of auto selecting the next available port
|
i made more settings such as the port and export folder explicit to avoid breaking defaults in the future. also i re-enabled the hook dep array lint rule but set it as warning. i'll fix them in a future PR because it seems there are several badly implemented effects |
|
note: i created a new next 15 project and copied the changes to this project so everything is the same as the official boilerplate |
|
if u could please merge so i could fix the broken effects in a different pr |
…rade several packages
… turbopack for stability
edf6018 to
7ecbdfd
Compare
|
can we merge this? ive been using this build for months and its working fine |
|
Sorry, but there are too many unrelated changes here. Please make a new PR only changing what is necessary for updating Next.js, and in the future try to keep it to where it is one feature or update per PR so that it is easy for us to review and merge. |
|
alright done |
This pull request introduces several important updates to the project, focusing on codebase modernization, improved configuration, and enhanced user experience. Key changes include migrating configuration files to modern formats, updating dependencies for compatibility with the latest frameworks, and refactoring the Easter Eggs feature for better integration with React.
Configuration and Tooling Modernization:
.eslintrc.jsonto a neweslint.config.mjsfile, using the latesteslint-config-nextpresets and updating custom rules for better maintainability. [1] [2]next.config.mjswith a new TypeScript-basednext.config.ts, adding thedistDiroption, enablingtypedRoutes, and ensuring compatibility with Tauri 2.0 and Next.js 16. [1] [2]package.jsonto use the latest versions of dependencies (e.g., Next.js 16, React 19), adjusted scripts for new CLI options, and addeddevEnginesfor specifying the package manager.Easter Eggs Feature Refactor:
app/easter-eggs.ts) to a React component (app/components/EasterEggs.tsx), ensuring proper lifecycle management and React integration. Updated usage inapp/page.tsxto use the new component. [1] [2] [3] [4] [5] [6]