@crossdelta/platform-sdk 0.5.10 → 0.5.12

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 CHANGED
@@ -72,7 +72,7 @@ pf new hono-micro services/orders --ai -d "..."
72
72
 
73
73
  ## 🎯 Why This Exists
74
74
 
75
- Platform engineering problems `pf` solves:
75
+ **`pf` solves these platform engineering problems:**
76
76
 
77
77
  - **Infrastructure drift** — Infra configs live in separate repos, diverge from code
78
78
  - **Manual wiring** — Ports, env vars, service discovery configured by hand
@@ -403,7 +403,7 @@ export async function sendNotification(data: OrderCreatedEvent): Promise<void> {
403
403
  // services/notifications/src/index.ts
404
404
  import '@crossdelta/telemetry' // Must be first import
405
405
 
406
- import { consumeJetStreamEvents } from '@crossdelta/cloudevents/transports/nats'
406
+ import { consumeJetStreamEvents } from '@crossdelta/cloudevents'
407
407
  import { Hono } from 'hono'
408
408
 
409
409
  const port = Number(process.env.PORT || process.env.NOTIFICATIONS_PORT) || 4002
@@ -3,7 +3,7 @@
3
3
  "name": "@crossdelta/cloudevents",
4
4
  "description": "Type-safe event-driven microservices with NATS and Zod validation",
5
5
  "link": "https://www.npmjs.com/package/@crossdelta/cloudevents",
6
- "install": ["@crossdelta/cloudevents@^0.3.1", "zod@^4.0.0"],
6
+ "install": ["@crossdelta/cloudevents@^0.3.4", "zod@^4.0.0"],
7
7
  "run": [],
8
8
  "initial": true
9
9
  },
@@ -70,7 +70,7 @@ Rules:
70
70
  ```ts
71
71
  import '@crossdelta/telemetry'
72
72
 
73
- import { consumeJetStreamEvents } from '@crossdelta/cloudevents/transports/nats'
73
+ import { consumeJetStreamEvents } from '@crossdelta/cloudevents'
74
74
  import { Hono } from 'hono'
75
75
 
76
76
  const port = Number(process.env.PORT || process.env.MY_SERVICE_PORT) || 4003
@@ -152,7 +152,7 @@ Start consumption in `src/index.ts` (NOT in a separate file):
152
152
  // src/index.ts - complete example with event consumption
153
153
  import '@crossdelta/telemetry'
154
154
 
155
- import { consumeJetStreamEvents } from '@crossdelta/cloudevents/transports/nats'
155
+ import { consumeJetStreamEvents } from '@crossdelta/cloudevents'
156
156
  import { Hono } from 'hono'
157
157
 
158
158
  const port = Number(process.env.PORT || process.env.NOTIFICATIONS_PORT) || 4002
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossdelta/platform-sdk",
3
- "version": "0.5.10",
3
+ "version": "0.5.12",
4
4
  "description": "CLI toolkit for scaffolding Turborepo workspaces with Pulumi infrastructure and Hono/NestJS microservices",
5
5
  "keywords": [
6
6
  "cli",