这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/basic/apps/docs/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/types/routes.d.ts";

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
12 changes: 6 additions & 6 deletions examples/basic/apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
"type": "module",
"private": true,
"scripts": {
"dev": "next dev --turbopack --port 3001",
"dev": "next dev --port 3001",
"build": "next build",
"start": "next start",
"lint": "next lint --max-warnings 0",
"check-types": "tsc --noEmit"
"lint": "eslint --max-warnings 0",
"check-types": "next typegen && tsc --noEmit"
},
"dependencies": {
"@repo/ui": "workspace:*",
"next": "^15.5.0",
"react": "^19.1.0",
"next": "^16.0.0",
"react": "^19.2.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
Expand All @@ -22,7 +22,7 @@
"@types/node": "^22.15.3",
"@types/react": "19.1.0",
"@types/react-dom": "19.1.1",
"eslint": "^9.34.0",
"eslint": "^9.38.0",
"typescript": "5.9.2"
}
}
1 change: 1 addition & 0 deletions examples/basic/apps/web/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/types/routes.d.ts";

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
12 changes: 6 additions & 6 deletions examples/basic/apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
"type": "module",
"private": true,
"scripts": {
"dev": "next dev --turbopack --port 3000",
"dev": "next dev --port 3000",
"build": "next build",
"start": "next start",
"lint": "next lint --max-warnings 0",
"check-types": "tsc --noEmit"
"lint": "eslint --max-warnings 0",
"check-types": "next typegen && tsc --noEmit"
},
"dependencies": {
"@repo/ui": "workspace:*",
"next": "^15.5.0",
"react": "^19.1.0",
"next": "^16.0.0",
"react": "^19.2.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
Expand All @@ -22,7 +22,7 @@
"@types/node": "^22.15.3",
"@types/react": "19.1.0",
"@types/react-dom": "19.1.1",
"eslint": "^9.34.0",
"eslint": "^9.38.0",
"typescript": "5.9.2"
}
}
8 changes: 8 additions & 0 deletions examples/basic/packages/eslint-config/next.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import js from "@eslint/js";
import { globalIgnores } from "eslint/config";
import eslintConfigPrettier from "eslint-config-prettier";
import tseslint from "typescript-eslint";
import pluginReactHooks from "eslint-plugin-react-hooks";
Expand All @@ -17,6 +18,13 @@ export const nextJsConfig = [
js.configs.recommended,
eslintConfigPrettier,
...tseslint.configs.recommended,
globalIgnores([
// Default ignores of eslint-config-next:
".next/**",
"out/**",
"build/**",
"next-env.d.ts",
]),
{
...pluginReact.configs.flat.recommended,
languageOptions: {
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"devDependencies": {
"@eslint/js": "^9.34.0",
"@next/eslint-plugin-next": "^15.5.0",
"eslint": "^9.34.0",
"eslint": "^9.38.0",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-react": "^7.37.5",
Expand Down
4 changes: 2 additions & 2 deletions examples/basic/packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"@types/node": "^22.15.3",
"@types/react": "19.1.0",
"@types/react-dom": "19.1.1",
"eslint": "^9.34.0",
"eslint": "^9.38.0",
"typescript": "5.9.2"
},
"dependencies": {
"react": "^19.1.0",
"react": "^19.2.0",
"react-dom": "^19.1.0"
}
}
Loading
Loading