mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
Compare commits
10 Commits
@auth/driz
...
@auth/core
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c5c8a81462 | ||
|
|
61d30f3dcd | ||
|
|
a9180a752b | ||
|
|
6c4180146e | ||
|
|
ec6c4ea2be | ||
|
|
3dfc86334e | ||
|
|
01d6019638 | ||
|
|
4730429a9f | ||
|
|
a49236ef62 | ||
|
|
96ade948ef |
@@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
||||||
"cleanUrls": true,
|
"cleanUrls": true,
|
||||||
"headers": [
|
"headers": [
|
||||||
{
|
{
|
||||||
@@ -76,10 +77,15 @@
|
|||||||
"has": [{ "type": "host", "value": "warnings.authjs.dev" }],
|
"has": [{ "type": "host", "value": "warnings.authjs.dev" }],
|
||||||
"destination": "https://authjs.dev/reference/warnings/:path*"
|
"destination": "https://authjs.dev/reference/warnings/:path*"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "/",
|
||||||
|
"has": [{ "type": "host", "value": "adapters.authjs.dev" }],
|
||||||
|
"destination": "https://authjs.dev/reference/adapters"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/:path(.*)",
|
"source": "/:path(.*)",
|
||||||
"has": [{ "type": "host", "value": "adapters.authjs.dev" }],
|
"has": [{ "type": "host", "value": "adapters.authjs.dev" }],
|
||||||
"destination": "https://authjs.dev/reference/adapters/:path*"
|
"destination": "https://authjs.dev/reference/adapter/:path*"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": "/:path",
|
"source": "/:path",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@auth/drizzle-adapter",
|
"name": "@auth/drizzle-adapter",
|
||||||
"version": "0.2.0",
|
"version": "0.2.1",
|
||||||
"description": "Drizzle adapter for Auth.js.",
|
"description": "Drizzle adapter for Auth.js.",
|
||||||
"homepage": "https://authjs.dev",
|
"homepage": "https://authjs.dev",
|
||||||
"repository": "https://github.com/nextauthjs/next-auth",
|
"repository": "https://github.com/nextauthjs/next-auth",
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ export type TableFn<Flavor> = Flavor extends AnyMySqlDatabase
|
|||||||
: Flavor extends AnyPgDatabase
|
: Flavor extends AnyPgDatabase
|
||||||
? PgTableFn
|
? PgTableFn
|
||||||
: Flavor extends AnySQLiteDatabase
|
: Flavor extends AnySQLiteDatabase
|
||||||
? AnySQLiteTable
|
? SQLiteTableFn
|
||||||
: SQLiteTableFn
|
: AnySQLiteTable
|
||||||
|
|
||||||
export function isMySqlDatabase(
|
export function isMySqlDatabase(
|
||||||
db: any
|
db: any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@auth/kysely-adapter",
|
"name": "@auth/kysely-adapter",
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"description": "Kysely adapter for Auth.js",
|
"description": "Kysely adapter for Auth.js",
|
||||||
"homepage": "https://authjs.dev/reference/adapter/kysely",
|
"homepage": "https://authjs.dev/reference/adapter/kysely",
|
||||||
"repository": "https://github.com/nextauthjs/next-auth",
|
"repository": "https://github.com/nextauthjs/next-auth",
|
||||||
|
|||||||
@@ -270,7 +270,7 @@ function to<T extends Partial<ReturnData<null>>, K extends keyof T>(
|
|||||||
* await db.schema.dropTable("VerificationToken").ifExists().execute()
|
* await db.schema.dropTable("VerificationToken").ifExists().execute()
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
* > This schema is adapted for use in Kysely and is based upon our main [schema](/reference/adapters/models).
|
* > This schema is adapted for use in Kysely and is based upon our main [schema](/reference/adapters#models).
|
||||||
*
|
*
|
||||||
* For more information about creating and running migrations with Kysely, refer to the [Kysely migrations documentation](https://kysely.dev/docs/migrations).
|
* For more information about creating and running migrations with Kysely, refer to the [Kysely migrations documentation](https://kysely.dev/docs/migrations).
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@auth/core",
|
"name": "@auth/core",
|
||||||
"version": "0.10.1",
|
"version": "0.10.2",
|
||||||
"description": "Authentication for the Web.",
|
"description": "Authentication for the Web.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"authentication",
|
"authentication",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* <div style={{backgroundColor: "#000", display: "flex", justifyContent: "space-between", color: "#fff", padding: 16}}>
|
* <div style={{backgroundColor: "#000", display: "flex", justifyContent: "space-between", color: "#fff", padding: 16}}>
|
||||||
* <span>Built-in <b>VK</b> integration.</span>
|
* <span>Built-in <b>VK</b> integration.</span>
|
||||||
* <a href="www.vk.com/">
|
* <a href="https://vk.com/">
|
||||||
* <img style={{display: "block"}} src="https://authjs.dev/img/providers/vk.svg" height="48" />
|
* <img style={{display: "block"}} src="https://authjs.dev/img/providers/vk.svg" height="48" />
|
||||||
* </a>
|
* </a>
|
||||||
* </div>
|
* </div>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* <div style={{backgroundColor: "#000", display: "flex", justifyContent: "space-between", color: "#fff", padding: 16}}>
|
* <div style={{backgroundColor: "#000", display: "flex", justifyContent: "space-between", color: "#fff", padding: 16}}>
|
||||||
* <span>Built-in <b> Wikimedia</b> integration.</span>
|
* <span>Built-in <b> Wikimedia</b> integration.</span>
|
||||||
* <a href="www.mediawiki.org/">
|
* <a href="https://mediawiki.org/">
|
||||||
* <img style={{display: "block"}} src="https://authjs.dev/img/providers/wikimedia.svg" height="48" />
|
* <img style={{display: "block"}} src="https://authjs.dev/img/providers/wikimedia.svg" height="48" />
|
||||||
* </a>
|
* </a>
|
||||||
* </div>
|
* </div>
|
||||||
|
|||||||
40
turbo.json
40
turbo.json
@@ -2,12 +2,21 @@
|
|||||||
"$schema": "https://turborepo.org/schema.json",
|
"$schema": "https://turborepo.org/schema.json",
|
||||||
"pipeline": {
|
"pipeline": {
|
||||||
"build": {
|
"build": {
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": [
|
||||||
"outputs": ["dist/**/*", "*.js", "*.d.ts", "*.d.ts.map"],
|
"^build"
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
"dist/**/*",
|
||||||
|
"*.js",
|
||||||
|
"*.d.ts",
|
||||||
|
"*.d.ts.map"
|
||||||
|
],
|
||||||
"outputMode": "new-only"
|
"outputMode": "new-only"
|
||||||
},
|
},
|
||||||
"next-auth#build": {
|
"next-auth#build": {
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": [
|
||||||
|
"^build"
|
||||||
|
],
|
||||||
"outputs": [
|
"outputs": [
|
||||||
"client/**",
|
"client/**",
|
||||||
"core/**",
|
"core/**",
|
||||||
@@ -22,7 +31,9 @@
|
|||||||
"outputMode": "new-only"
|
"outputMode": "new-only"
|
||||||
},
|
},
|
||||||
"@auth/core#build": {
|
"@auth/core#build": {
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": [
|
||||||
|
"^build"
|
||||||
|
],
|
||||||
"outputs": [
|
"outputs": [
|
||||||
"lib/**",
|
"lib/**",
|
||||||
"providers/**",
|
"providers/**",
|
||||||
@@ -35,8 +46,14 @@
|
|||||||
"outputMode": "new-only"
|
"outputMode": "new-only"
|
||||||
},
|
},
|
||||||
"@auth/sveltekit#build": {
|
"@auth/sveltekit#build": {
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": [
|
||||||
"outputs": [".svelte-kit/**", "client.*", "index.*"],
|
"^build"
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
".svelte-kit/**",
|
||||||
|
"client.*",
|
||||||
|
"index.*"
|
||||||
|
],
|
||||||
"outputMode": "new-only"
|
"outputMode": "new-only"
|
||||||
},
|
},
|
||||||
"clean": {
|
"clean": {
|
||||||
@@ -49,15 +66,21 @@
|
|||||||
"outputMode": "new-only"
|
"outputMode": "new-only"
|
||||||
},
|
},
|
||||||
"e2e": {
|
"e2e": {
|
||||||
"outputs": ["playwright-report/**"]
|
"outputs": [
|
||||||
|
"playwright-report/**"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"@auth/upstash-redis-adapter#test": {
|
"@auth/upstash-redis-adapter#test": {
|
||||||
"env": ["UPSTASH_REDIS_KEY", "UPSTASH_REDIS_URL"]
|
"env": [
|
||||||
|
"UPSTASH_REDIS_KEY",
|
||||||
|
"UPSTASH_REDIS_URL"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"docs#dev": {
|
"docs#dev": {
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"@auth/core#build",
|
"@auth/core#build",
|
||||||
"@auth/prisma-adapter#build",
|
"@auth/prisma-adapter#build",
|
||||||
|
"@auth/solid-start#build",
|
||||||
"@auth/sveltekit#build",
|
"@auth/sveltekit#build",
|
||||||
"@auth/dgraph-adapter#build",
|
"@auth/dgraph-adapter#build",
|
||||||
"@auth/drizzle-adapter#build",
|
"@auth/drizzle-adapter#build",
|
||||||
@@ -83,6 +106,7 @@
|
|||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"@auth/core#build",
|
"@auth/core#build",
|
||||||
"@auth/prisma-adapter#build",
|
"@auth/prisma-adapter#build",
|
||||||
|
"@auth/solid-start#build",
|
||||||
"@auth/sveltekit#build",
|
"@auth/sveltekit#build",
|
||||||
"@auth/dgraph-adapter#build",
|
"@auth/dgraph-adapter#build",
|
||||||
"@auth/drizzle-adapter#build",
|
"@auth/drizzle-adapter#build",
|
||||||
|
|||||||
Reference in New Issue
Block a user