This commit is contained in:
@@ -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",
|
||||
});
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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"],
|
||||
|
||||
@@ -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",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user