-
-
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/xata-adapter
(#7808)
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. If you are coming from the previous adapter, change your `package.json`: ```diff - "@next-auth/xata-adapter": "0.0.0", + "@auth/xata-adapter": "0.0.0", ``` And run `npm install`, `yarn install` or `pnpm install` respectively. **Note:** This packages is published as ESM-only
- Loading branch information
1 parent
91c71a1
commit 662e094
Showing
8 changed files
with
58 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,4 +40,4 @@ upstash-redis: | |
- "@auth/upstash-redis-adapter" | ||
|
||
xata: | ||
- "@next-auth/xata-adapter" | ||
- "@auth/xata-adapter" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +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 | ||
}, | ||
"include": ["."], | ||
"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.
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