Skip to content

Commit 693f4ba

Browse files
renovate[bot]scaleway-botlisalupi
authored
fix(devdeps): update nextjs monorepo to v16 (major) (#5731)
* fix(devdeps): update nextjs monorepo to v16 * chore: add changeset renovate-6ec49e6 * fix: rebase * fix: wrong css and next config * fix: next config --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Scaleway Bot <[email protected]> Co-authored-by: lisa <[email protected]>
1 parent b062bbe commit 693f4ba

File tree

8 files changed

+441
-334
lines changed

8 files changed

+441
-334
lines changed

.changeset/renovate-6ec49e6.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@ultraviolet/nextjs': patch
3+
---
4+
5+
Updated dependency `next` to `16.0.1`.
6+
Updated dependency `eslint-config-next` to `16.0.1`.
Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
import type { NextConfig } from 'next'
22

3-
const nextConfig: NextConfig = {
4-
/* config options here */
5-
experimental: {
6-
// still usefull for @nivo/* issue package
7-
esmExternals: 'loose',
8-
},
9-
}
3+
const nextConfig: NextConfig = {}
104

115
export default nextConfig

examples/next-app-router/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@ultraviolet/nextjs": "workspace:*",
1717
"@ultraviolet/themes": "workspace:*",
1818
"@ultraviolet/ui": "workspace:*",
19-
"next": "15.5.6",
19+
"next": "16.0.1",
2020
"react": "19.2.0",
2121
"react-dom": "19.2.0"
2222
},
@@ -26,7 +26,7 @@
2626
"@types/react": "19.2.2",
2727
"@types/react-dom": "19.2.2",
2828
"eslint": "9.39.1",
29-
"eslint-config-next": "15.5.6",
29+
"eslint-config-next": "16.0.1",
3030
"typescript": "5.9.3"
3131
}
3232
}

examples/next/next.config.js

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,16 @@
1-
const nextConfig = () => {
2-
/** @type {import('next/dist/server/config').NextConfig} */
3-
const config = {
4-
compress: true,
5-
images: {
6-
formats: ['image/avif', 'image/webp'],
7-
loader: 'imgix',
8-
path: 'https://ultraviolet.scaleway.com',
9-
},
10-
poweredByHeader: false,
11-
reactStrictMode: true,
12-
eslint: {
13-
ignoreDuringBuilds: true,
14-
},
15-
transpilePackages: ['react-syntax-highlighter'],
16-
experimental: {
17-
// still usefull for @nivo/* issue package
18-
esmExternals: 'loose',
19-
},
20-
}
21-
22-
return config
1+
const nextConfig = {
2+
compress: true,
3+
images: {
4+
formats: ['image/avif', 'image/webp'],
5+
loader: 'imgix',
6+
path: 'https://ultraviolet.scaleway.com',
7+
},
8+
poweredByHeader: false,
9+
reactStrictMode: true,
10+
eslint: {
11+
ignoreDuringBuilds: true,
12+
},
13+
transpilePackages: ['react-syntax-highlighter'],
2314
}
2415

25-
export default nextConfig()
16+
export default nextConfig

examples/next/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
},
1010
"private": true,
1111
"scripts": {
12-
"dev": "next dev",
13-
"build": "next build",
12+
"dev": "next dev --webpack",
13+
"build": "next build --webpack",
1414
"export": "next export",
1515
"start": "next start"
1616
},
@@ -21,7 +21,7 @@
2121
"@ultraviolet/icons": "workspace:*",
2222
"@ultraviolet/themes": "workspace:*",
2323
"@ultraviolet/ui": "workspace:*",
24-
"next": "15.5.6",
24+
"next": "16.0.1",
2525
"react": "19.2.0",
2626
"react-dom": "19.2.0",
2727
"react-schemaorg": "2.0.0",

packages/nextjs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@
5353
"peerDependencies": {
5454
"@ultraviolet/themes": "workspace:*",
5555
"@ultraviolet/ui": "workspace:*",
56-
"next": "15.x",
56+
"next": "15.x || 16.x",
5757
"react": "18.x || 19.x",
5858
"react-dom": "18.x || 19.x"
5959
},
6060
"devDependencies": {
6161
"@ultraviolet/themes": "workspace:*",
6262
"@ultraviolet/ui": "workspace:*",
63-
"next": "15.5.6",
63+
"next": "16.0.1",
6464
"react": "19.2.0",
6565
"react-dom": "19.2.0"
6666
}

packages/ui/src/components/TimeInput/styles.css.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export const timeinput = recipe({
125125
'&[data-size="large"]': {
126126
fontSize: theme.typography.body.fontSize,
127127
},
128-
'&::moz-selection, &::selection': {
128+
'&::selection': {
129129
background: 'none',
130130
},
131131
},

0 commit comments

Comments
 (0)