@concavejs/docstore-bun-sqlite 0.0.1-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bun-adapter.d.ts +17 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6940 -0
- package/dist/sqlite-docstore.d.ts +15 -0
- package/package.json +31 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SQLite-based DocStore implementation for Bun
|
|
3
|
+
*
|
|
4
|
+
* Implements full MVCC (Multi-Version Concurrency Control) document storage
|
|
5
|
+
* using Bun's synchronous SQLite API.
|
|
6
|
+
*/
|
|
7
|
+
import { BaseSqliteDocStore } from "@concavejs/docstore-sqlite-base";
|
|
8
|
+
/**
|
|
9
|
+
* Bun SQLite DocStore with MVCC support
|
|
10
|
+
*/
|
|
11
|
+
export declare class SqliteDocStore extends BaseSqliteDocStore {
|
|
12
|
+
private db;
|
|
13
|
+
constructor(dbPath?: string);
|
|
14
|
+
close(): Promise<void>;
|
|
15
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@concavejs/docstore-bun-sqlite",
|
|
3
|
+
"version": "0.0.1-alpha.5",
|
|
4
|
+
"license": "FSL-1.1-Apache-2.0",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"type": "module",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "rm -rf dist && bun build ./src/index.ts --outfile dist/index.js --target bun --format esm && tsc -p tsconfig.json --emitDeclarationOnly --declaration --declarationMap false --outDir dist",
|
|
21
|
+
"test": "vitest --run --passWithNoTests"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@concavejs/core": "0.0.1-alpha.5",
|
|
25
|
+
"@concavejs/docstore-sqlite-base": "0.0.1-alpha.5",
|
|
26
|
+
"convex": "^1.27.3"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@types/node": "^24.9.1"
|
|
30
|
+
}
|
|
31
|
+
}
|