create-runlot 0.1.0-rc.97 → 0.1.0-rc.99

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.
Files changed (2) hide show
  1. package/dist/index.js +12 -20
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -134,9 +134,8 @@ function nextReadme(name) {
134
134
  "runlot deploy",
135
135
  "```",
136
136
  "",
137
- "The deploy reads the `database`, `auth` and `storage` declarations in `runlot.json`",
138
- "and creates Postgres, authentication and object storage. The App Router itself runs",
139
- "on workerd (OpenNext).",
137
+ "Postgres, login and object storage come with the project \u2014 there is nothing to set up.",
138
+ "The App Router itself runs on workerd (OpenNext).",
140
139
  "",
141
140
  "`npm run dev` is `next dev` \u2014 the fast UI loop, without runlot's bindings.",
142
141
  "`npm run preview` is `runlot dev`: it builds through OpenNext and serves the result",
@@ -150,9 +149,6 @@ function nextTemplate(ctx) {
150
149
  if (org) runlotConfig["org"] = org;
151
150
  runlotConfig["framework"] = "next";
152
151
  runlotConfig["assets"] = "public";
153
- runlotConfig["database"] = true;
154
- runlotConfig["auth"] = true;
155
- runlotConfig["storage"] = true;
156
152
  const packageJson = {
157
153
  name,
158
154
  version: "0.0.0",
@@ -172,8 +168,8 @@ function nextTemplate(ctx) {
172
168
  "react-dom": "^19.2.8",
173
169
  // The npm job in release.yml rewrites the version range with the same
174
170
  // number as the tag — the value written here is the last published version.
175
- "@runlot/next": "^0.1.0-rc.97",
176
- "@runlot/pg": "^0.1.0-rc.97"
171
+ "@runlot/next": "^0.1.0-rc.99",
172
+ "@runlot/pg": "^0.1.0-rc.99"
177
173
  },
178
174
  devDependencies: {
179
175
  typescript: "^5.7.2",
@@ -204,7 +200,7 @@ var HONO_INDEX_TS = [
204
200
  'import type { Db, Storage } from "@runlot/pg";',
205
201
  'import type { AuthBinding } from "@runlot/auth";',
206
202
  "",
207
- "// db, auth, and storage are declared in runlot.json; `runlot deploy` creates them.",
203
+ "// db, auth, and storage come with every runlot project.",
208
204
  "interface Env {",
209
205
  " db: Db;",
210
206
  " auth: AuthBinding;",
@@ -265,8 +261,7 @@ function honoReadme(name) {
265
261
  "and the static files real and `env.db` and `env.auth` as local stand-ins. It prints",
266
262
  "which is which. Point `env.db` at a real database with `RUNLOT_DEV_DATABASE_URL`.",
267
263
  "",
268
- "The deploy reads the `database`, `auth` and `storage` declarations in `runlot.json`",
269
- "and creates them, and `db`, `auth` and `storage` on `Env` receive the real bindings.",
264
+ "`db`, `auth` and `storage` on `Env` come with the project \u2014 there is nothing to set up.",
270
265
  ""
271
266
  ].join("\n");
272
267
  }
@@ -276,9 +271,6 @@ function honoTemplate(ctx) {
276
271
  if (org) runlotConfig["org"] = org;
277
272
  runlotConfig["main"] = "src/index.ts";
278
273
  runlotConfig["assets"] = "public";
279
- runlotConfig["database"] = true;
280
- runlotConfig["auth"] = true;
281
- runlotConfig["storage"] = true;
282
274
  const packageJson = {
283
275
  name,
284
276
  version: "0.0.0",
@@ -292,8 +284,8 @@ function honoTemplate(ctx) {
292
284
  },
293
285
  dependencies: {
294
286
  hono: "^4.10.7",
295
- "@runlot/pg": "^0.1.0-rc.97",
296
- "@runlot/auth": "^0.1.0-rc.97"
287
+ "@runlot/pg": "^0.1.0-rc.99",
288
+ "@runlot/auth": "^0.1.0-rc.99"
297
289
  },
298
290
  devDependencies: {
299
291
  typescript: "^5.7.2",
@@ -361,8 +353,8 @@ function staticReadme(name) {
361
353
  "`runlot dev` serves `public/` the way the deployment will, including the `notFound`",
362
354
  "setting, and reloads when you save.",
363
355
  "",
364
- "Without a worker there is no database, authentication or storage. If you add a worker later,",
365
- 'add something like `"database": true` to `runlot.json` and deploy \u2014 the resources are created as part of the deploy.',
356
+ 'The project already has a database, login and storage. Add a worker (`"main"` in',
357
+ "`runlot.json`) when you want to use them \u2014 `env.db`, `env.auth` and `env.storage` are there.",
366
358
  ""
367
359
  ].join("\n");
368
360
  }
@@ -753,8 +745,8 @@ function studioTemplate(ctx) {
753
745
  "react-dom": "^19.2.8",
754
746
  // The npm job in release.yml rewrites these ranges with the same number as the
755
747
  // tag — what is written here is the last published version.
756
- "@runlot/pg": "^0.1.0-rc.97",
757
- "@runlot/auth": "^0.1.0-rc.97"
748
+ "@runlot/pg": "^0.1.0-rc.99",
749
+ "@runlot/auth": "^0.1.0-rc.99"
758
750
  },
759
751
  devDependencies: {
760
752
  "@tailwindcss/vite": "^4.3.3",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-runlot",
3
- "version": "0.1.0-rc.97",
3
+ "version": "0.1.0-rc.99",
4
4
  "description": "npm create runlot — Next.js, Hono, and static-site templates",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -24,7 +24,7 @@
24
24
  "esbuild": "^0.24.2",
25
25
  "typescript": "^5.7.2",
26
26
  "@types/node": "^22.10.2",
27
- "@runlot/config": "0.1.0-rc.97"
27
+ "@runlot/config": "0.1.0-rc.99"
28
28
  },
29
29
  "engines": {
30
30
  "node": ">=20"