Skip to content

Update to Next.js 16 - #27

Open
clicktodev wants to merge 31 commits into
OpenFusionProject:mainfrom
clicktodev:next-15
Open

Update to Next.js 16#27
clicktodev wants to merge 31 commits into
OpenFusionProject:mainfrom
clicktodev:next-15

Conversation

@clicktodev

@clicktodev clicktodev commented Oct 13, 2025

Copy link
Copy Markdown
Contributor

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:

  • Migrated ESLint configuration from .eslintrc.json to a new eslint.config.mjs file, using the latest eslint-config-next presets and updating custom rules for better maintainability. [1] [2]
  • Replaced next.config.mjs with a new TypeScript-based next.config.ts, adding the distDir option, enabling typedRoutes, and ensuring compatibility with Tauri 2.0 and Next.js 16. [1] [2]
  • Updated package.json to use the latest versions of dependencies (e.g., Next.js 16, React 19), adjusted scripts for new CLI options, and added devEngines for specifying the package manager.

Easter Eggs Feature Refactor:

  • Refactored the Easter Eggs (snowflakes) feature from a global utility (app/easter-eggs.ts) to a React component (app/components/EasterEggs.tsx), ensuring proper lifecycle management and React integration. Updated usage in app/page.tsx to use the new component. [1] [2] [3] [4] [5] [6]

@clicktodev

Copy link
Copy Markdown
Contributor Author

@CakeLancelot

@CakeLancelot

Copy link
Copy Markdown
Member

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
@clicktodev

clicktodev commented Oct 16, 2025

Copy link
Copy Markdown
Contributor Author

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

@clicktodev

Copy link
Copy Markdown
Contributor Author

note: i created a new next 15 project and copied the changes to this project so everything is the same as the official boilerplate

@clicktodev

Copy link
Copy Markdown
Contributor Author

if u could please merge so i could fix the broken effects in a different pr

@clicktodev clicktodev changed the title Update to Next.js 15 Update to Next.js 16 Nov 5, 2025
@yungcomputerchair
yungcomputerchair force-pushed the main branch 2 times, most recently from edf6018 to 7ecbdfd Compare May 1, 2026 15:29
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