mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
cli create: updated templates, reworked examples to be standalone
This commit is contained in:
@@ -8,10 +8,7 @@ import { serve } from "bknd/adapter/node";
|
||||
const config = {
|
||||
connection: {
|
||||
url: ":memory:"
|
||||
},
|
||||
// this is only required to run inside the same workspace
|
||||
// leave blank if you're running this from a different project
|
||||
distPath: "../../app/dist"
|
||||
}
|
||||
};
|
||||
|
||||
serve(config);
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"dev": "tsx --watch index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"bknd": "workspace:*",
|
||||
"bknd": "file:../../app",
|
||||
"@hono/node-server": "^1.13.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user