create-snagset 0.1.11 → 0.1.13

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.
@@ -89,12 +89,17 @@ file free of comment keys — Vercel's schema rejects them. Set `DATABASE_URL`
89
89
  to the **transaction pooler** string (Supabase from the marketplace sets a
90
90
  pooled one for you), set `SNAGSET_SECRET_KEY` (required on serverless — the
91
91
  filesystem is ephemeral, so a generated key would differ per instance and
92
- nothing would decrypt) and `CRON_SECRET`, and add a build command:
92
+ nothing would decrypt) and `CRON_SECRET`. Vercel does not migrate for you —
93
+ after each upgrade, run this here, with the deployment's `DATABASE_URL` in
94
+ `.env` (not as Vercel's build command: Vercel fails a build that leaves no
95
+ static output):
93
96
 
94
97
  ```
95
98
  npx snagset migrate
96
99
  ```
97
100
 
101
+ If it is forgotten, the dashboard shows a banner on every page until it is run.
102
+
98
103
  **Anything that runs Node.** `pnpm start`. It serves the API, the dashboard and
99
104
  the widget on one port.
100
105
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-snagset",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Scaffold your own Snagset instance. One command, Postgres included, one variable to fill in.",