-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: introduce
@auth/neo4j-adapter
(#7804)
Database adapters are not dependent on Next.js features, so it makes sense to republish them under the `@auth/*` scope. This PR is part of a series to convert adapters, using `@auth/core` for types. BREAKING CHANGE: If you are coming from the previous adapter, change your `package.json`: ```diff - "@next-auth/neo4j-adapter": "0.0.0", + "@auth/neo4j-adapter": "0.0.0", ``` And run `npm install`, `yarn install` or `pnpm install` respectively. **Note:** This packages is published as ESM-only This package assumes that `globalThis.crypto` is available. In older Node.js versions, you can polyfill by adding: `globalThis.crypto ??= require("node:crypto").webcrypto`
- Loading branch information
1 parent
8a0b11f
commit 6e4516a
Showing
10 changed files
with
130 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,25 @@ | ||
{ | ||
"extends": "@next-auth/tsconfig/tsconfig.adapters.json", | ||
"extends": "@next-auth/tsconfig/tsconfig.base.json", | ||
"compilerOptions": { | ||
"allowJs": true, | ||
"baseUrl": ".", | ||
"isolatedModules": true, | ||
"target": "ES2020", | ||
"module": "ESNext", | ||
"moduleResolution": "node", | ||
"outDir": ".", | ||
"rootDir": "src", | ||
"outDir": "dist" | ||
"skipDefaultLibCheck": true, | ||
"strictNullChecks": true, | ||
"stripInternal": true, | ||
"declarationMap": true, | ||
"declaration": true | ||
}, | ||
"exclude": ["tests", "dist", "jest.config.js"] | ||
} | ||
"include": [ | ||
"src/**/*" | ||
], | ||
"exclude": [ | ||
"*.js", | ||
"*.d.ts", | ||
] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
6e4516a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
auth-docs – ./docs
authjs.dev
next-auth-docs-m1mt.vercel.app
auth-docs-authjs.vercel.app
auth-docs-git-main-authjs.vercel.app
www.authjs.dev
errors.authjs.dev
adapters.authjs.dev
warnings.authjs.dev
providers.authjs.dev
sveltekit.authjs.dev