playcademy 0.14.4 → 0.14.5
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 +1 -5
- package/dist/constants.js +1 -1
- package/dist/db.js +2096 -33
- package/dist/index.d.ts +43 -23
- package/dist/index.js +4394 -3498
- package/dist/templates/config/vite-config.ts.template +9 -0
- package/dist/templates/database/package.json.template +8 -2
- package/dist/utils.js +2200 -47
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -138,7 +138,6 @@ playcademy deploy --debug # Show debug info
|
|
|
138
138
|
- `-d, --description <desc>` - Description
|
|
139
139
|
- `-e, --emoji <emoji>` - Emoji icon
|
|
140
140
|
- `-b, --build <path>` - Path to frontend zip file
|
|
141
|
-
- `-u, --external-url <url>` - External URL for external games
|
|
142
141
|
- `--env <env>` - Environment (`production` or `staging`)
|
|
143
142
|
- `--backend` - Deploy API routes
|
|
144
143
|
- `--no-backend` - Skip API routes
|
|
@@ -183,10 +182,7 @@ my-game/
|
|
|
183
182
|
└── hello.ts # GET /api/hello
|
|
184
183
|
```
|
|
185
184
|
|
|
186
|
-
Backend routes are
|
|
187
|
-
|
|
188
|
-
- ✅ Automatically deployed for hosted games
|
|
189
|
-
- ⊘ Opt-in for external games (use `--backend` flag)
|
|
185
|
+
Backend routes are automatically deployed with hosted games.
|
|
190
186
|
|
|
191
187
|
## Authentication
|
|
192
188
|
|
package/dist/constants.js
CHANGED
|
@@ -57,7 +57,7 @@ var package_default = {
|
|
|
57
57
|
"sync-vite-templates": "bun scripts/sync-vite-templates.ts",
|
|
58
58
|
"sync-godot-template": "bun scripts/sync-godot-template.ts",
|
|
59
59
|
"sync:all": "bun scripts/sync-all.ts",
|
|
60
|
-
|
|
60
|
+
cf: "sst shell -- bun scripts/setup-cloudflare-dispatch.ts",
|
|
61
61
|
"list-s3-bucket": "sst shell -- bun scripts/list-s3-bucket.ts",
|
|
62
62
|
doctor: "bunx sst shell -- bun scripts/doctor.ts",
|
|
63
63
|
format: "bun run --filter '*' format",
|