@crossdelta/platform-sdk 0.3.16 → 0.3.18
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 +8 -28
- package/package.json +1 -3
package/README.md
CHANGED
|
@@ -57,22 +57,15 @@
|
|
|
57
57
|
### 1. Create a new workspace
|
|
58
58
|
|
|
59
59
|
```bash
|
|
60
|
-
#
|
|
61
|
-
npx @crossdelta/platform-sdk@latest new workspace my-platform
|
|
62
|
-
|
|
63
|
-
# Using bunx (Bun - faster!)
|
|
64
|
-
bunx @crossdelta/platform-sdk@latest new workspace my-platform
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
Or install globally and use the shorter `pf` command:
|
|
68
|
-
|
|
69
|
-
```bash
|
|
60
|
+
# Install globally (recommended)
|
|
70
61
|
npm install -g @crossdelta/platform-sdk
|
|
71
62
|
pf new workspace my-platform
|
|
63
|
+
|
|
64
|
+
# Or use bunx (no install needed)
|
|
65
|
+
bunx @crossdelta/platform-sdk pf new workspace my-platform
|
|
72
66
|
```
|
|
73
67
|
|
|
74
68
|
**With options:**
|
|
75
|
-
|
|
76
69
|
```bash
|
|
77
70
|
pf new workspace my-platform -y # Skip prompts
|
|
78
71
|
pf new workspace my-platform -o my-github-org # Set GitHub owner
|
|
@@ -88,10 +81,9 @@ pf new workspace my-platform --no-github # Without CI/CD
|
|
|
88
81
|
| `-s, --pulumi-stack <name>` | Pulumi stack base name (org/project) |
|
|
89
82
|
| `--no-github` | Skip GitHub Actions workflows |
|
|
90
83
|
|
|
91
|
-
> 💡 **
|
|
92
|
-
> - `
|
|
93
|
-
> - `bunx @crossdelta/platform-sdk
|
|
94
|
-
> - `pf` — After global install, use the short alias
|
|
84
|
+
> 💡 **Two ways to use the CLI:**
|
|
85
|
+
> - **Global install** (recommended): `npm install -g @crossdelta/platform-sdk` → use `pf` command
|
|
86
|
+
> - **Bunx** (no install): `bunx @crossdelta/platform-sdk pf <command>`
|
|
95
87
|
|
|
96
88
|
---
|
|
97
89
|
|
|
@@ -251,19 +243,7 @@ pulumi up --stack dev
|
|
|
251
243
|
|
|
252
244
|
---
|
|
253
245
|
|
|
254
|
-
##
|
|
255
|
-
|
|
256
|
-
```bash
|
|
257
|
-
# Via npx (recommended)
|
|
258
|
-
npx @crossdelta/platform-sdk new workspace my-platform
|
|
259
|
-
|
|
260
|
-
# Global install
|
|
261
|
-
bun add -g @crossdelta/platform-sdk
|
|
262
|
-
```
|
|
263
|
-
|
|
264
|
-
---
|
|
265
|
-
|
|
266
|
-
## 👍 When to use this
|
|
246
|
+
## When to use this
|
|
267
247
|
|
|
268
248
|
- ✅ **Bun-first microservice platform** with minimal boilerplate
|
|
269
249
|
- ✅ **Turborepo + Pulumi** as architectural baseline
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossdelta/platform-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.18",
|
|
4
4
|
"description": "CLI toolkit for scaffolding Turborepo workspaces with Pulumi infrastructure and Hono/NestJS microservices",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -17,8 +17,6 @@
|
|
|
17
17
|
],
|
|
18
18
|
"homepage": "https://www.npmjs.com/package/@crossdelta/platform-sdk",
|
|
19
19
|
"bin": {
|
|
20
|
-
"crossdelta-platform-sdk": "./bin/cli.js",
|
|
21
|
-
"platform": "./bin/cli.js",
|
|
22
20
|
"pf": "./bin/cli.js"
|
|
23
21
|
},
|
|
24
22
|
"engines": {
|