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 { type BunBkndConfig, serve } from "bknd/adapter/bun";
|
||||
const config: BunBkndConfig = {
|
||||
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);
|
||||
|
||||
@@ -4,10 +4,11 @@
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "bun run --hot index.ts"
|
||||
"dev": "bun run --hot index.ts",
|
||||
"start": "bun run index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"bknd": "workspace:*"
|
||||
"bknd": "file:../../app"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest"
|
||||
|
||||
Reference in New Issue
Block a user