@tungthedev/streams-local 0.2.0
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/CODE_OF_CONDUCT.md +45 -0
- package/CONTRIBUTING.md +76 -0
- package/LICENSE +201 -0
- package/README.md +72 -0
- package/SECURITY.md +42 -0
- package/dist/README.md +72 -0
- package/dist/local/daemon.js +54 -0
- package/dist/local/hash_vendor/LICENSE.hash-wasm +38 -0
- package/dist/local/hash_vendor/NOTICE.md +8 -0
- package/dist/local/hash_vendor/xxhash3.umd.min.cjs +7 -0
- package/dist/local/hash_vendor/xxhash32.umd.min.cjs +7 -0
- package/dist/local/hash_vendor/xxhash64.umd.min.cjs +7 -0
- package/dist/local/index-7e8ccwrd.js +26594 -0
- package/dist/local/index.js +6 -0
- package/dist/touch/hash_vendor/LICENSE.hash-wasm +38 -0
- package/dist/touch/hash_vendor/NOTICE.md +8 -0
- package/dist/touch/hash_vendor/xxhash3.umd.min.cjs +7 -0
- package/dist/touch/hash_vendor/xxhash32.umd.min.cjs +7 -0
- package/dist/touch/hash_vendor/xxhash64.umd.min.cjs +7 -0
- package/dist/touch/processor_worker.js +10313 -0
- package/dist/types/local/daemon.d.ts +1 -0
- package/dist/types/local/index.d.ts +1 -0
- package/dist/types/local/server.d.ts +20 -0
- package/package.json +47 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { startLocalDurableStreamsServer, type DurableStreamsLocalExports, type DurableStreamsLocalServer } from "./server";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type DurableStreamsLocalExports = {
|
|
2
|
+
http: {
|
|
3
|
+
url: string;
|
|
4
|
+
port: number;
|
|
5
|
+
};
|
|
6
|
+
sqlite: {
|
|
7
|
+
path: string;
|
|
8
|
+
};
|
|
9
|
+
name: string;
|
|
10
|
+
pid: number;
|
|
11
|
+
};
|
|
12
|
+
export type DurableStreamsLocalServer = {
|
|
13
|
+
exports: DurableStreamsLocalExports;
|
|
14
|
+
close(): Promise<void>;
|
|
15
|
+
};
|
|
16
|
+
export declare function startLocalDurableStreamsServer(opts?: {
|
|
17
|
+
name?: string;
|
|
18
|
+
port?: number;
|
|
19
|
+
hostname?: string;
|
|
20
|
+
}): Promise<DurableStreamsLocalServer>;
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tungthedev/streams-local",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Node and Bun local Prisma Streams runtime for trusted development workflows.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/tungthedev/streams.git"
|
|
8
|
+
},
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/tungthedev/streams/issues"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://github.com/tungthedev/streams/tree/main/docs",
|
|
13
|
+
"license": "Apache-2.0",
|
|
14
|
+
"type": "module",
|
|
15
|
+
"engines": {
|
|
16
|
+
"bun": ">=1.2.0",
|
|
17
|
+
"node": ">=22.0.0"
|
|
18
|
+
},
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"access": "public"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"ajv": "^8.12.0",
|
|
24
|
+
"better-result": "^2.7.0",
|
|
25
|
+
"env-paths": "^3.0.0",
|
|
26
|
+
"proper-lockfile": "^4.1.2"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"README.md",
|
|
30
|
+
"LICENSE",
|
|
31
|
+
"SECURITY.md",
|
|
32
|
+
"CONTRIBUTING.md",
|
|
33
|
+
"CODE_OF_CONDUCT.md",
|
|
34
|
+
"dist/"
|
|
35
|
+
],
|
|
36
|
+
"exports": {
|
|
37
|
+
".": {
|
|
38
|
+
"types": "./dist/types/local/index.d.ts",
|
|
39
|
+
"default": "./dist/local/index.js"
|
|
40
|
+
},
|
|
41
|
+
"./internal/daemon": {
|
|
42
|
+
"types": "./dist/types/local/daemon.d.ts",
|
|
43
|
+
"default": "./dist/local/daemon.js"
|
|
44
|
+
},
|
|
45
|
+
"./package.json": "./package.json"
|
|
46
|
+
}
|
|
47
|
+
}
|