Skip to content

Commit db1d92d

Browse files
feat(app-next)!: bump Next.js version to 12.3.7 (#26)
1 parent ef46772 commit db1d92d

File tree

3 files changed

+222
-5
lines changed

3 files changed

+222
-5
lines changed

packages/app-next/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class NextApp {
1111
}
1212

1313
async prepareMiddleware({ dev, distDir }) {
14-
const nextApp = next({ distDir, dir: this._dir, dev });
14+
const nextApp = next({ dir: this._dir, dev, conf: { distDir } });
1515
await nextApp.prepare();
1616
return nextApp.getRequestHandler();
1717
}

packages/app-next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"node": ">=16.0.0"
99
},
1010
"dependencies": {
11-
"next": "10.2.3"
11+
"next": "^12.3.7"
1212
},
1313
"repository": "https://github.com/keystonejs/keystone-5/tree/main/packages/app-next",
1414
"publishConfig": {

yarn.lock

Lines changed: 220 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4724,6 +4724,13 @@ __metadata:
47244724
languageName: node
47254725
linkType: hard
47264726

4727+
"@next/env@npm:12.3.7":
4728+
version: 12.3.7
4729+
resolution: "@next/env@npm:12.3.7"
4730+
checksum: 192456125a9fd8a201eb58ded7d18c7f258bba0f34712f3e8d907a1ff406f44fdaf921e8c083ccdec161f40fad780d3fd1fe670403a33f446bae5a2dc0773d84
4731+
languageName: node
4732+
linkType: hard
4733+
47274734
"@next/polyfill-module@npm:10.2.3":
47284735
version: 10.2.3
47294736
resolution: "@next/polyfill-module@npm:10.2.3"
@@ -4766,6 +4773,97 @@ __metadata:
47664773
languageName: node
47674774
linkType: hard
47684775

4776+
"@next/swc-android-arm-eabi@npm:12.3.4":
4777+
version: 12.3.4
4778+
resolution: "@next/swc-android-arm-eabi@npm:12.3.4"
4779+
conditions: os=android & cpu=arm
4780+
languageName: node
4781+
linkType: hard
4782+
4783+
"@next/swc-android-arm64@npm:12.3.4":
4784+
version: 12.3.4
4785+
resolution: "@next/swc-android-arm64@npm:12.3.4"
4786+
conditions: os=android & cpu=arm64
4787+
languageName: node
4788+
linkType: hard
4789+
4790+
"@next/swc-darwin-arm64@npm:12.3.4":
4791+
version: 12.3.4
4792+
resolution: "@next/swc-darwin-arm64@npm:12.3.4"
4793+
conditions: os=darwin & cpu=arm64
4794+
languageName: node
4795+
linkType: hard
4796+
4797+
"@next/swc-darwin-x64@npm:12.3.4":
4798+
version: 12.3.4
4799+
resolution: "@next/swc-darwin-x64@npm:12.3.4"
4800+
conditions: os=darwin & cpu=x64
4801+
languageName: node
4802+
linkType: hard
4803+
4804+
"@next/swc-freebsd-x64@npm:12.3.4":
4805+
version: 12.3.4
4806+
resolution: "@next/swc-freebsd-x64@npm:12.3.4"
4807+
conditions: os=freebsd & cpu=x64
4808+
languageName: node
4809+
linkType: hard
4810+
4811+
"@next/swc-linux-arm-gnueabihf@npm:12.3.4":
4812+
version: 12.3.4
4813+
resolution: "@next/swc-linux-arm-gnueabihf@npm:12.3.4"
4814+
conditions: os=linux & cpu=arm
4815+
languageName: node
4816+
linkType: hard
4817+
4818+
"@next/swc-linux-arm64-gnu@npm:12.3.4":
4819+
version: 12.3.4
4820+
resolution: "@next/swc-linux-arm64-gnu@npm:12.3.4"
4821+
conditions: os=linux & cpu=arm64 & libc=glibc
4822+
languageName: node
4823+
linkType: hard
4824+
4825+
"@next/swc-linux-arm64-musl@npm:12.3.4":
4826+
version: 12.3.4
4827+
resolution: "@next/swc-linux-arm64-musl@npm:12.3.4"
4828+
conditions: os=linux & cpu=arm64 & libc=musl
4829+
languageName: node
4830+
linkType: hard
4831+
4832+
"@next/swc-linux-x64-gnu@npm:12.3.4":
4833+
version: 12.3.4
4834+
resolution: "@next/swc-linux-x64-gnu@npm:12.3.4"
4835+
conditions: os=linux & cpu=x64 & libc=glibc
4836+
languageName: node
4837+
linkType: hard
4838+
4839+
"@next/swc-linux-x64-musl@npm:12.3.4":
4840+
version: 12.3.4
4841+
resolution: "@next/swc-linux-x64-musl@npm:12.3.4"
4842+
conditions: os=linux & cpu=x64 & libc=musl
4843+
languageName: node
4844+
linkType: hard
4845+
4846+
"@next/swc-win32-arm64-msvc@npm:12.3.4":
4847+
version: 12.3.4
4848+
resolution: "@next/swc-win32-arm64-msvc@npm:12.3.4"
4849+
conditions: os=win32 & cpu=arm64
4850+
languageName: node
4851+
linkType: hard
4852+
4853+
"@next/swc-win32-ia32-msvc@npm:12.3.4":
4854+
version: 12.3.4
4855+
resolution: "@next/swc-win32-ia32-msvc@npm:12.3.4"
4856+
conditions: os=win32 & cpu=ia32
4857+
languageName: node
4858+
linkType: hard
4859+
4860+
"@next/swc-win32-x64-msvc@npm:12.3.4":
4861+
version: 12.3.4
4862+
resolution: "@next/swc-win32-x64-msvc@npm:12.3.4"
4863+
conditions: os=win32 & cpu=x64
4864+
languageName: node
4865+
linkType: hard
4866+
47694867
"@nodelib/fs.scandir@npm:2.1.5":
47704868
version: 2.1.5
47714869
resolution: "@nodelib/fs.scandir@npm:2.1.5"
@@ -5582,7 +5680,7 @@ __metadata:
55825680
version: 0.0.0-use.local
55835681
resolution: "@open-keystone/app-next@workspace:packages/app-next"
55845682
dependencies:
5585-
next: 10.2.3
5683+
next: ^12.3.7
55865684
languageName: unknown
55875685
linkType: soft
55885686

@@ -7223,6 +7321,15 @@ __metadata:
72237321
languageName: node
72247322
linkType: hard
72257323

7324+
"@swc/helpers@npm:0.4.11":
7325+
version: 0.4.11
7326+
resolution: "@swc/helpers@npm:0.4.11"
7327+
dependencies:
7328+
tslib: ^2.4.0
7329+
checksum: 736857d524b41a8a4db81094e9b027f554004e0fa3e86325d85bdb38f7e6459ce022db079edb6c61ba0f46fe8583b3e663e95f7acbd13e51b8da6c34e45bba2e
7330+
languageName: node
7331+
linkType: hard
7332+
72267333
"@szmarczak/http-timer@npm:^1.1.2":
72277334
version: 1.1.2
72287335
resolution: "@szmarczak/http-timer@npm:1.1.2"
@@ -11980,6 +12087,13 @@ __metadata:
1198012087
languageName: node
1198112088
linkType: hard
1198212089

12090+
"caniuse-lite@npm:^1.0.30001406":
12091+
version: 1.0.30001724
12092+
resolution: "caniuse-lite@npm:1.0.30001724"
12093+
checksum: 3285f9c56898ffd9f5fce8f6cff9deb832c5897da8046474f8961a5848771cac293b80200c6311c8a97822dd25b8af699af35042a2033d5ec54017fe4dc6c5e3
12094+
languageName: node
12095+
linkType: hard
12096+
1198312097
"capture-exit@npm:^2.0.0":
1198412098
version: 2.0.0
1198512099
resolution: "capture-exit@npm:2.0.0"
@@ -26867,7 +26981,7 @@ __metadata:
2686726981
languageName: node
2686826982
linkType: hard
2686926983

26870-
"nanoid@npm:^3.1.22, nanoid@npm:^3.1.23, nanoid@npm:^3.3.11, nanoid@npm:^3.3.8":
26984+
"nanoid@npm:^3.1.22, nanoid@npm:^3.1.23, nanoid@npm:^3.3.11, nanoid@npm:^3.3.4, nanoid@npm:^3.3.8":
2687126985
version: 3.3.11
2687226986
resolution: "nanoid@npm:3.3.11"
2687326987
bin:
@@ -27053,6 +27167,75 @@ __metadata:
2705327167
languageName: node
2705427168
linkType: hard
2705527169

27170+
"next@npm:^12.3.7":
27171+
version: 12.3.7
27172+
resolution: "next@npm:12.3.7"
27173+
dependencies:
27174+
"@next/env": 12.3.7
27175+
"@next/swc-android-arm-eabi": 12.3.4
27176+
"@next/swc-android-arm64": 12.3.4
27177+
"@next/swc-darwin-arm64": 12.3.4
27178+
"@next/swc-darwin-x64": 12.3.4
27179+
"@next/swc-freebsd-x64": 12.3.4
27180+
"@next/swc-linux-arm-gnueabihf": 12.3.4
27181+
"@next/swc-linux-arm64-gnu": 12.3.4
27182+
"@next/swc-linux-arm64-musl": 12.3.4
27183+
"@next/swc-linux-x64-gnu": 12.3.4
27184+
"@next/swc-linux-x64-musl": 12.3.4
27185+
"@next/swc-win32-arm64-msvc": 12.3.4
27186+
"@next/swc-win32-ia32-msvc": 12.3.4
27187+
"@next/swc-win32-x64-msvc": 12.3.4
27188+
"@swc/helpers": 0.4.11
27189+
caniuse-lite: ^1.0.30001406
27190+
postcss: 8.4.14
27191+
styled-jsx: 5.0.7
27192+
use-sync-external-store: 1.2.0
27193+
peerDependencies:
27194+
fibers: ">= 3.1.0"
27195+
node-sass: ^6.0.0 || ^7.0.0
27196+
react: ^17.0.2 || ^18.0.0-0
27197+
react-dom: ^17.0.2 || ^18.0.0-0
27198+
sass: ^1.3.0
27199+
dependenciesMeta:
27200+
"@next/swc-android-arm-eabi":
27201+
optional: true
27202+
"@next/swc-android-arm64":
27203+
optional: true
27204+
"@next/swc-darwin-arm64":
27205+
optional: true
27206+
"@next/swc-darwin-x64":
27207+
optional: true
27208+
"@next/swc-freebsd-x64":
27209+
optional: true
27210+
"@next/swc-linux-arm-gnueabihf":
27211+
optional: true
27212+
"@next/swc-linux-arm64-gnu":
27213+
optional: true
27214+
"@next/swc-linux-arm64-musl":
27215+
optional: true
27216+
"@next/swc-linux-x64-gnu":
27217+
optional: true
27218+
"@next/swc-linux-x64-musl":
27219+
optional: true
27220+
"@next/swc-win32-arm64-msvc":
27221+
optional: true
27222+
"@next/swc-win32-ia32-msvc":
27223+
optional: true
27224+
"@next/swc-win32-x64-msvc":
27225+
optional: true
27226+
peerDependenciesMeta:
27227+
fibers:
27228+
optional: true
27229+
node-sass:
27230+
optional: true
27231+
sass:
27232+
optional: true
27233+
bin:
27234+
next: dist/bin/next
27235+
checksum: e209d68013e05c79323414218911c4ce42ff9243ee46f11321c4a641b9cf908aa6c4f8a7b51656704f3d7b8d1c4a2aacb50ed357be9d836529fbbe977adf64b6
27236+
languageName: node
27237+
linkType: hard
27238+
2705627239
"nice-try@npm:^1.0.4":
2705727240
version: 1.0.5
2705827241
resolution: "nice-try@npm:1.0.5"
@@ -31045,6 +31228,17 @@ __metadata:
3104531228
languageName: node
3104631229
linkType: hard
3104731230

31231+
"postcss@npm:8.4.14":
31232+
version: 8.4.14
31233+
resolution: "postcss@npm:8.4.14"
31234+
dependencies:
31235+
nanoid: ^3.3.4
31236+
picocolors: ^1.0.0
31237+
source-map-js: ^1.0.2
31238+
checksum: fe58766ff32e4becf65a7d57678995cfd239df6deed2fe0557f038b47c94e4132e7e5f68b5aa820c13adfec32e523b693efaeb65798efb995ce49ccd83953816
31239+
languageName: node
31240+
linkType: hard
31241+
3104831242
"postcss@npm:^6.0.0, postcss@npm:^6.0.1, postcss@npm:^6.0.23":
3104931243
version: 6.0.23
3105031244
resolution: "postcss@npm:6.0.23"
@@ -35240,7 +35434,7 @@ __metadata:
3524035434
languageName: node
3524135435
linkType: hard
3524235436

35243-
"source-map-js@npm:^1.0.1, source-map-js@npm:^1.2.1":
35437+
"source-map-js@npm:^1.0.1, source-map-js@npm:^1.0.2, source-map-js@npm:^1.2.1":
3524435438
version: 1.2.1
3524535439
resolution: "source-map-js@npm:1.2.1"
3524635440
checksum: 4eb0cd997cdf228bc253bcaff9340afeb706176e64868ecd20efbe6efea931465f43955612346d6b7318789e5265bdc419bc7669c1cebe3db0eb255f57efa76b
@@ -36204,6 +36398,20 @@ __metadata:
3620436398
languageName: node
3620536399
linkType: hard
3620636400

36401+
"styled-jsx@npm:5.0.7":
36402+
version: 5.0.7
36403+
resolution: "styled-jsx@npm:5.0.7"
36404+
peerDependencies:
36405+
react: ">= 16.8.0 || 17.x.x || ^18.0.0-0"
36406+
peerDependenciesMeta:
36407+
"@babel/core":
36408+
optional: true
36409+
babel-plugin-macros:
36410+
optional: true
36411+
checksum: 61959993915f4b1662a682dbbefb3512de9399cf6901969bcadd26ba5441d2b5ca5c1021b233bbd573da2541b41efb45d56c6f618dbc8d88a381ebc62461fefe
36412+
languageName: node
36413+
linkType: hard
36414+
3620736415
"stylehacks@npm:^4.0.0":
3620836416
version: 4.0.3
3620936417
resolution: "stylehacks@npm:4.0.3"
@@ -38557,6 +38765,15 @@ __metadata:
3855738765
languageName: node
3855838766
linkType: hard
3855938767

38768+
"use-sync-external-store@npm:1.2.0":
38769+
version: 1.2.0
38770+
resolution: "use-sync-external-store@npm:1.2.0"
38771+
peerDependencies:
38772+
react: ^16.8.0 || ^17.0.0 || ^18.0.0
38773+
checksum: 5c639e0f8da3521d605f59ce5be9e094ca772bd44a4ce7322b055a6f58eeed8dda3c94cabd90c7a41fb6fa852210092008afe48f7038792fd47501f33299116a
38774+
languageName: node
38775+
linkType: hard
38776+
3856038777
"use@npm:^3.1.0":
3856138778
version: 3.1.1
3856238779
resolution: "use@npm:3.1.1"

0 commit comments

Comments
 (0)