chore: upgrade dependencies and fix compiling issues - #536
Open
Marcel-TO wants to merge 7 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR upgrades frontend/build dependencies (Next.js, Fumadocs, Radix UI, TypeScript/ESLint tooling, etc.) and applies a handful of code/config updates to resolve resulting type/compile/runtime integration issues across the app.
Changes:
- Upgraded major dependencies and added
typescript-eslintwith overrides to stabilize the lint toolchain. - Updated MDX/image handling and Fumadocs i18n/layout integration to match updated package APIs/types.
- Adjusted TS path mapping and a few UI/component-level typings/imports to address compilation/type issues.
Reviewed changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tsconfig.json | Updates TS path mapping; removes baseUrl (currently problematic with paths). |
| src/mdx-components.tsx | Adjusts MDX img component mapping to satisfy updated typing expectations. |
| src/lib/layout.shared.tsx | Updates base layout options to align with updated Fumadocs layout props. |
| src/components/ui/glow-effect.tsx | Refactors union type formatting for mode. |
| src/app/[lang]/layout.tsx | Updates defineI18nUI call signature to match updated API. |
| src/app/[lang]/(home)/projects/[slug]/page.tsx | Switches social icons from lucide to react-icons for GitHub/Twitter(X). |
| source.config.ts | Adds remarkImageOptions.onError = "ignore" to prevent build failures on external image size fetch errors. |
| package.json | Dependency/devDependency upgrades; adds typescript-eslint and pins related packages via overrides. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ParameterList, | ||
| OfficialDocumentationNotice, | ||
| img: ImageZoom, | ||
| img: ImageZoom as unknown as NonNullable<MDXComponents["img"]>, |
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.
Pull Request
Description
This PR focuses on bumping all dependencies to latest versions (as long as it is not breaking anything) and fix compile issues that result by changes or deprecations
Type of Change
Checklist
bun run devbun formatbun audit(no critical vulnerabilities)Thank you for contributing!