mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
stack-sc: Add next-env.d.ts
This commit is contained in:
parent
78aedf8ad8
commit
686ae3f48a
2
packages/stack-sc/.gitignore
vendored
Normal file
2
packages/stack-sc/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
# we need to not ignore the next-env.d.ts file because it is not automatically recreated (we never run `next build` in this repo directly because Next is just a peer dependency)
|
||||
!next-env.d.ts
|
||||
5
packages/stack-sc/next-env.d.ts
vendored
Normal file
5
packages/stack-sc/next-env.d.ts
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
/// <reference types="next" />
|
||||
/// <reference types="next/image-types/global" />
|
||||
|
||||
// NOTE: This file should not be edited
|
||||
// see https://nextjs.org/docs/basic-features/typescript for more information.
|
||||
@ -31,14 +31,17 @@
|
||||
"peerDependenciesMeta": {
|
||||
"react": {
|
||||
"optional": true
|
||||
},
|
||||
"next": {
|
||||
"optional": true
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^6",
|
||||
"@typescript-eslint/parser": "^6.x",
|
||||
"@types/react": "^18.2.0",
|
||||
"eslint": "^8",
|
||||
"eslint-config-next": "^14",
|
||||
"rimraf": "^5.0.5",
|
||||
"react": "^18.2.0"
|
||||
"rimraf": "^5.0.5"
|
||||
}
|
||||
}
|
||||
|
||||
@ -10,6 +10,6 @@
|
||||
"esModuleInterop": true,
|
||||
"strict": true
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
"include": ["src/**/*", "next-env.d.ts"],
|
||||
"exclude": ["node_modules", "dist"]
|
||||
}
|
||||
|
||||
@ -8,8 +8,7 @@
|
||||
"module": "ES2020",
|
||||
"moduleResolution": "Bundler",
|
||||
"esModuleInterop": true,
|
||||
"strict": true,
|
||||
"skipLibCheck": true
|
||||
"strict": true
|
||||
},
|
||||
"include": ["next-env.d.ts", "src/**/*", ".next/types/**/*.ts"],
|
||||
"exclude": ["node_modules", "dist"]
|
||||
|
||||
@ -261,7 +261,13 @@ importers:
|
||||
next:
|
||||
specifier: ^14.1
|
||||
version: 14.1.0(react-dom@18.2.0)(react@18.2.0)
|
||||
react:
|
||||
specifier: ^18.2.0
|
||||
version: 18.2.0
|
||||
devDependencies:
|
||||
'@types/react':
|
||||
specifier: ^18.2.0
|
||||
version: 18.2.60
|
||||
'@typescript-eslint/eslint-plugin':
|
||||
specifier: ^6
|
||||
version: 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.30.0)(typescript@5.3.3)
|
||||
@ -274,9 +280,6 @@ importers:
|
||||
eslint-config-next:
|
||||
specifier: ^14
|
||||
version: 14.1.0(eslint@8.30.0)(typescript@5.3.3)
|
||||
react:
|
||||
specifier: ^18.2.0
|
||||
version: 18.2.0
|
||||
rimraf:
|
||||
specifier: ^5.0.5
|
||||
version: 5.0.5
|
||||
|
||||
Loading…
Reference in New Issue
Block a user