@corpdk/pub-sub 2026.10.0-alpha.1 → 2026.10.0-alpha.3

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.
Files changed (2) hide show
  1. package/README.md +25 -0
  2. package/package.json +9 -2
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # @corpdk/pub-sub
2
+
3
+ Plugin-style GraphQL pub/sub factory for GraphQL Yoga: in-memory or Redis (`createAppPubSub<T>()`).
4
+
5
+ Used by DAL-automated data services for subscription topics. Redis wiring uses `@graphql-yoga/redis-event-target` and `ioredis`.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ pnpm add @corpdk/pub-sub
11
+ # or
12
+ npm install @corpdk/pub-sub
13
+ ```
14
+
15
+ Use the same CalVer as the rest of the DS automation npm set.
16
+
17
+ ## Documentation
18
+
19
+ - [DS subscription SSE (Yoga)](https://github.com/CorpDK/coding-templates/blob/main/docs/developer/11-ds-subscription-sse.md)
20
+ - [Monorepo design — pub/sub](https://github.com/CorpDK/coding-templates/blob/main/docs/architecture/02-monorepo-design.md)
21
+ - Package source: [`libraries/pub-sub`](https://github.com/CorpDK/coding-templates/tree/main/libraries/pub-sub)
22
+
23
+ ## License
24
+
25
+ MIT — see the [repository LICENSE](https://github.com/CorpDK/coding-templates/blob/main/LICENSE).
package/package.json CHANGED
@@ -1,13 +1,20 @@
1
1
  {
2
2
  "name": "@corpdk/pub-sub",
3
- "version": "2026.10.0-alpha.1",
3
+ "version": "2026.10.0-alpha.3",
4
+ "description": "Plugin-style GraphQL pub/sub factory (in-memory or Redis)",
4
5
  "type": "module",
5
6
  "publishConfig": {
6
7
  "registry": "https://registry.npmjs.org/",
7
8
  "access": "public"
8
9
  },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/CorpDK/coding-templates.git",
13
+ "directory": "libraries/pub-sub"
14
+ },
9
15
  "files": [
10
- "dist"
16
+ "dist",
17
+ "README.md"
11
18
  ],
12
19
  "exports": {
13
20
  ".": {