Files
vercel__next.js/examples/cms-wordpress/package.json
Ben Gubler 41e39426eb Remove automatic linting from build (#83136)
### What?
This PR removes the automatic ESLint linting that previously ran during `next build`. The documentation has been updated to reflect this change.

### Why?
As part of Next.js 16, we're removing the automatic build-time linting that was previously included in the build process. This gives developers more control over when linting runs by explicitly invoking their linter via npm scripts.

### How?
- Updated documentation to clarify that automatic build-time linting has been removed in Next.js 16
- Removed the `runLint` parameter and related linting code from the build process
- Removed the `verifyAndLint.ts` file which is no longer needed
- Simplified type checking code by removing lint-related functionality
- Removed ESLint telemetry during builds
2025-10-08 16:35:07 -07:00

29 lines
830 B
JSON

{
"private": true,
"scripts": {
"dev": "graphql-codegen --config codegen.ts && node ./add-ts-nocheck.js && next dev",
"build": "graphql-codegen --config codegen.ts && node ./add-ts-nocheck.js && next build",
"start": "next start",
"lint": "eslint .",
"codegen": "graphql-codegen --config codegen.ts && node ./add-ts-nocheck.js"
},
"dependencies": {
"graphql": "^16.9.0",
"graphql-tag": "^2.12.6",
"next": "latest",
"react": "18.3.1",
"react-dom": "18.3.1"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.0",
"@graphql-codegen/client-preset": "4.3.3",
"@graphql-codegen/schema-ast": "^4.1.0",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^9",
"eslint-config-next": "latest",
"typescript": "^5"
}
}