infisical
infisical copied to clipboard
Updated nextjs to v13
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
- [ ] I have read the contributing guide, agreed and acknowledged the code of conduct. 📝