Skip to content

Conversation

@devlasbe
Copy link
Owner

Summary

This PR updates all project dependencies to their latest versions and fixes compatibility issues introduced by Next.js 15, which now requires awaiting the cookies() function call.

Key Changes

Dependency Updates

  • Backend (apps/server):

    • Updated NestJS packages from v10.0.0 to v10.4.22
    • Updated supporting libraries (axios, bcrypt, class-validator, pg, etc.) to latest stable versions
    • Updated dev dependencies including TypeScript (5.1.3 → 5.9.3), ESLint, and testing tools
  • Frontend (apps/web):

    • Updated Next.js from 14.2.35 to 15.5.9
    • Updated React from 18.x to 18.3.1
    • Updated Radix UI components to latest versions
    • Updated dev dependencies including TypeScript, Playwright, and ESLint

Next.js 15 Compatibility Fixes

  • Modified cookies() calls to use await syntax in:
    • apps/web/app/admin/layout.tsx
    • apps/web/app/layout.tsx
    • apps/web/utils/fetchService.ts

Dynamic Route Parameter Updates

  • Updated apps/web/app/brand/[name]/page.tsx to handle params as a Promise:
    • Changed params type from direct object to Promise<object>
    • Updated generateMetadata to await params before destructuring
    • Updated BrandPage component to be async and await params

Configuration Updates

  • Formatted apps/web/tsconfig.json for better readability
  • Added "target": "ES2017" to TypeScript compiler options

Notes

All version changes use exact pinning (removed ^ and ~ prefixes) to ensure consistent deployments across environments.

Breaking Changes 대응:
- cookies() 비동기화 (await 추가)
- params Promise 타입으로 변경
- 의존성 업데이트: next, eslint-config-next, @next/third-parties
@vercel
Copy link

vercel bot commented Jan 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
open-franchise-web Ready Ready Preview, Comment Jan 26, 2026 1:06pm

@devlasbe devlasbe changed the base branch from main to develop January 26, 2026 13:12
@devlasbe devlasbe merged commit f3b103d into develop Jan 26, 2026
3 checks passed
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.

3 participants