Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

chore(web): upgrade Next.js to v16 with React 19.2

Richie McIlroy362bf0c9866f
diff --git a/apps/web/package.json b/apps/web/package.json
index f85284e61..33e03f6e3 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -4,8 +4,8 @@
"private": true,
"scripts": {
"dev": "NODE_OPTIONS='--disable-warning=DEP0169' dotenv -e ../../.env -- next dev",
- "build": "next build",
- "build:web": "next build",
+ "build": "next build --turbopack",
+ "build:web": "next build --turbopack",
"build:docker": "cd ../.. && docker build -t cap-web-docker . --no-cache --progress=plain",
"start": "NODE_OPTIONS='--disable-warning=DEP0169' next start",
"compress-images": "bash tools/compress-images.sh",
@@ -110,16 +110,14 @@
"media-chrome": "^4.12.0",
"moment": "^2.30.1",
"motion": "^12.18.1",
- "next": "15.5.9",
+ "next": "16.2.1",
"next-auth": "^4.24.5",
- "next-contentlayer2": "^0.5.3",
"next-mdx-remote": "^6.0.0",
- "nextjs-cors": "^2.2.0",
"posthog-js": "^1.215.3",
"posthog-node": "^4.11.2",
"prettier": "^3.7.4",
- "react": "19.1.1",
- "react-dom": "19.1.1",
+ "react": "19.2.4",
+ "react-dom": "19.2.4",
"react-email": "^4.2.11",
"react-hls-player": "^3.0.7",
"react-hook-form": "^7.49.2",
@@ -143,12 +141,10 @@
"tldts": "^7.0.11",
"ua-parser-js": "^1.0.38",
"uuid": "^9.0.1",
- "workflow": "^4.0.1-beta.42",
+ "workflow": "4.2.0-beta.73",
"zod": "^3.25.76"
},
"devDependencies": {
- "@babel/plugin-transform-private-methods": "^7.27.1",
- "@babel/plugin-transform-private-property-in-object": "^7.27.1",
"@smithy/types": "^4.3.1",
"@types/canvas-confetti": "^1.9.0",
"@types/file-saver": "^2.0.7",
@@ -156,17 +152,16 @@
"@types/jsdom": "^21.1.7",
"@types/lodash": "^4.17.5",
"@types/node": "^20.11.5",
- "@types/react": "19.1.13",
- "@types/react-dom": "19.1.9",
+ "@types/react": "19.2.14",
+ "@types/react-dom": "19.2.3",
"@types/react-responsive-masonry": "^2.6.0",
"@types/ua-parser-js": "^0.7.39",
"@types/uuid": "^9.0.8",
"@vitest/coverage-v8": "^3.2.0",
"@vitest/ui": "^3.2.0",
"autoprefixer": "^10.4.14",
- "babel-loader": "^10.0.0",
"eslint": "^9.30.1",
- "eslint-config-next": "15.5.9",
+ "eslint-config-next": "16.2.1",
"postcss": "^8.4.23",
"tailwindcss": "^3",
"typescript": "^5.8.3",
diff --git a/package.json b/package.json
index fd9401507..6bbc2b536 100644
--- a/package.json
+++ b/package.json
@@ -58,6 +58,13 @@
"turbo": "^2.3.4",
"typescript": "^5.8.3"
},
+ "pnpm": {
+ "peerDependencyRules": {
+ "allowedVersions": {
+ "next-auth>next": ">=16.0.0"
+ }
+ }
+ },
"packageManager": "[email protected]",
"name": "cap",
"engines": {