bknd is dead long live userbase
Run Tests / test (pull_request) Successful in 4m57s

This commit is contained in:
2026-09-27 19:34:06 +05:30
parent 05e0086fcd
commit 0bfcb5ad71
529 changed files with 2385 additions and 2924 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
import { serve } from "bknd/adapter/bun";
import { createCustomPostgresConnection } from "bknd";
import { serve } from "userbase/adapter/bun";
import { createCustomPostgresConnection } from "userbase";
import { NeonDialect } from "kysely-neon";
const neon = createCustomPostgresConnection("neon", NeonDialect);
@@ -9,6 +9,6 @@ export default serve({
connectionString: process.env.NEON,
}),
// ignore this, it's only required within this repository
// because bknd is installed via "workspace:*"
// because userbase is installed via "workspace:*"
distPath: "../../app/dist",
});
+1 -1
View File
@@ -9,7 +9,7 @@
"@xata.io/client": "^0.0.0-next.v93343b9646f57a1e5c51c35eccf0767c2bb80baa",
"@xata.io/kysely": "^0.2.1",
"kysely-neon": "^1.3.0",
"bknd": "file:../app",
"userbase": "file:../app",
"kysely": "0.27.6"
},
"devDependencies": {
+2 -2
View File
@@ -24,8 +24,8 @@
"esModuleInterop": true,
"skipLibCheck": true,
"paths": {
"bknd": ["../app/src/index.ts"],
"bknd/*": ["../app/src/*"]
"userbase": ["../app/src/index.ts"],
"userbase/*": ["../app/src/*"]
}
},
"include": ["./src/**/*.ts"],
+3 -3
View File
@@ -1,5 +1,5 @@
import { serve } from "bknd/adapter/bun";
import { createCustomPostgresConnection } from "bknd";
import { serve } from "userbase/adapter/bun";
import { createCustomPostgresConnection } from "userbase";
import { XataDialect } from "@xata.io/kysely";
import { buildClient } from "@xata.io/client";
@@ -19,6 +19,6 @@ const xata = createCustomPostgresConnection("xata", XataDialect, {
export default serve({
connection: xata(xataClient),
// ignore this, it's only required within this repository
// because bknd is installed via "workspace:*"
// because userbase is installed via "workspace:*"
distPath: "../../../app/dist",
});