Commit 931b64d
fix(examples,auth-next): fix build issues and add missing config
- Fix Next.js version compatibility: downgrade auth-next packages to support Next 14+
- Add ESLint config for auth-next-default-test example
- Fix ESLint errors: escape quotes in JSX strings
- Fix CallbackPage props: add required config parameter with auto-detection
- Add type cast to resolve NextAuth config type conflicts
- Update pnpm-lock.yaml
Changes:
- auth-next-client/server: Next peerDependency now ^14.0.0 || ^15.0.0
- auth-next-client/server: devDependency downgraded to 14.2.25
- auth-next-default-test: add .eslintrc.json
- auth-next-default-test: fix JSX quote escaping
- auth-next-default-test: add auto-detected config to CallbackPage
- auth-next-default-test: add type cast to NextAuth call
These changes ensure the example app builds successfully in CI.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 94e99ba commit 931b64d
13 files changed
Lines changed: 578 additions & 87 deletions
File tree
- examples/passport/auth-next-default-test
- app
- callback
- components
- lib
- packages
- auth-next-client
- auth-next-server
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
16 | 23 | | |
17 | 24 | | |
18 | 25 | | |
0 commit comments