mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
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/supabase-adapter": "0.0.0", + "@auth/supabase-adapter": "0.0.0", ``` And run `npm install`, `yarn install` or `pnpm install` respectively. **Note:** This packages is published as ESM-only
107 lines
2.7 KiB
JSON
107 lines
2.7 KiB
JSON
{
|
|
"$schema": "https://turborepo.org/schema.json",
|
|
"pipeline": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["dist/**/*", "*.js", "*.d.ts", "*.d.ts.map"]
|
|
},
|
|
"next-auth#build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": [
|
|
"client/**",
|
|
"core/**",
|
|
"css/**",
|
|
"jwt/**",
|
|
"next/**",
|
|
"providers/**",
|
|
"react/**",
|
|
"*.js",
|
|
"*.d.ts"
|
|
]
|
|
},
|
|
"@auth/core#build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": [
|
|
"lib/**",
|
|
"providers/**",
|
|
"*.js",
|
|
"*.d.ts",
|
|
"*.d.ts.map",
|
|
"src/lib/pages/styles.ts",
|
|
"src/providers/oauth-types.ts"
|
|
]
|
|
},
|
|
"@auth/sveltekit#build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": [".svelte-kit/**", "client.*", "index.*"]
|
|
},
|
|
"clean": {
|
|
"cache": false
|
|
},
|
|
"dev": {
|
|
"cache": false
|
|
},
|
|
"test": {
|
|
"outputs": []
|
|
},
|
|
"e2e": {
|
|
"outputs": ["playwright-report/**"]
|
|
},
|
|
"@auth/upstash-redis-adapter#test": {
|
|
"env": ["UPSTASH_REDIS_KEY", "UPSTASH_REDIS_URL"]
|
|
},
|
|
"docs#dev": {
|
|
"dependsOn": [
|
|
"@auth/core#build",
|
|
"@auth/prisma-adapter#build",
|
|
"@auth/sveltekit#build",
|
|
"@auth/dgraph-adapter#build",
|
|
"@auth/dynamodb-adapter#build",
|
|
"@auth/fauna-adapter#build",
|
|
"@auth/firebase-adapter#build",
|
|
"@auth/mikro-orm-adapter#build",
|
|
"@auth/mongodb-adapter#build",
|
|
"@auth/neo4j-adapter#build",
|
|
"@auth/pouchdb-adapter#build",
|
|
"@auth/sequelize-adapter#build",
|
|
"@auth/supabase-adapter#build",
|
|
"@auth/typeorm-adapter#build",
|
|
"@auth/upstash-redis-adapter#build",
|
|
"@auth/xata-adapter#build",
|
|
"^build",
|
|
"next-auth#build"
|
|
],
|
|
"cache": false
|
|
},
|
|
"docs#build": {
|
|
"dependsOn": [
|
|
"@auth/core#build",
|
|
"@auth/prisma-adapter#build",
|
|
"@auth/sveltekit#build",
|
|
"@auth/dgraph-adapter#build",
|
|
"@auth/dynamodb-adapter#build",
|
|
"@auth/fauna-adapter#build",
|
|
"@auth/firebase-adapter#build",
|
|
"@auth/mikro-orm-adapter#build",
|
|
"@auth/mongodb-adapter#build",
|
|
"@auth/neo4j-adapter#build",
|
|
"@auth/pouchdb-adapter#build",
|
|
"@auth/sequelize-adapter#build",
|
|
"@auth/supabase-adapter#build",
|
|
"@auth/typeorm-adapter#build",
|
|
"@auth/upstash-redis-adapter#build",
|
|
"@auth/xata-adapter#build",
|
|
"^build",
|
|
"next-auth#build"
|
|
],
|
|
"outputs": [
|
|
".docusaurus/**/*",
|
|
"build/**/*",
|
|
"docs/reference/core/**/*",
|
|
"docs/reference/sveltekit/**/*",
|
|
"docs/reference/adapter/**"
|
|
]
|
|
}
|
|
}
|
|
}
|