Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

chore: update next to 13.5.1

bautistaaa09ae9b7766ab
diff --git a/apps/admin/package.json b/apps/admin/package.json
index 513aab4f..75abd551 100644
--- a/apps/admin/package.json
+++ b/apps/admin/package.json
@@ -26,7 +26,7 @@
"@tanstack/react-table": "^8.9.3",
"clsx": "^2.0.0",
"million": "2.6.0-beta.12",
- "next": "^13.4.19",
+ "next": "^13.5.1",
"next-auth": "^4.22.1",
"next-themes": "^0.2.1",
"react": "18.2.0",
diff --git a/apps/og-image/package.json b/apps/og-image/package.json
index 93faa2a7..d6ebc193 100644
--- a/apps/og-image/package.json
+++ b/apps/og-image/package.json
@@ -22,7 +22,7 @@
},
"dependencies": {
"@vercel/og": "^1.0.0",
- "next": "^13.4.19",
+ "next": "^13.5.1",
"react": "latest",
"react-dom": "latest",
"zod": "^3.21.4"
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs
index 40430937..46d067e0 100644
--- a/apps/web/next.config.mjs
+++ b/apps/web/next.config.mjs
@@ -1,8 +1,7 @@
// NOTE: this whole package is bugged and once they fix this we can remove this workaround
// eslint-disable-next-line import/no-unresolved
-import vercelToolbar from '@vercel/toolbar/plugins/next';
-import { withSentryConfig } from '@sentry/nextjs';
import bundleAnalyzer from '@next/bundle-analyzer';
+import vercelToolbar from '@vercel/toolbar/plugins/next';
// eslint-disable-next-line import/no-unresolved
import million from 'million/compiler';
@@ -65,35 +64,4 @@ const withBundleAnalyzer = bundleAnalyzer({
});
const withVercelToolbar = vercelToolbar();
-export default million.next(
- withSentryConfig(
- withBundleAnalyzer(withVercelToolbar(nextConfig)),
- {
- // For all available options, see:
- // https://github.com/getsentry/sentry-webpack-plugin#options
-
- // Suppresses source map uploading logs during build
- silent: true,
-
- org: 'typehero',
- project: 'typehero-web-production',
- },
- {
- // For all available options, see:
- // https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
-
- // Upload a larger set of source maps for prettier stack traces (increases build time)
- widenClientFileUpload: true,
-
- // Transpiles SDK to be compatible with IE11 (increases bundle size)
- transpileClientSDK: true,
-
- // Hides source maps from generated client bundles
- hideSourceMaps: true,
-
- // Automatically tree-shake Sentry logger statements to reduce bundle size
- disableLogger: true,
- },
- ),
- millionConfig,
-);
+export default million.next(withBundleAnalyzer(withVercelToolbar(nextConfig)), millionConfig);
diff --git a/apps/web/package.json b/apps/web/package.json
index f9f35283..c9e15c14 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -46,7 +46,7 @@
"lz-string": "^1.5.0",
"million": "2.6.0-beta.12",
"monaco-vim": "^0.4.0",
- "next": "^13.4.19",
+ "next": "^13.5.1",
"next-international": "1.0.0-rc.6",
"next-themes": "^0.2.1",
"react": "^18.2.0",
diff --git a/packages/monaco/package.json b/packages/monaco/package.json
index 52574245..f854d2b1 100644
--- a/packages/monaco/package.json
+++ b/packages/monaco/package.json
@@ -55,7 +55,7 @@
"clsx": "^2.0.0",
"lz-string": "^1.5.0",
"monaco-vim": "^0.4.0",
- "next": "^13.4.19",
+ "next": "^13.5.1",
"next-themes": "^0.2.1",
"prettier": "^3.0.2",
"react": "^18.2.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ef488c6b..07cad0c6 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -71,14 +71,14 @@ importers:
specifier: 2.6.0-beta.12
version: 2.6.0-beta.12
next:
- specifier: ^13.4.19
+ specifier: ^13.5.1
next-auth:
specifier: ^4.22.1
- version: 4.22.1(patch_hash=mr6pbhgbmy4dt4xo4hxm5k4ym4)([email protected])([email protected])([email protected])
+ version: 4.22.1(patch_hash=mr6pbhgbmy4dt4xo4hxm5k4ym4)([email protected])([email protected])([email protected])
next-themes:
specifier: ^0.2.1
react:
specifier: 18.2.0
version: 18.2.0
@@ -165,8 +165,8 @@ importers:
specifier: ^1.0.0
version: 1.0.0
next:
- specifier: ^13.4.19
+ specifier: ^13.5.1
react:
specifier: latest
version: 18.2.0
@@ -236,7 +236,7 @@ importers:
version: link:../../packages/ui
'@sentry/nextjs':
specifier: ^7.66.0
'@t3-oss/env-nextjs':
specifier: ^0.6.0
@@ -263,7 +263,7 @@ importers:
version: 0.2.1
'@vercel/toolbar':
specifier: ^0.1.1
- version: 0.1.1(patch_hash=mukejyv3x4f3mriytfjb3reaxi)([email protected])
+ version: 0.1.1(patch_hash=mukejyv3x4f3mriytfjb3reaxi)([email protected])
clsx:
specifier: ^2.0.0
version: 2.0.0
@@ -289,14 +289,14 @@ importers:
specifier: ^0.4.0
version: 0.4.0(patch_hash=j3oqxjoadtct3pc6tokddngzsm)
next:
- specifier: ^13.4.19
+ specifier: ^13.5.1
next-international:
specifier: 1.0.0-rc.6
version: 1.0.0-rc.6
next-themes:
specifier: ^0.2.1
react:
specifier: ^18.2.0
version: 18.2.0
@@ -423,7 +423,7 @@ importers:
version: link:../db
next-auth:
specifier: ^4.22.1
- version: 4.22.1(patch_hash=mr6pbhgbmy4dt4xo4hxm5k4ym4)([email protected])([email protected])([email protected])
+ version: 4.22.1(patch_hash=mr6pbhgbmy4dt4xo4hxm5k4ym4)([email protected])([email protected])([email protected])
devDependencies:
'@repo/lint':
specifier: workspace:*
@@ -526,11 +526,11 @@ importers:
specifier: ^0.4.0
version: 0.4.0(patch_hash=j3oqxjoadtct3pc6tokddngzsm)
next:
- specifier: ^13.4.19
+ specifier: ^13.5.1
next-themes:
specifier: ^0.2.1
prettier:
specifier: ^3.0.2
version: 3.0.2
@@ -627,7 +627,7 @@ importers:
version: 0.260.0([email protected])
next-themes:
specifier: ^0.2.1
react:
specifier: ^18.2.0
version: 18.2.0
@@ -676,7 +676,7 @@ importers:
dependencies:
'@next/eslint-plugin-next':
specifier: canary
- version: 13.4.20-canary.15
+ version: 13.4.20-canary.0
'@repo/tsconfig':
specifier: workspace:*
version: link:../config-typescript
@@ -688,7 +688,7 @@ importers:
'@vercel/style-guide':
specifier: ^4.0.2
eslint:
specifier: ^8.45.0
version: 8.45.0
@@ -1751,7 +1751,7 @@ packages:
next-auth: ^4
dependencies:
'@prisma/client': 5.0.0([email protected])
- next-auth: 4.22.1(patch_hash=mr6pbhgbmy4dt4xo4hxm5k4ym4)([email protected])([email protected])([email protected])
+ next-auth: 4.22.1(patch_hash=mr6pbhgbmy4dt4xo4hxm5k4ym4)([email protected])([email protected])([email protected])
dev: false
@@ -1763,8 +1763,8 @@ packages:
- utf-8-validate
dev: false
- resolution: {integrity: sha512-FsAT5x0jF2kkhNkKkukhsyYOrRqtSxrEhfliniIq0bwWbuXLgyt3Gv0Ml+b91XwjwArmuP7NxCiGd++GGKdNMQ==}
+ resolution: {integrity: sha512-CIMWiOTyflFn/GFx33iYXkgLSQsMQZV4jB91qaj/TfxGaGOXxn8C1j72TaUSPIyN7ziS/AYG46kGmnvuk1oOpg==}
dev: false
@@ -1773,14 +1773,14 @@ packages:
glob: 7.1.7
dev: true
- resolution: {integrity: sha512-Bolwt8DYYASzNADy9XIu/q5tLp+/9pVL3DWuaSWpb4UvaJMgyHIgmi+5pM5oRQiC7BwBDErnTBdiEmaP7zl/dQ==}
+ resolution: {integrity: sha512-vFC1meiw/awh2xJZMWaoECsfZbgkt2fF3HIg8f2fSM/w41Z86L1SS7SjKmpbbD87yq3tiqgqHmFv0JCych4g4g==}
dependencies:
glob: 7.1.7
dev: false
- resolution: {integrity: sha512-vv1qrjXeGbuF2mOkhkdxMDtv9np7W4mcBtaDnHU+yJG+bBwa6rYsYSCI/9Xm5+TuF5SbZbrWO6G1NfTh1TMjvQ==}
+ resolution: {integrity: sha512-Bcd0VFrLHZnMmJy6LqV1CydZ7lYaBao8YBEdQUVzV8Ypn/l5s//j5ffjfvMzpEQ4mzlAj3fIY+Bmd9NxpWhACw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
@@ -1788,8 +1788,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-jyzO6wwYhx6F+7gD8ddZfuqO4TtpJdw3wyOduR4fxTUCm3aLw7YmHGYNjS0xRSYGAkLpBkH1E0RcelyId6lNsw==}
+ resolution: {integrity: sha512-uvTZrZa4D0bdWa1jJ7X1tBGIxzpqSnw/ATxWvoRO9CVBvXSx87JyuISY+BWsfLFF59IRodESdeZwkWM2l6+Kjg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
@@ -1797,8 +1797,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-vdlnIlaAEh6H+G6HrKZB9c2zJKnpPVKnA6LBwjwT2BTjxI7e0Hx30+FoWCgi50e+YO49p6oPOtesP9mXDRiiUg==}
+ resolution: {integrity: sha512-/52ThlqdORPQt3+AlMoO+omicdYyUEDeRDGPAj86ULpV4dg+/GCFCKAmFWT0Q4zChFwsAoZUECLcKbRdcc0SNg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@@ -1806,8 +1806,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-aU0HkH2XPgxqrbNRBFb3si9Ahu/CpaR5RPmN2s9GiM9qJCiBBlZtRTiEca+DC+xRPyCThTtWYgxjWHgU7ZkyvA==}
+ resolution: {integrity: sha512-L4qNXSOHeu1hEAeeNsBgIYVnvm0gg9fj2O2Yx/qawgQEGuFBfcKqlmIE/Vp8z6gwlppxz5d7v6pmHs1NB6R37w==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@@ -1815,8 +1815,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-htwOEagMa/CXNykFFeAHHvMJeqZfNQEoQvHfsA4wgg5QqGNqD5soeCer4oGlCol6NGUxknrQO6VEustcv+Md+g==}
+ resolution: {integrity: sha512-QVvMrlrFFYvLtABk092kcZ5Mzlmsk2+SV3xYuAu8sbTuIoh0U2+HGNhVklmuYCuM3DAAxdiMQTNlRQmNH11udw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@@ -1824,8 +1824,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-4Gj4vvtbK1JH8ApWTT214b3GwUh9EKKQjY41hH/t+u55Knxi/0wesMzwQRhppK6Ddalhu0TEttbiJ+wRcoEj5Q==}
+ resolution: {integrity: sha512-bBnr+XuWc28r9e8gQ35XBtyi5KLHLhTbEvrSgcWna8atI48sNggjIK8IyiEBO3KIrcUVXYkldAzGXPEYMnKt1g==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@@ -1833,8 +1833,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-bUfDevQK4NsIAHXs3/JNgnvEY+LRyneDN788W2NYiRIIzmILjba7LaQTfihuFawZDhRtkYCv3JDC3B4TwnmRJw==}
+ resolution: {integrity: sha512-EQGeE4S5c9v06jje9gr4UlxqUEA+zrsgPi6kg9VwR+dQHirzbnVJISF69UfKVkmLntknZJJI9XpWPB6q0Z7mTg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
@@ -1842,8 +1842,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-Y5kikILFAr81LYIFaw6j/NrOtmiM4Sf3GtOc0pn50ez2GCkr+oejYuKGcwAwq3jiTKuzF6OF4iT2INPoxRycEA==}
+ resolution: {integrity: sha512-1y31Q6awzofVjmbTLtRl92OX3s+W0ZfO8AP8fTnITcIo9a6ATDc/eqa08fd6tSpFu6IFpxOBbdevOjwYTGx/AQ==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
@@ -1851,8 +1851,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-YzA78jBDXMYiINdPdJJwGgPNT3YqBNNGhsthsDoWHL9p24tEJn9ViQf/ZqTbwSpX/RrkPupLfuuTH2sf73JBAw==}
+ resolution: {integrity: sha512-+9XBQizy7X/GuwNegq+5QkkxAPV7SBsIwapVRQd9WSvvU20YO23B3bZUpevdabi4fsd25y9RJDDncljy/V54ww==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@@ -3655,7 +3655,7 @@ packages:
tslib: 2.6.0
dev: false
resolution: {integrity: sha512-CJwl3/rIJRR1isqWjGEE8CYiNUndvRksp7l0/75tfe4JoKTk+XS3tXcXVZyyXh34GU5San1c46ctiyodaGGIeg==}
engines: {node: '>=8'}
peerDependencies:
@@ -3675,7 +3675,7 @@ packages:
'@sentry/utils': 7.66.0
'@sentry/webpack-plugin': 1.20.0
chalk: 3.0.0
react: 18.2.0
rollup: 2.78.0
stacktrace-parser: 0.1.10
@@ -3758,8 +3758,8 @@ packages:
string.prototype.codepointat: 0.2.1
dev: false
- resolution: {integrity: sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg==}
+ resolution: {integrity: sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw==}
dependencies:
tslib: 2.6.0
dev: false
@@ -4358,7 +4358,7 @@ packages:
yoga-wasm-web: 0.3.0
dev: false
resolution: {integrity: sha512-FroL+oOePzhw7n/I+f7zr4WNroGHT/+2TlW6WH9+CVSjMNsEyu7Qstj2mI5gWIBjT1Y2ZImKPppCzI2cIYmNZw==}
engines: {node: '>=16'}
peerDependencies:
@@ -4378,7 +4378,7 @@ packages:
dependencies:
'@babel/core': 7.22.10
'@babel/eslint-parser': 7.22.10(@babel/[email protected])([email protected])
- '@next/eslint-plugin-next': 13.4.20-canary.15
+ '@next/eslint-plugin-next': 13.4.20-canary.0
'@rushstack/eslint-patch': 1.3.2
'@typescript-eslint/eslint-plugin': 5.59.1(@typescript-eslint/[email protected])([email protected])([email protected])
'@typescript-eslint/parser': 5.62.0([email protected])([email protected])
@@ -4406,7 +4406,7 @@ packages:
- supports-color
dev: false
- /@vercel/[email protected](patch_hash=mukejyv3x4f3mriytfjb3reaxi)([email protected]):
+ /@vercel/[email protected](patch_hash=mukejyv3x4f3mriytfjb3reaxi)([email protected]):
resolution: {integrity: sha512-mN7Tg2dgAew0kLtq3doBF8IaGY4/RJfDbH81sGolOqKco50g75u8pJm+3PfRLxBWGkpz3/QB2tKQvg6/HlnaHA==}
peerDependencies:
next: '>=11.0.0'
@@ -4416,7 +4416,7 @@ packages:
execa: 5.1.1
find-up: 5.0.0
get-port: 5.1.1
dev: false
patched: true
@@ -8225,7 +8225,7 @@ packages:
resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
- /[email protected](patch_hash=mr6pbhgbmy4dt4xo4hxm5k4ym4)([email protected])([email protected])([email protected]):
+ /[email protected](patch_hash=mr6pbhgbmy4dt4xo4hxm5k4ym4)([email protected])([email protected])([email protected]):
resolution: {integrity: sha512-NTR3f6W7/AWXKw8GSsgSyQcDW6jkslZLH8AiZa5PQ09w1kR8uHtR9rez/E9gAq/o17+p0JYHE8QjF3RoniiObA==}
peerDependencies:
next: ^12.2.5 || ^13
@@ -8240,7 +8240,7 @@ packages:
'@panva/hkdf': 1.1.1
cookie: 0.5.0
jose: 4.14.4
oauth: 0.9.15
openid-client: 5.4.3
preact: 10.16.0
@@ -8259,21 +8259,21 @@ packages:
server-only: 0.0.1
dev: false
resolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==}
peerDependencies:
next: '*'
react: '*'
react-dom: '*'
dependencies:
react: 18.2.0
react-dom: 18.2.0([email protected])
dev: false
- resolution: {integrity: sha512-HuPSzzAbJ1T4BD8e0bs6B9C1kWQ6gv8ykZoRWs5AQoiIuqbGHHdQO7Ljuvg05Q0Z24E2ABozHe6FxDvI6HfyAw==}
- engines: {node: '>=16.8.0'}
+ resolution: {integrity: sha512-GIudNR7ggGUZoIL79mSZcxbXK9f5pwAIPZxEM8+j2yLqv5RODg4TkmUlaKSYVqE1bPQueamXSqdC3j7axiTSEg==}
+ engines: {node: '>=16.14.0'}
hasBin: true
peerDependencies:
'@opentelemetry/api': ^1.1.0
@@ -8286,8 +8286,8 @@ packages:
sass:
optional: true
dependencies:
- '@next/env': 13.4.19
- '@swc/helpers': 0.5.1
+ '@next/env': 13.5.1
+ '@swc/helpers': 0.5.2
busboy: 1.6.0
caniuse-lite: 1.0.30001522
postcss: 8.4.14
@@ -8297,15 +8297,15 @@ packages:
watchpack: 2.4.0
zod: 3.21.4
optionalDependencies:
- '@next/swc-darwin-arm64': 13.4.19
- '@next/swc-darwin-x64': 13.4.19
- '@next/swc-linux-arm64-gnu': 13.4.19
- '@next/swc-linux-arm64-musl': 13.4.19
- '@next/swc-linux-x64-gnu': 13.4.19
- '@next/swc-linux-x64-musl': 13.4.19
- '@next/swc-win32-arm64-msvc': 13.4.19
- '@next/swc-win32-ia32-msvc': 13.4.19
- '@next/swc-win32-x64-msvc': 13.4.19
+ '@next/swc-darwin-arm64': 13.5.1
+ '@next/swc-darwin-x64': 13.5.1
+ '@next/swc-linux-arm64-gnu': 13.5.1
+ '@next/swc-linux-arm64-musl': 13.5.1
+ '@next/swc-linux-x64-gnu': 13.5.1
+ '@next/swc-linux-x64-musl': 13.5.1
+ '@next/swc-win32-arm64-msvc': 13.5.1
+ '@next/swc-win32-ia32-msvc': 13.5.1
+ '@next/swc-win32-x64-msvc': 13.5.1
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros