Skip to content

Commit 4c91463

Browse files
mnphpexpertndom91
andcommitted
add(db): Add support for Fauna DB (nextauthjs#708)
* Add support for Fauna DB * Add integration tests Co-authored-by: Nico Domino <[email protected]>
1 parent 1379c9a commit 4c91463

File tree

7 files changed

+790
-6
lines changed

7 files changed

+790
-6
lines changed

package-lock.json

Lines changed: 65 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@
1717
"test:app:rebuild": "npm run build && docker-compose -f test/docker/app.yml up -d --build",
1818
"test:app:stop": "docker-compose -f test/docker/app.yml down",
1919
"test": "npm run test:app:rebuild && npm run test:integration && npm run test:app:stop",
20-
"test:db": "npm run test:db:mysql && npm run test:db:postgres && npm run test:db:mongodb && npm run test:db:mssql",
20+
"test:db": "npm run test:db:mysql && npm run test:db:postgres && npm run test:db:mongodb && npm run test:db:mssql && npm run test:db:fauna",
2121
"test:db:mysql": "node test/mysql.js",
2222
"test:db:postgres": "node test/postgres.js",
2323
"test:db:mongodb": "node test/mongodb.js",
2424
"test:db:mssql": "node test/mssql.js",
25+
"test:db:fauna": "node test/fauna.js",
2526
"test:integration": "mocha test/integration",
2627
"db:start": "docker-compose -f test/docker/databases.yml up -d",
2728
"db:stop": "docker-compose -f test/docker/databases.yml down",
@@ -42,6 +43,7 @@
4243
"license": "ISC",
4344
"dependencies": {
4445
"crypto-js": "^4.0.0",
46+
"faunadb": "^3.0.1",
4547
"futoin-hkdf": "^1.3.2",
4648
"jose": "^1.27.2",
4749
"jsonwebtoken": "^8.5.1",

0 commit comments

Comments
 (0)