@nwire/store-file 0.7.0 → 0.7.1
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/README.md +1 -16
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -35,17 +35,7 @@ const app = createApp("learnflow", {
|
|
|
35
35
|
|
|
36
36
|
## When to use
|
|
37
37
|
|
|
38
|
-
Dev environments without a database, CI pipelines that need persistence across test phases, tiny single-node apps.
|
|
39
|
-
|
|
40
|
-
## Standalone use
|
|
41
|
-
|
|
42
|
-
For developers using `@nwire/store-file` **without the rest of Nwire** — pair it with any TypeScript project, any container, any HTTP framework.
|
|
43
|
-
|
|
44
|
-
```ts
|
|
45
|
-
// See the package's main entry (src/) for the standalone surface.
|
|
46
|
-
// The exports below work without @nwire/app or @nwire/forge.
|
|
47
|
-
import {} from /* ...standalone exports... */ "@nwire/store-file";
|
|
48
|
-
```
|
|
38
|
+
Dev environments without a database, CI pipelines that need persistence across test phases, tiny single-node apps.
|
|
49
39
|
|
|
50
40
|
## Within nwire-app
|
|
51
41
|
|
|
@@ -59,8 +49,3 @@ const app = createApp({
|
|
|
59
49
|
});
|
|
60
50
|
// Adapter/plugin wiring happens here when applicable.
|
|
61
51
|
```
|
|
62
|
-
|
|
63
|
-
## See also
|
|
64
|
-
|
|
65
|
-
- [Architecture sketch §05 — Adapters tier](../../architecture-sketch.html#packages)
|
|
66
|
-
- Sibling packages: [@nwire/store-mongo](../nwire-store-mongo)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nwire/store-file",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Nwire — file-snapshot ActorStore + ProjectionStore. JSON snapshot persisted to disk with debounced writes. Survives process restart; tenant-partitioned. Dev/CI use, not production.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"actor-store",
|
|
@@ -11,9 +11,11 @@
|
|
|
11
11
|
"snapshot",
|
|
12
12
|
"store"
|
|
13
13
|
],
|
|
14
|
+
"license": "MIT",
|
|
14
15
|
"files": [
|
|
15
16
|
"dist",
|
|
16
|
-
"README.md"
|
|
17
|
+
"README.md",
|
|
18
|
+
"LICENSE"
|
|
17
19
|
],
|
|
18
20
|
"type": "module",
|
|
19
21
|
"main": "./dist/store-file.js",
|
|
@@ -28,14 +30,14 @@
|
|
|
28
30
|
"access": "public"
|
|
29
31
|
},
|
|
30
32
|
"dependencies": {
|
|
31
|
-
"@nwire/forge": "0.7.
|
|
33
|
+
"@nwire/forge": "0.7.1"
|
|
32
34
|
},
|
|
33
35
|
"devDependencies": {
|
|
34
36
|
"@types/node": "^22.19.9",
|
|
35
37
|
"typescript": "^5.9.3",
|
|
36
38
|
"vitest": "^4.0.18",
|
|
37
39
|
"zod": "^4.0.0",
|
|
38
|
-
"@nwire/messages": "0.7.
|
|
40
|
+
"@nwire/messages": "0.7.1"
|
|
39
41
|
},
|
|
40
42
|
"scripts": {
|
|
41
43
|
"build": "tsc",
|