Skip to content

Commit d0ff9ae

Browse files
authored
chore({examples,integrations}): fix configs that break with the installed tool versions (#12491)
* chore(integrations/react/next-15): remove unsupported '--webpack' flag from 'dev' script * chore(integrations/react/next-16): remove the 'eslint' option that Next.js 16 no longer supports from 'next.config.js' * chore(examples/preact/simple): narrow 'include' in 'tsconfig.json' so 'tsc' skips 'dist'
1 parent 59d11de commit d0ff9ae

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

‎examples/preact/simple/tsconfig.json‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,10 @@
1616
"react-dom": ["./node_modules/preact/compat/"]
1717
}
1818
},
19-
"include": ["node_modules/vite/client.d.ts", "**/*"]
19+
"include": [
20+
"node_modules/vite/client.d.ts",
21+
"src",
22+
"*.config.ts",
23+
"*.config.js"
24+
]
2025
}

‎integrations/react/next-15/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@tanstack/query-integration-react-next-15",
33
"private": true,
44
"scripts": {
5-
"dev": "next dev --webpack",
5+
"dev": "next dev",
66
"build": "next build"
77
},
88
"dependencies": {

‎integrations/react/next-16/next.config.js‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
3-
eslint: {
4-
ignoreDuringBuilds: true,
5-
},
63
typescript: {
74
ignoreBuildErrors: true,
85
},

0 commit comments

Comments
 (0)