Compare commits

..

10 Commits

Author SHA1 Message Date
GitHub Actions
c5c8a81462 chore(release): bump package version(s) [skip ci] 2023-08-09 09:39:28 +00:00
Balázs Orbán
61d30f3dcd fix(docs): correct broken link 2023-08-09 11:33:17 +02:00
Balázs Orbán
a9180a752b fix(docs): correct broken links 2023-08-09 11:33:08 +02:00
Balázs Orbán
6c4180146e chore(docs): add @auth/solid-start to turbo cache 2023-08-09 11:28:37 +02:00
Balázs Orbán
ec6c4ea2be docs: fix redirects 2023-08-09 11:20:10 +02:00
Balázs Orbán
3dfc86334e docs: fix redirects 2023-08-09 11:13:36 +02:00
Balázs Orbán
01d6019638 docs: fix redirects 2023-08-09 11:07:20 +02:00
GitHub Actions
4730429a9f chore(release): bump package version(s) [skip ci] 2023-08-09 09:05:20 +00:00
Adam James
a49236ef62 fix(ts): corrected sqlite condition (#8269) 2023-08-09 10:59:08 +02:00
Balázs Orbán
96ade948ef chore(docs): fix redirect 2023-08-09 01:08:58 +02:00
9 changed files with 47 additions and 17 deletions

View File

@@ -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",

View File

@@ -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",

View File

@@ -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

View File

@@ -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",

View File

@@ -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).
* *

View File

@@ -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",

View File

@@ -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>

View File

@@ -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>

View File

@@ -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",