From 7aef610d85b99941c5ccd9ab03d631c4b9b0d2ac Mon Sep 17 00:00:00 2001 From: "Sakamoto, Kazunori" Date: Mon, 12 Jun 2023 18:42:40 +0900 Subject: [PATCH] fix(@blitzjs/generator): make Next.js version pinning to 13.4.5 (#4150) * fix: make Next.js version stick to 13.3.4 * fix: upgrade Next.js from 13.3.4 to 13.4.5 --------- Co-authored-by: Siddharth Suresh --- .changeset/large-hairs-battle.md | 5 +++++ packages/generator/templates/app/package.js.json | 2 +- packages/generator/templates/app/package.ts.json | 2 +- packages/generator/templates/minimalapp/package.js.json | 2 +- packages/generator/templates/minimalapp/package.ts.json | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/large-hairs-battle.md diff --git a/.changeset/large-hairs-battle.md b/.changeset/large-hairs-battle.md new file mode 100644 index 0000000000..2a3a7645eb --- /dev/null +++ b/.changeset/large-hairs-battle.md @@ -0,0 +1,5 @@ +--- +"@blitzjs/generator": patch +--- + +Make Next.js version stick to 13.4.5 when generating a new app diff --git a/packages/generator/templates/app/package.js.json b/packages/generator/templates/app/package.js.json index 8eecc3f3f3..b7ebe0ae66 100644 --- a/packages/generator/templates/app/package.js.json +++ b/packages/generator/templates/app/package.js.json @@ -27,7 +27,7 @@ "@blitzjs/rpc": "latest", "@prisma/client": "4.6.1", "blitz": "latest", - "next": "^13.3.0", + "next": "13.4.5", "prisma": "4.6.1", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/packages/generator/templates/app/package.ts.json b/packages/generator/templates/app/package.ts.json index 7bc92a581c..e3376ecdac 100644 --- a/packages/generator/templates/app/package.ts.json +++ b/packages/generator/templates/app/package.ts.json @@ -27,7 +27,7 @@ "@blitzjs/rpc": "latest", "@prisma/client": "4.6.1", "blitz": "latest", - "next": "^13.3.0", + "next": "13.4.5", "prisma": "4.6.1", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/packages/generator/templates/minimalapp/package.js.json b/packages/generator/templates/minimalapp/package.js.json index c5a2cffb38..f69ca19b8b 100644 --- a/packages/generator/templates/minimalapp/package.js.json +++ b/packages/generator/templates/minimalapp/package.js.json @@ -20,7 +20,7 @@ "dependencies": { "@blitzjs/next": "latest", "blitz": "latest", - "next": "^13.3.0", + "next": "13.4.5", "react": "18.2.0", "react-dom": "18.2.0", "ts-node": "10.9.1" diff --git a/packages/generator/templates/minimalapp/package.ts.json b/packages/generator/templates/minimalapp/package.ts.json index 835f8c44cc..d15937d53f 100644 --- a/packages/generator/templates/minimalapp/package.ts.json +++ b/packages/generator/templates/minimalapp/package.ts.json @@ -20,7 +20,7 @@ "dependencies": { "@blitzjs/next": "latest", "blitz": "latest", - "next": "^13.3.0", + "next": "13.4.5", "react": "18.2.0", "react-dom": "18.2.0", "ts-node": "10.9.1"