@crossdelta/platform-sdk 0.1.3 → 0.1.7

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 (3) hide show
  1. package/README.md +28 -1
  2. package/bin/cli.js +120 -114
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
  - 🐝 **Hono Microservices** - Lightweight, fast microservice templates
13
13
  - 🦅 **NestJS Microservices** - Enterprise-grade microservice templates
14
14
  - 🔌 **Integrations** - Add common tools like Biome, NATS, Supabase
15
- - 📦 **Pulumi Ready** - Infrastructure-as-Code out of the box
15
+ - 📦 **[Pulumi](https://www.pulumi.com) Ready** - Infrastructure-as-Code out of the box
16
16
 
17
17
  ## Installation
18
18
 
@@ -37,6 +37,33 @@ pf new nest-micro services/api-gateway
37
37
 
38
38
  ## Commands
39
39
 
40
+ ### `pf dev`
41
+
42
+ Start the development environment with hot reload.
43
+
44
+ ```bash
45
+ pf dev # Start with watch mode (default)
46
+ pf dev --no-watch # Start without watching for changes
47
+ ```
48
+
49
+ **Features:**
50
+ - Generates `.env.local` from `infra/services/*.ts` configurations
51
+ - Starts all services via `turbo start:dev`
52
+ - Watches `infra/services/` for file changes → restarts all services
53
+ - Watches `services/` and `apps/` for new/deleted packages → restarts all services
54
+
55
+ **Configuration via `package.json`:**
56
+ ```json
57
+ {
58
+ "pf": {
59
+ "dev": {
60
+ "watchDirs": ["infra/services"],
61
+ "watchPackages": ["services", "apps"]
62
+ }
63
+ }
64
+ }
65
+ ```
66
+
40
67
  ### `pf new workspace [name]`
41
68
 
42
69
  Scaffold a complete platform workspace with Pulumi infrastructure.