From 781d11d7a2195c6eaaac8372045046fa55dc7fc1 Mon Sep 17 00:00:00 2001 From: Timothy Lin Date: Wed, 17 Apr 2024 16:06:01 +0800 Subject: [PATCH] update to next 14.2.1 --- app/tag-data.json | 1 - package.json | 6 +- yarn.lock | 211 +++++++++++++++++++++++++++++++--------------- 3 files changed, 146 insertions(+), 72 deletions(-) diff --git a/app/tag-data.json b/app/tag-data.json index 7bacbaf8c4..67c072e8d2 100644 --- a/app/tag-data.json +++ b/app/tag-data.json @@ -8,7 +8,6 @@ "github": 1, "guide": 5, "tailwind": 3, - "hello": 1, "holiday": 1, "canada": 1, "images": 1, diff --git a/package.json b/package.json index cf8905d714..5d080620ec 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "prepare": "husky" }, "dependencies": { - "@next/bundle-analyzer": "14.1.4", + "@next/bundle-analyzer": "14.2.1", "@tailwindcss/forms": "^0.5.7", "@tailwindcss/typography": "^0.5.12", "autoprefixer": "^10.4.13", @@ -22,7 +22,7 @@ "gray-matter": "^4.0.2", "hast-util-from-html-isomorphic": "^2.0.0", "image-size": "1.0.0", - "next": "14.1.4", + "next": "14.2.1", "next-contentlayer2": "0.4.4", "next-themes": "^0.3.0", "pliny": "0.2.0", @@ -50,7 +50,7 @@ "@typescript-eslint/parser": "^6.1.0", "cross-env": "^7.0.3", "eslint": "^8.45.0", - "eslint-config-next": "14.1.0", + "eslint-config-next": "14.2.1", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", "husky": "^9.0.0", diff --git a/yarn.lock b/yarn.lock index 94e844e1da..11f63b3e6d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2358,90 +2358,90 @@ __metadata: languageName: node linkType: hard -"@next/bundle-analyzer@npm:14.1.4": - version: 14.1.4 - resolution: "@next/bundle-analyzer@npm:14.1.4" +"@next/bundle-analyzer@npm:14.2.1": + version: 14.2.1 + resolution: "@next/bundle-analyzer@npm:14.2.1" dependencies: webpack-bundle-analyzer: 4.10.1 - checksum: d439570209156f9cbac83e090871aa3ef528d48c8d1ca71137af65b24c19352e8c7a8136095ec94db5333d933a2326f341caae33b9337ff1c45cc064cea47b8b + checksum: d4d712694c257a03757c4b98b4166d84cbecfe52626e52cc34e488f8666e72bdf1361959b260a158ca5e8de2788938798d9e219440f54a52cfc8397fecb1459a languageName: node linkType: hard -"@next/env@npm:14.1.4": - version: 14.1.4 - resolution: "@next/env@npm:14.1.4" - checksum: 2f3ea0c9820546cc10acc5b01b1f1eadc702ceb20a5c63f6e77a75c9a721388980a8242d10476fb16d17d8dfb1477cd8586fe5e8c396732a4c15493b3ccc096e +"@next/env@npm:14.2.1": + version: 14.2.1 + resolution: "@next/env@npm:14.2.1" + checksum: 5118f98b3e1bf938002540ac1b08e65c212b4e2f73b9cc647eac245e9e84c165c321813e5b8a2c77367f900d5cd59f5b79e7284c34f7bc8a8d41d0a37016b2de languageName: node linkType: hard -"@next/eslint-plugin-next@npm:14.1.0": - version: 14.1.0 - resolution: "@next/eslint-plugin-next@npm:14.1.0" +"@next/eslint-plugin-next@npm:14.2.1": + version: 14.2.1 + resolution: "@next/eslint-plugin-next@npm:14.2.1" dependencies: glob: 10.3.10 - checksum: 7cd6789f27da102314b5784d4a4ba1a1789349f0c227bf5a90afcbd307bea98ea43b4cb1924fe9e67e11d48d3280eec1a1ca81558b6149e0122545fa37f00470 + checksum: ae0a864bef86524675501f615ef68b0a4d98257f0979d9c9ad5880daf6cb7bbbf2905979190b36a1fc4140df337448873aa0dd39f2b3e51d84be4ed4b813ffcd languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:14.1.4": - version: 14.1.4 - resolution: "@next/swc-darwin-arm64@npm:14.1.4" +"@next/swc-darwin-arm64@npm:14.2.1": + version: 14.2.1 + resolution: "@next/swc-darwin-arm64@npm:14.2.1" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:14.1.4": - version: 14.1.4 - resolution: "@next/swc-darwin-x64@npm:14.1.4" +"@next/swc-darwin-x64@npm:14.2.1": + version: 14.2.1 + resolution: "@next/swc-darwin-x64@npm:14.2.1" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:14.1.4": - version: 14.1.4 - resolution: "@next/swc-linux-arm64-gnu@npm:14.1.4" +"@next/swc-linux-arm64-gnu@npm:14.2.1": + version: 14.2.1 + resolution: "@next/swc-linux-arm64-gnu@npm:14.2.1" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:14.1.4": - version: 14.1.4 - resolution: "@next/swc-linux-arm64-musl@npm:14.1.4" +"@next/swc-linux-arm64-musl@npm:14.2.1": + version: 14.2.1 + resolution: "@next/swc-linux-arm64-musl@npm:14.2.1" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:14.1.4": - version: 14.1.4 - resolution: "@next/swc-linux-x64-gnu@npm:14.1.4" +"@next/swc-linux-x64-gnu@npm:14.2.1": + version: 14.2.1 + resolution: "@next/swc-linux-x64-gnu@npm:14.2.1" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:14.1.4": - version: 14.1.4 - resolution: "@next/swc-linux-x64-musl@npm:14.1.4" +"@next/swc-linux-x64-musl@npm:14.2.1": + version: 14.2.1 + resolution: "@next/swc-linux-x64-musl@npm:14.2.1" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:14.1.4": - version: 14.1.4 - resolution: "@next/swc-win32-arm64-msvc@npm:14.1.4" +"@next/swc-win32-arm64-msvc@npm:14.2.1": + version: 14.2.1 + resolution: "@next/swc-win32-arm64-msvc@npm:14.2.1" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:14.1.4": - version: 14.1.4 - resolution: "@next/swc-win32-ia32-msvc@npm:14.1.4" +"@next/swc-win32-ia32-msvc@npm:14.2.1": + version: 14.2.1 + resolution: "@next/swc-win32-ia32-msvc@npm:14.2.1" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:14.1.4": - version: 14.1.4 - resolution: "@next/swc-win32-x64-msvc@npm:14.1.4" +"@next/swc-win32-x64-msvc@npm:14.2.1": + version: 14.2.1 + resolution: "@next/swc-win32-x64-msvc@npm:14.2.1" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -3069,12 +3069,20 @@ __metadata: languageName: node linkType: hard -"@swc/helpers@npm:0.5.2": - version: 0.5.2 - resolution: "@swc/helpers@npm:0.5.2" +"@swc/counter@npm:^0.1.3": + version: 0.1.3 + resolution: "@swc/counter@npm:0.1.3" + checksum: df8f9cfba9904d3d60f511664c70d23bb323b3a0803ec9890f60133954173047ba9bdeabce28cd70ba89ccd3fd6c71c7b0bd58be85f611e1ffbe5d5c18616598 + languageName: node + linkType: hard + +"@swc/helpers@npm:0.5.5": + version: 0.5.5 + resolution: "@swc/helpers@npm:0.5.5" dependencies: + "@swc/counter": ^0.1.3 tslib: ^2.4.0 - checksum: 51d7e3d8bd56818c49d6bfbd715f0dbeedc13cf723af41166e45c03e37f109336bbcb57a1f2020f4015957721aeb21e1a7fff281233d797ff7d3dd1f447fa258 + checksum: d4f207b191e54b29460804ddf2984ba6ece1d679a0b2f6a9c765dcf27bba92c5769e7965668a4546fb9f1021eaf0ff9be4bf5c235ce12adcd65acdfe77187d11 languageName: node linkType: hard @@ -3299,7 +3307,25 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.4.2 || ^6.0.0, @typescript-eslint/parser@npm:^6.1.0": +"@typescript-eslint/parser@npm:^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0": + version: 7.2.0 + resolution: "@typescript-eslint/parser@npm:7.2.0" + dependencies: + "@typescript-eslint/scope-manager": 7.2.0 + "@typescript-eslint/types": 7.2.0 + "@typescript-eslint/typescript-estree": 7.2.0 + "@typescript-eslint/visitor-keys": 7.2.0 + debug: ^4.3.4 + peerDependencies: + eslint: ^8.56.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 21deb2e7ad1fc730f637af08f5c549f30ef5b50f424639f57f5bc01274e648db47c696bb994bb24e87424b593d4084e306447c9431a0c0e4807952996db306f4 + languageName: node + linkType: hard + +"@typescript-eslint/parser@npm:^6.1.0": version: 6.21.0 resolution: "@typescript-eslint/parser@npm:6.21.0" dependencies: @@ -3327,6 +3353,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/scope-manager@npm:7.2.0": + version: 7.2.0 + resolution: "@typescript-eslint/scope-manager@npm:7.2.0" + dependencies: + "@typescript-eslint/types": 7.2.0 + "@typescript-eslint/visitor-keys": 7.2.0 + checksum: b4ef8e35a56f590fa56cf769e111907828abb4793f482bf57e3fc8c987294ec119acb96359aa4b0150eea7416816e0b2d8635dccd1e4a5c2b02678b0f74def94 + languageName: node + linkType: hard + "@typescript-eslint/type-utils@npm:6.21.0": version: 6.21.0 resolution: "@typescript-eslint/type-utils@npm:6.21.0" @@ -3351,6 +3387,13 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/types@npm:7.2.0": + version: 7.2.0 + resolution: "@typescript-eslint/types@npm:7.2.0" + checksum: 237acd24aa55b762ee98904e4f422ba86579325200dcd058b3cbfe70775926e7f00ee0295788d81eb728f3a6326fe4401c648aee9eb1480d9030a441c17520e8 + languageName: node + linkType: hard + "@typescript-eslint/typescript-estree@npm:6.21.0": version: 6.21.0 resolution: "@typescript-eslint/typescript-estree@npm:6.21.0" @@ -3370,6 +3413,25 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/typescript-estree@npm:7.2.0": + version: 7.2.0 + resolution: "@typescript-eslint/typescript-estree@npm:7.2.0" + dependencies: + "@typescript-eslint/types": 7.2.0 + "@typescript-eslint/visitor-keys": 7.2.0 + debug: ^4.3.4 + globby: ^11.1.0 + is-glob: ^4.0.3 + minimatch: 9.0.3 + semver: ^7.5.4 + ts-api-utils: ^1.0.1 + peerDependenciesMeta: + typescript: + optional: true + checksum: fe882195cad45bb67e7e127efa9c31977348d0ca923ef26bb9fbd03a2ab64e6772e6e60954ba07a437684fae8e35897d71f0e6a1ef8fbf3f0025cd314960cd9d + languageName: node + linkType: hard + "@typescript-eslint/utils@npm:6.21.0": version: 6.21.0 resolution: "@typescript-eslint/utils@npm:6.21.0" @@ -3397,6 +3459,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:7.2.0": + version: 7.2.0 + resolution: "@typescript-eslint/visitor-keys@npm:7.2.0" + dependencies: + "@typescript-eslint/types": 7.2.0 + eslint-visitor-keys: ^3.4.1 + checksum: d9b11b52737450f213cea5c6e07e4672684da48325905c096ee09302b6b261c0bb226e1e350011bdf127c0cbbdd9e6474c905befdfa0a2118fc89ece16770f2b + languageName: node + linkType: hard + "@ungap/structured-clone@npm:^1.0.0, @ungap/structured-clone@npm:^1.2.0": version: 1.2.0 resolution: "@ungap/structured-clone@npm:1.2.0" @@ -5069,13 +5141,13 @@ __metadata: languageName: node linkType: hard -"eslint-config-next@npm:14.1.0": - version: 14.1.0 - resolution: "eslint-config-next@npm:14.1.0" +"eslint-config-next@npm:14.2.1": + version: 14.2.1 + resolution: "eslint-config-next@npm:14.2.1" dependencies: - "@next/eslint-plugin-next": 14.1.0 + "@next/eslint-plugin-next": 14.2.1 "@rushstack/eslint-patch": ^1.3.3 - "@typescript-eslint/parser": ^5.4.2 || ^6.0.0 + "@typescript-eslint/parser": ^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0 eslint-import-resolver-node: ^0.3.6 eslint-import-resolver-typescript: ^3.5.2 eslint-plugin-import: ^2.28.1 @@ -5088,7 +5160,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 6275f6bd05d0db34e11bda22efc88f56a3f10e2620cbaaad001016497d87b9cf9814ca9ddbf8f4ecd1456e6a2a486e5f12806602aac488b167a240488fe07611 + checksum: 1f6084d97bf2cb5a81387b4f96fe2c759f45f6afbec765d859da8dd0e850dc1d5e02c1cfb40da827514d705ce1d3a7bb344e9b6336f21bf583f4a92fef6d8238 languageName: node linkType: hard @@ -8467,21 +8539,21 @@ __metadata: languageName: node linkType: hard -"next@npm:14.1.4": - version: 14.1.4 - resolution: "next@npm:14.1.4" +"next@npm:14.2.1": + version: 14.2.1 + resolution: "next@npm:14.2.1" dependencies: - "@next/env": 14.1.4 - "@next/swc-darwin-arm64": 14.1.4 - "@next/swc-darwin-x64": 14.1.4 - "@next/swc-linux-arm64-gnu": 14.1.4 - "@next/swc-linux-arm64-musl": 14.1.4 - "@next/swc-linux-x64-gnu": 14.1.4 - "@next/swc-linux-x64-musl": 14.1.4 - "@next/swc-win32-arm64-msvc": 14.1.4 - "@next/swc-win32-ia32-msvc": 14.1.4 - "@next/swc-win32-x64-msvc": 14.1.4 - "@swc/helpers": 0.5.2 + "@next/env": 14.2.1 + "@next/swc-darwin-arm64": 14.2.1 + "@next/swc-darwin-x64": 14.2.1 + "@next/swc-linux-arm64-gnu": 14.2.1 + "@next/swc-linux-arm64-musl": 14.2.1 + "@next/swc-linux-x64-gnu": 14.2.1 + "@next/swc-linux-x64-musl": 14.2.1 + "@next/swc-win32-arm64-msvc": 14.2.1 + "@next/swc-win32-ia32-msvc": 14.2.1 + "@next/swc-win32-x64-msvc": 14.2.1 + "@swc/helpers": 0.5.5 busboy: 1.6.0 caniuse-lite: ^1.0.30001579 graceful-fs: ^4.2.11 @@ -8489,6 +8561,7 @@ __metadata: styled-jsx: 5.1.1 peerDependencies: "@opentelemetry/api": ^1.1.0 + "@playwright/test": ^1.41.2 react: ^18.2.0 react-dom: ^18.2.0 sass: ^1.3.0 @@ -8514,11 +8587,13 @@ __metadata: peerDependenciesMeta: "@opentelemetry/api": optional: true + "@playwright/test": + optional: true sass: optional: true bin: next: dist/bin/next - checksum: 2886bc6a8440d54adad4cc53bc3d89c9947c34f8b0142919a505ae1dcba45e640967f48ee551b875c1fc310234210aa64aa526c49ec7568da76afae5255f837f + checksum: 9d2949e324a15052117d19fe9af5814cea4c86907bc7c5c094c0c5f5fd40ef90a3986f08abf8810965a22eb8c6e6a83a99a6aabc5e205a83a8e9c1a4024db753 languageName: node linkType: hard @@ -10732,7 +10807,7 @@ __metadata: version: 0.0.0-use.local resolution: "tailwind-nextjs-starter-blog@workspace:." dependencies: - "@next/bundle-analyzer": 14.1.4 + "@next/bundle-analyzer": 14.2.1 "@svgr/webpack": ^8.0.1 "@tailwindcss/forms": ^0.5.7 "@tailwindcss/typography": ^0.5.12 @@ -10745,7 +10820,7 @@ __metadata: cross-env: ^7.0.3 esbuild: 0.20.2 eslint: ^8.45.0 - eslint-config-next: 14.1.0 + eslint-config-next: 14.2.1 eslint-config-prettier: ^8.8.0 eslint-plugin-prettier: ^5.0.0 github-slugger: ^2.0.0 @@ -10754,7 +10829,7 @@ __metadata: husky: ^9.0.0 image-size: 1.0.0 lint-staged: ^13.0.0 - next: 14.1.4 + next: 14.2.1 next-contentlayer2: 0.4.4 next-themes: ^0.3.0 pliny: 0.2.0