@nathapp/nestjs-event-bus 1.0.0 → 1.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nathapp/nestjs-event-bus",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Distributed event bus bridging EventEmitter2 and message queues for NestJS",
5
5
  "scripts": {
6
6
  "build": "rimraf dist && tsc -p tsconfig.json",
@@ -24,7 +24,7 @@
24
24
  "lib": "lib"
25
25
  },
26
26
  "dependencies": {
27
- "@nathapp/nestjs-common": "^3.3.0 || ^4.0.2"
27
+ "@nathapp/nestjs-common": "^3.3.0 || ^4.0.3"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@golevelup/ts-jest": "^1.2.1",
@@ -40,8 +40,8 @@
40
40
  "typescript": "^5"
41
41
  },
42
42
  "peerDependencies": {
43
- "@nathapp/nestjs-queue": "^3.3.0 || ^4.0.2",
44
- "@nathapp/nestjs-tenant": "^1.0.0",
43
+ "@nathapp/nestjs-queue": "^3.3.0 || ^4.0.3",
44
+ "@nathapp/nestjs-tenant": "^1.1.0",
45
45
  "@nestjs/common": "^11.0.0 || ^12.1.0",
46
46
  "@nestjs/core": "^11.0.0 || ^12.1.0",
47
47
  "@nestjs/event-emitter": "^3.0.0 || ^12.0.0"
package/AGENTS.md DELETED
@@ -1,55 +0,0 @@
1
- # Agent Instructions
2
-
3
- This file is auto-generated from `.nax/context.md`.
4
- DO NOT EDIT MANUALLY — run `nax generate` to regenerate.
5
-
6
- These instructions apply to all AI coding agents in this project.
7
-
8
- ---
9
-
10
- ## Project Metadata
11
-
12
- > Auto-injected by `nax generate`
13
-
14
- **Project:** `@nathapp/nestjs-event-bus`
15
-
16
- **Language:** TypeScript
17
-
18
- **Key dependencies:** @golevelup/ts-jest, @nestjs/common, @nestjs/core, @nestjs/event-emitter, @nestjs/testing, @types/jest, jest, ts-jest, typescript
19
-
20
- ---
21
- # CLAUDE.md — @nathapp/nestjs-event-bus
22
-
23
- Distributed event bus bridging EventEmitter2 and message queues for NestJS. Enables cross-process event communication transparently.
24
-
25
- ## Status: 📋 Scaffolded (tokens + directory structure, bridge not yet implemented)
26
-
27
- ## Directory Structure
28
-
29
- ```
30
- lib/
31
- ├── constant/tokens.ts — DI tokens (EVENT_BUS_OPTIONS, EVENT_BUS_BRIDGE)
32
- ├── decorator/ — TODO: @DistributedEvent(), @OnDistributedEvent()
33
- ├── interface/ — TODO: IEventBusBridge, IEventBusOptions
34
- ├── module/ — TODO: EventBusModule.register() / registerAsync()
35
- └── service/ — TODO: EventBusBridgeService (listens to EventEmitter2, publishes to queue)
36
- ```
37
-
38
- ## DI Tokens
39
-
40
- `EVENT_BUS_OPTIONS`, `EVENT_BUS_BRIDGE`
41
-
42
- ## Dependencies
43
-
44
- - `@nathapp/nestjs-common` ^3.0.0
45
- - `@nathapp/nestjs-queue` ^3.0.0 — BullMQ/Kafka/RabbitMQ queue abstraction
46
- - `@nestjs/event-emitter` — local EventEmitter2
47
-
48
- ## Architecture (Bridge Pattern A)
49
-
50
- 1. Services emit events locally via `EventEmitter2` (fire-and-forget, no coupling)
51
- 2. `EventBusBridgeService` listens for configured event patterns
52
- 3. Bridge publishes matched events to `@nathapp/nestjs-queue` for cross-process delivery
53
- 4. Remote consumers subscribe via queue consumers as usual
54
-
55
- **Transparent to emitters** — services don't know/care if events go cross-process. The bridge module is opt-in.
package/CLAUDE.md DELETED
@@ -1,53 +0,0 @@
1
- # Project Context
2
-
3
- This file is auto-generated from `.nax/context.md`.
4
- DO NOT EDIT MANUALLY — run `nax generate` to regenerate.
5
-
6
- ---
7
-
8
- ## Project Metadata
9
-
10
- > Auto-injected by `nax generate`
11
-
12
- **Project:** `@nathapp/nestjs-event-bus`
13
-
14
- **Language:** TypeScript
15
-
16
- **Key dependencies:** @golevelup/ts-jest, @nestjs/common, @nestjs/core, @nestjs/event-emitter, @nestjs/testing, @types/jest, jest, ts-jest, typescript
17
-
18
- ---
19
- # CLAUDE.md — @nathapp/nestjs-event-bus
20
-
21
- Distributed event bus bridging EventEmitter2 and message queues for NestJS. Enables cross-process event communication transparently.
22
-
23
- ## Status: 📋 Scaffolded (tokens + directory structure, bridge not yet implemented)
24
-
25
- ## Directory Structure
26
-
27
- ```
28
- lib/
29
- ├── constant/tokens.ts — DI tokens (EVENT_BUS_OPTIONS, EVENT_BUS_BRIDGE)
30
- ├── decorator/ — TODO: @DistributedEvent(), @OnDistributedEvent()
31
- ├── interface/ — TODO: IEventBusBridge, IEventBusOptions
32
- ├── module/ — TODO: EventBusModule.register() / registerAsync()
33
- └── service/ — TODO: EventBusBridgeService (listens to EventEmitter2, publishes to queue)
34
- ```
35
-
36
- ## DI Tokens
37
-
38
- `EVENT_BUS_OPTIONS`, `EVENT_BUS_BRIDGE`
39
-
40
- ## Dependencies
41
-
42
- - `@nathapp/nestjs-common` ^3.0.0
43
- - `@nathapp/nestjs-queue` ^3.0.0 — BullMQ/Kafka/RabbitMQ queue abstraction
44
- - `@nestjs/event-emitter` — local EventEmitter2
45
-
46
- ## Architecture (Bridge Pattern A)
47
-
48
- 1. Services emit events locally via `EventEmitter2` (fire-and-forget, no coupling)
49
- 2. `EventBusBridgeService` listens for configured event patterns
50
- 3. Bridge publishes matched events to `@nathapp/nestjs-queue` for cross-process delivery
51
- 4. Remote consumers subscribe via queue consumers as usual
52
-
53
- **Transparent to emitters** — services don't know/care if events go cross-process. The bridge module is opt-in.
package/GEMINI.md DELETED
@@ -1,53 +0,0 @@
1
- # Gemini CLI Context
2
-
3
- This file is auto-generated from `.nax/context.md`.
4
- DO NOT EDIT MANUALLY — run `nax generate` to regenerate.
5
-
6
- ---
7
-
8
- ## Project Metadata
9
-
10
- > Auto-injected by `nax generate`
11
-
12
- **Project:** `@nathapp/nestjs-event-bus`
13
-
14
- **Language:** TypeScript
15
-
16
- **Key dependencies:** @golevelup/ts-jest, @nestjs/common, @nestjs/core, @nestjs/event-emitter, @nestjs/testing, @types/jest, jest, ts-jest, typescript
17
-
18
- ---
19
- # CLAUDE.md — @nathapp/nestjs-event-bus
20
-
21
- Distributed event bus bridging EventEmitter2 and message queues for NestJS. Enables cross-process event communication transparently.
22
-
23
- ## Status: 📋 Scaffolded (tokens + directory structure, bridge not yet implemented)
24
-
25
- ## Directory Structure
26
-
27
- ```
28
- lib/
29
- ├── constant/tokens.ts — DI tokens (EVENT_BUS_OPTIONS, EVENT_BUS_BRIDGE)
30
- ├── decorator/ — TODO: @DistributedEvent(), @OnDistributedEvent()
31
- ├── interface/ — TODO: IEventBusBridge, IEventBusOptions
32
- ├── module/ — TODO: EventBusModule.register() / registerAsync()
33
- └── service/ — TODO: EventBusBridgeService (listens to EventEmitter2, publishes to queue)
34
- ```
35
-
36
- ## DI Tokens
37
-
38
- `EVENT_BUS_OPTIONS`, `EVENT_BUS_BRIDGE`
39
-
40
- ## Dependencies
41
-
42
- - `@nathapp/nestjs-common` ^3.0.0
43
- - `@nathapp/nestjs-queue` ^3.0.0 — BullMQ/Kafka/RabbitMQ queue abstraction
44
- - `@nestjs/event-emitter` — local EventEmitter2
45
-
46
- ## Architecture (Bridge Pattern A)
47
-
48
- 1. Services emit events locally via `EventEmitter2` (fire-and-forget, no coupling)
49
- 2. `EventBusBridgeService` listens for configured event patterns
50
- 3. Bridge publishes matched events to `@nathapp/nestjs-queue` for cross-process delivery
51
- 4. Remote consumers subscribe via queue consumers as usual
52
-
53
- **Transparent to emitters** — services don't know/care if events go cross-process. The bridge module is opt-in.
package/codex.md DELETED
@@ -1,53 +0,0 @@
1
- # Codex Instructions
2
-
3
- This file is auto-generated from `.nax/context.md`.
4
- DO NOT EDIT MANUALLY — run `nax generate` to regenerate.
5
-
6
- ---
7
-
8
- ## Project Metadata
9
-
10
- > Auto-injected by `nax generate`
11
-
12
- **Project:** `@nathapp/nestjs-event-bus`
13
-
14
- **Language:** TypeScript
15
-
16
- **Key dependencies:** @golevelup/ts-jest, @nestjs/common, @nestjs/core, @nestjs/event-emitter, @nestjs/testing, @types/jest, jest, ts-jest, typescript
17
-
18
- ---
19
- # CLAUDE.md — @nathapp/nestjs-event-bus
20
-
21
- Distributed event bus bridging EventEmitter2 and message queues for NestJS. Enables cross-process event communication transparently.
22
-
23
- ## Status: 📋 Scaffolded (tokens + directory structure, bridge not yet implemented)
24
-
25
- ## Directory Structure
26
-
27
- ```
28
- lib/
29
- ├── constant/tokens.ts — DI tokens (EVENT_BUS_OPTIONS, EVENT_BUS_BRIDGE)
30
- ├── decorator/ — TODO: @DistributedEvent(), @OnDistributedEvent()
31
- ├── interface/ — TODO: IEventBusBridge, IEventBusOptions
32
- ├── module/ — TODO: EventBusModule.register() / registerAsync()
33
- └── service/ — TODO: EventBusBridgeService (listens to EventEmitter2, publishes to queue)
34
- ```
35
-
36
- ## DI Tokens
37
-
38
- `EVENT_BUS_OPTIONS`, `EVENT_BUS_BRIDGE`
39
-
40
- ## Dependencies
41
-
42
- - `@nathapp/nestjs-common` ^3.0.0
43
- - `@nathapp/nestjs-queue` ^3.0.0 — BullMQ/Kafka/RabbitMQ queue abstraction
44
- - `@nestjs/event-emitter` — local EventEmitter2
45
-
46
- ## Architecture (Bridge Pattern A)
47
-
48
- 1. Services emit events locally via `EventEmitter2` (fire-and-forget, no coupling)
49
- 2. `EventBusBridgeService` listens for configured event patterns
50
- 3. Bridge publishes matched events to `@nathapp/nestjs-queue` for cross-process delivery
51
- 4. Remote consumers subscribe via queue consumers as usual
52
-
53
- **Transparent to emitters** — services don't know/care if events go cross-process. The bridge module is opt-in.