@crossdelta/platform-sdk 0.5.7 → 0.5.8
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 +7 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
bunx @crossdelta/platform-sdk new workspace my-platform -y
|
|
37
37
|
cd my-platform
|
|
38
38
|
|
|
39
|
-
# Generate service with AI
|
|
39
|
+
# Generate service with AI
|
|
40
|
+
# (first time: you'll be prompted to configure an AI provider)
|
|
40
41
|
bunx @crossdelta/platform-sdk new hono-micro services/orders --ai \
|
|
41
42
|
-d "Handle order creation and payment processing"
|
|
42
43
|
|
|
@@ -49,19 +50,20 @@ bun dev
|
|
|
49
50
|
You get: [Turborepo](https://turbo.build/repo) monorepo + [NATS](https://nats.io) + event-driven microservices + [Pulumi](https://www.pulumi.com) infra + auto-generated `.env.local` + **AI-generated services** — all wired automatically.
|
|
50
51
|
|
|
51
52
|
<details>
|
|
52
|
-
<summary><strong>💡 Prefer shorter commands? Install globally</strong></summary>
|
|
53
|
+
<summary><strong>💡 Prefer shorter commands? Install globally (Bun/npm/yarn/pnpm)</strong></summary>
|
|
53
54
|
|
|
54
55
|
```bash
|
|
55
|
-
#
|
|
56
|
+
# With Bun (recommended)
|
|
56
57
|
bun add -g @crossdelta/platform-sdk
|
|
57
58
|
|
|
59
|
+
# With npm/yarn/pnpm
|
|
60
|
+
npm install -g @crossdelta/platform-sdk
|
|
61
|
+
|
|
58
62
|
# Then use short commands
|
|
59
63
|
pf new workspace my-platform
|
|
60
64
|
pf new hono-micro services/orders --ai -d "..."
|
|
61
65
|
```
|
|
62
66
|
|
|
63
|
-
Works with npm/yarn/pnpm too: `npm install -g @crossdelta/platform-sdk`
|
|
64
|
-
|
|
65
67
|
</details>
|
|
66
68
|
|
|
67
69
|
<br />
|