From 9f82c6a9c55d88388792d65cb1122b1639fbdccc Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Wed, 3 Dec 2025 18:41:16 +0100 Subject: [PATCH] feat: patch react in templates Signed-off-by: David Dal Busco --- templates/nextjs-example/package.json | 14 +++++--------- templates/nextjs-starter/package.json | 14 +++++--------- templates/react-example/package.json | 8 ++++---- templates/react-starter/package.json | 8 ++++---- templates/react-ts-example/package.json | 8 ++++---- templates/react-ts-starter/package.json | 8 ++++---- 6 files changed, 26 insertions(+), 34 deletions(-) diff --git a/templates/nextjs-example/package.json b/templates/nextjs-example/package.json index e64092f..b8fa6a7 100644 --- a/templates/nextjs-example/package.json +++ b/templates/nextjs-example/package.json @@ -15,9 +15,9 @@ "@junobuild/core": "^3.2.0", "@junobuild/functions": "^0.5.0", "nanoid": "^5.1.5", - "next": "16.0.0", - "react": "19.2.0", - "react-dom": "19.2.0" + "next": "16.0.7", + "react": "19.2.1", + "react-dom": "19.2.1" }, "devDependencies": { "@junobuild/config": "^2.6.0", @@ -25,17 +25,13 @@ "@next/eslint-plugin-next": "16.0.0", "@tailwindcss/postcss": "^4.1.13", "@types/node": "^24", - "@types/react": "19.2.2", - "@types/react-dom": "19.2.2", + "@types/react": "19.2.7", + "@types/react-dom": "19.2.3", "eslint": "^9", "eslint-config-next": "16.0.0", "postcss": "^8", "prettier-plugin-tailwindcss": "^0.6.14", "tailwindcss": "^4.1.13", "typescript": "^5" - }, - "overrides": { - "@types/react": "19.2.2", - "@types/react-dom": "19.2.2" } } diff --git a/templates/nextjs-starter/package.json b/templates/nextjs-starter/package.json index cefdc22..97ee875 100644 --- a/templates/nextjs-starter/package.json +++ b/templates/nextjs-starter/package.json @@ -14,26 +14,22 @@ "dependencies": { "@junobuild/core": "^3.2.0", "@junobuild/functions": "^0.5.0", - "next": "16.0.0", - "react": "19.2.0", - "react-dom": "19.2.0" + "next": "16.0.7", + "react": "19.2.1", + "react-dom": "19.2.1" }, "devDependencies": { "@junobuild/config": "^2.6.0", "@junobuild/nextjs-plugin": "^4.5.0", "@tailwindcss/postcss": "^4.1.13", "@types/node": "^24", - "@types/react": "19.2.2", - "@types/react-dom": "19.2.2", + "@types/react": "19.2.7", + "@types/react-dom": "19.2.3", "eslint": "^9", "eslint-config-next": "16.0.0", "postcss": "^8", "prettier-plugin-tailwindcss": "^0.6.14", "tailwindcss": "^4.1.13", "typescript": "^5" - }, - "overrides": { - "@types/react": "19.2.2", - "@types/react-dom": "19.2.2" } } diff --git a/templates/react-example/package.json b/templates/react-example/package.json index 3cea0fb..93b81ef 100644 --- a/templates/react-example/package.json +++ b/templates/react-example/package.json @@ -16,8 +16,8 @@ "@junobuild/core": "^3.2.0", "@junobuild/functions": "^0.5.0", "nanoid": "^5.1.5", - "react": "19.1.1", - "react-dom": "19.1.1" + "react": "^19.2.1", + "react-dom": "^19.2.1" }, "devDependencies": { "@eslint/js": "^9.34.0", @@ -25,8 +25,8 @@ "@junobuild/vite-plugin": "^4.4.0", "@tailwindcss/postcss": "^4.1.13", "@tailwindcss/vite": "^4.1.13", - "@types/react": "19.1.12", - "@types/react-dom": "19.1.9", + "@types/react": "^19.2.7", + "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^5.0.2", "eslint": "^9.34.0", "eslint-plugin-react": "^7.37.5", diff --git a/templates/react-starter/package.json b/templates/react-starter/package.json index 7282da1..4249f95 100644 --- a/templates/react-starter/package.json +++ b/templates/react-starter/package.json @@ -15,8 +15,8 @@ "dependencies": { "@junobuild/core": "^3.2.0", "@junobuild/functions": "^0.5.0", - "react": "19.1.1", - "react-dom": "19.1.1" + "react": "^19.2.1", + "react-dom": "^19.2.1" }, "devDependencies": { "@eslint/js": "^9.34.0", @@ -24,8 +24,8 @@ "@junobuild/vite-plugin": "^4.4.0", "@tailwindcss/postcss": "^4.1.13", "@tailwindcss/vite": "^4.1.13", - "@types/react": "19.1.12", - "@types/react-dom": "19.1.9", + "@types/react": "^19.2.7", + "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^5.0.2", "eslint": "^9.34.0", "eslint-plugin-react": "^7.37.5", diff --git a/templates/react-ts-example/package.json b/templates/react-ts-example/package.json index 85c6896..ad051f5 100644 --- a/templates/react-ts-example/package.json +++ b/templates/react-ts-example/package.json @@ -16,8 +16,8 @@ "@junobuild/core": "^3.2.0", "@junobuild/functions": "^0.5.0", "nanoid": "^5.1.5", - "react": "19.1.1", - "react-dom": "19.1.1" + "react": "^19.2.1", + "react-dom": "^19.2.1" }, "devDependencies": { "@eslint/js": "^9.34.0", @@ -25,8 +25,8 @@ "@junobuild/vite-plugin": "^4.4.0", "@tailwindcss/postcss": "^4.1.13", "@tailwindcss/vite": "^4.1.13", - "@types/react": "19.1.12", - "@types/react-dom": "19.1.9", + "@types/react": "^19.2.7", + "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^5.0.2", "eslint": "^9.34.0", "eslint-plugin-react": "^7.37.5", diff --git a/templates/react-ts-starter/package.json b/templates/react-ts-starter/package.json index c8d32e8..056b77c 100644 --- a/templates/react-ts-starter/package.json +++ b/templates/react-ts-starter/package.json @@ -15,8 +15,8 @@ "dependencies": { "@junobuild/core": "^3.2.0", "@junobuild/functions": "^0.5.0", - "react": "19.1.1", - "react-dom": "19.1.1" + "react": "^19.2.1", + "react-dom": "^19.2.1" }, "devDependencies": { "@eslint/js": "^9.34.0", @@ -24,8 +24,8 @@ "@junobuild/vite-plugin": "^4.4.0", "@tailwindcss/postcss": "^4.1.13", "@tailwindcss/vite": "^4.1.13", - "@types/react": "19.1.12", - "@types/react-dom": "19.1.9", + "@types/react": "^19.2.7", + "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^5.0.2", "eslint": "^9.34.0", "eslint-plugin-react-hooks": "^5.2.0",