Skip to content

Commit d3477db

Browse files
committed
bring everything to what they have in a freshly bootstrapped next app
1 parent f349290 commit d3477db

File tree

5 files changed

+899
-25
lines changed

5 files changed

+899
-25
lines changed

integration-tests/fixtures/generate-bundle-stats/nextjs/next-base.config.mjs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ import { codecovNextJSWebpackPlugin } from "@codecov/nextjs-webpack-plugin";
22

33
/** @type {import('next').NextConfig} */
44
export default {
5-
eslint: {
6-
ignoreDuringBuilds: true,
7-
},
85
webpack: (config, options) => {
96
config.plugins.push(
107
codecovNextJSWebpackPlugin({
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["next/core-web-vitals", "next/typescript"]
3+
}

integration-tests/test-apps/nextjs/package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,20 @@
55
"scripts": {
66
"dev": "next dev",
77
"build": "next build",
8-
"start": "next start"
8+
"start": "next start",
9+
"lint": "next lint"
910
},
1011
"dependencies": {
11-
"react": "^18",
12-
"react-dom": "^18",
13-
"next": "^15.0.1"
12+
"react": "19.0.0-rc-69d4b800-20241021",
13+
"react-dom": "19.0.0-rc-69d4b800-20241021",
14+
"next": "15.0.1"
1415
},
1516
"devDependencies": {
16-
"@codecov/nextjs-webpack-plugin": "workspace:^",
1717
"typescript": "^5",
1818
"@types/node": "^20",
1919
"@types/react": "^18",
20-
"@types/react-dom": "^18"
20+
"@types/react-dom": "^18",
21+
"eslint": "^8",
22+
"eslint-config-next": "15.0.1"
2123
}
2224
}

integration-tests/test-apps/nextjs/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"target": "ES2017",
34
"lib": ["dom", "dom.iterable", "esnext"],
45
"allowJs": true,
56
"skipLibCheck": true,
@@ -20,7 +21,6 @@
2021
"paths": {
2122
"@/*": ["./*"],
2223
},
23-
"target": "ES2017",
2424
},
2525
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
2626
"exclude": ["node_modules"],

0 commit comments

Comments
 (0)