mirror of
https://github.com/jakejarvis/stanza.git
synced 2026-07-16 19:16:00 -04:00
27 lines
660 B
TypeScript
27 lines
660 B
TypeScript
import { defineModule } from "@withstanza/schema";
|
|
|
|
export default defineModule({
|
|
id: "sqlite",
|
|
category: "db",
|
|
label: "SQLite",
|
|
description: "Local SQLite via better-sqlite3. Zero-config for development.",
|
|
version: "0.1.0",
|
|
homepage: "https://www.sqlite.org",
|
|
adapters: [
|
|
{
|
|
key: "default",
|
|
match: {},
|
|
dependencies: { "better-sqlite3": "^12.10.0" },
|
|
devDependencies: { "@types/better-sqlite3": "^7.6.13" },
|
|
env: [
|
|
{
|
|
name: "DATABASE_URL",
|
|
example: "file:./data/dev.db",
|
|
required: true,
|
|
description: "SQLite database file path.",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|