Skip to content

Commit 931b64d

Browse files
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

.syncpackrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@
1313
"dependencyTypes": ["peer"],
1414
"packages": ["@imtbl/auth-next-server", "@imtbl/auth-next-client", "@imtbl/sdk"],
1515
"isIgnored": true
16+
},
17+
{
18+
"label": "Allow Next.js 14 in auth-next devDependencies for compatibility",
19+
"dependencies": ["next"],
20+
"dependencyTypes": ["dev"],
21+
"packages": ["@imtbl/auth-next-server", "@imtbl/auth-next-client"],
22+
"isIgnored": true
1623
}
1724
]
1825
}

0 commit comments

Comments
 (0)