create-feltkit 0.3.3 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-feltkit",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "description": "Create a FeltKit application: npm create feltkit@latest my-app (add -- --template managed for Managed FeltDB)",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -163,6 +163,7 @@ FeltKit doesn't host your app; it builds what you run, for the way you want to r
163
163
  | `container` (default) | Everything in one container | FeltDB state on a volume |
164
164
  | `hosted` | A separate app container | Managed FeltDB, hosted for you, from the artifact's contract (it declares AppPort Services' collections too) |
165
165
  | `self-hosted` | A separate app container | A FeltDB server you operate (`feltdb-server`), in this app's namespace |
166
+ | `vercel` | Vercel's container runtime (beta), scaling with traffic | Managed FeltDB, or your FeltDB server with `--data self-hosted` |
166
167
 
167
168
  Each target's `DEPLOY.md` spells out its contract: what to set, where state lives and how to
168
169
  recover it, what stops startup, and how to upgrade and roll back. A target never changes where
@@ -175,7 +176,7 @@ without their FeltDB settings.
175
176
  npx feltkit readiness --env production
176
177
  ```
177
178
 
178
- 2. **Build and verify.** It asks which target (or pass `--target container`, `hosted` or `self-hosted`):
179
+ 2. **Build and verify.** It asks which target (or pass `--target container`, `hosted`, `self-hosted` or `vercel`):
179
180
 
180
181
  ```bash
181
182
  npm run deploy
@@ -213,7 +214,9 @@ without their FeltDB settings.
213
214
  `.feltkit/deploy/.env`, then run the same `docker compose` command. With your own FeltDB
214
215
  server (`--target self-hosted`), create a key for the app's namespace (`feltdb-server keys
215
216
  create --keys <keys.json> --name tasks --namespace tasks --scope state:read,state:write`) and
216
- put `FELTDB_URL` and `FELTDB_TOKEN` in `.env`. Either container refuses to start without its
217
+ put `FELTDB_URL` and `FELTDB_TOKEN` in `.env`. On Vercel (`--target vercel`), follow
218
+ `.feltkit/deploy/DEPLOY.md`: `npx vercel link`, `npx vercel env add …` for each variable, then
219
+ `npx vercel deploy --prod`, all in `.feltkit/deploy`. Either container refuses to start without its
217
220
  settings, and checks the database answers, so it never keeps data on its own disk. For
218
221
  Fly.io, plain Docker, or other hosts, follow `.feltkit/deploy/DEPLOY.md`.
219
222
 
@@ -13,7 +13,7 @@
13
13
  "typecheck": "tsc --noEmit"
14
14
  },
15
15
  "dependencies": {
16
- "@feltdb/feltkit": "0.3.3",
16
+ "@feltdb/feltkit": "0.3.5",
17
17
  "react": "19.2.0",
18
18
  "react-dom": "19.2.0"
19
19
  },
@@ -20,7 +20,7 @@
20
20
  "deploy:fly": "node scripts/deploy-fly.mjs"
21
21
  },
22
22
  "dependencies": {
23
- "@feltdb/feltkit": "0.3.3"
23
+ "@feltdb/feltkit": "0.3.5"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@feltdb/core": "0.16.1",