infisical icon indicating copy to clipboard operation
infisical copied to clipboard

Updated nextjs to v13

Open akhilmhdh opened this issue 5 months ago • 0 comments

Description 📣

This PR updates our frontend from nextjs v12 to v13 and updated frontend docker to node 20 resolving sharp lib error. Due to introduction of app routing in nextjs the standalone server has some internal changes. Thus we are serving the scripts needed for nextjs standalone from the fastify itself now.

Removed a lot of unused libraries from frontend like redux, emotion etc.

Long run we will be migrating to normal react with something like vite for ease of maintenance.

Most of the frontend changes from from nextjs 12 -> 13 codemods

Type ✨

  • [ ] Bug fix
  • [ ] New feature
  • [ ] Breaking change
  • [ ] Documentation

Tests 🛠️

# Here's some code block to paste some code snippets

akhilmhdh avatar Sep 15 '24 17:09 akhilmhdh