Skip to content
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

Upgrade to Next.js 15 and Update ESLint Configuration #143

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ggfevans
Copy link
Contributor

This commit upgrades the project to Next.js 15 while refining coding practices and updating the configuration for improved maintainability.

Changes:

Framework Upgrade

  • Migrated to Next.js 15, addressing breaking changes and updating dependencies.

ESLint Configuration

  • Replaced .eslintrc with eslint.config.mjs for updated configuration.
  • Updated ESLint plugins and rules to reflect current standards.

Dependency Updates

  • Upgraded react, next, and several ESLint plugins.
  • Added sharp to optimize image processing.

Code Improvements

  • Refactored logic in Header.tsx and TimelineItem.tsx for better readability.
  • Updated imports to use the type keyword for type-only references.

Accessibility

  • Added title attributes to buttons and images in the Testimonials component.

These changes improve project maintainability and align with modern development practices.

* Refactor: update autoprefixer version and remove resolution entry

* Chore: upgrade Next.js and React to latest versions

* Chore: add sharp library as a dependency

* Chore: add type-check, lint:fix, and format scripts to package.json

* Chore: reorganize scripts in package.json for better readability

* Chore: remove unused type definitions for Tailwind CSS and Webpack

* Chore: update dependencies in package.json to latest versions

* Chore: remove eslint-plugin-react-native and its dependencies from package.json and yarn.lock

* Chore: migrate ESLint configuration from .eslintrc to eslint.config.mjs

* Chore: add ESLint compatibility packages to devDependencies

* Chore: downgrade TypeScript version from 5.7.2 to 5.6.3 for eslint compatability

* Chore: remove package-lock.json generated by npx for ESlint config migration

* Fix: replace Dialog.Overlay with a div for overlay in MobileNav component

* Refactor: use 'type' keyword for type imports in TimelineItem and Testimonials components

* Chore: update TypeScript configuration reference link in next-env.d.ts

Note: This change was automatically made by Next.js dependencies.

* Chore: update TypeScript version specification to allow minor updates

* Fix: disable react-memo require-usememo rule and clean up eslint config

* Chore: update TypeScript version specification to exact version 5.6.3

* Refactor: simplify section update logic in Header component and remove unnecessary whitespace in useWindow hook

* Chore: Remove swcMinify option from Next.js configuration

As of Next.js 15, the swcMinify option is no longer needed because SWC minification is enabled by default.

* Enhance accessibility: add titles to buttons and images in Testimonials component

* Chore: add @types/classnames to package.json and update yarn.lock
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.

1 participant