@nwire/app 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 +2 -16
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @nwire/app
|
|
2
2
|
|
|
3
|
-
> Container + plugin lifecycle + envelope
|
|
3
|
+
> Container + plugin lifecycle + envelope.
|
|
4
4
|
|
|
5
5
|
## What it does
|
|
6
6
|
|
|
@@ -43,18 +43,4 @@ await bus.fire(TenantSwitched, { tenantId: "acme" });
|
|
|
43
43
|
|
|
44
44
|
## When to use
|
|
45
45
|
|
|
46
|
-
The composition root for any non-trivial Nwire app. Standalone
|
|
47
|
-
|
|
48
|
-
## Used only within nwire-app
|
|
49
|
-
|
|
50
|
-
This package is part of the Nwire stack — it only makes sense inside a Nwire application built with `@nwire/app` + `@nwire/forge`. If you're looking for a standalone primitive, see:
|
|
51
|
-
|
|
52
|
-
- [`@nwire/handler`](../nwire-handler/README.md) — the operation primitive (transport-agnostic)
|
|
53
|
-
- [`@nwire/hooks`](../nwire-hooks/README.md) — universal dispatch (chain + listeners)
|
|
54
|
-
- [`@nwire/http`](../nwire-http/README.md) — typed HTTP without forge
|
|
55
|
-
- [`@nwire/endpoint`](../nwire-endpoint/README.md) — graceful shutdown for any host
|
|
56
|
-
|
|
57
|
-
## See also
|
|
58
|
-
|
|
59
|
-
- [Architecture sketch §05 — App tier](../../architecture-sketch.html#packages)
|
|
60
|
-
- Sibling packages: [@nwire/container](../nwire-container), [@nwire/endpoint](../nwire-endpoint), [@nwire/forge](../nwire-forge)
|
|
46
|
+
The composition root for any non-trivial Nwire app. Standalone: use framework events as a generic typed pub/sub for any lifecycle. Full-stack: pair with `@nwire/forge` and the bus carries `ActionDispatching` / `ActionCompleted` / `ActionFailed` alongside lifecycle events.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nwire/app",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Nwire — managed Container with plugin lifecycle, framework events, and DI hooks. The 'app' in the sealed architecture: composes modules + plugins, boots in order, exposes a Container, fires framework events at every lifecycle transition. Phase 69 extraction in progress; currently ships the framework events + bus.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -10,9 +10,11 @@
|
|
|
10
10
|
"nwire",
|
|
11
11
|
"plugin"
|
|
12
12
|
],
|
|
13
|
+
"license": "MIT",
|
|
13
14
|
"files": [
|
|
14
15
|
"dist",
|
|
15
|
-
"README.md"
|
|
16
|
+
"README.md",
|
|
17
|
+
"LICENSE"
|
|
16
18
|
],
|
|
17
19
|
"type": "module",
|
|
18
20
|
"main": "./dist/app.js",
|
|
@@ -27,8 +29,8 @@
|
|
|
27
29
|
"access": "public"
|
|
28
30
|
},
|
|
29
31
|
"dependencies": {
|
|
30
|
-
"@nwire/container": "0.7.
|
|
31
|
-
"@nwire/logger": "0.7.
|
|
32
|
+
"@nwire/container": "0.7.1",
|
|
33
|
+
"@nwire/logger": "0.7.1"
|
|
32
34
|
},
|
|
33
35
|
"devDependencies": {
|
|
34
36
|
"@types/node": "^22.19.9",
|