create-astroid 0.7.4 → 0.7.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 +2 -2
- package/index.mjs +1 -1
- package/package.json +3 -3
- package/template/README.md +1 -1
- package/template/_github/workflows/ci.yml +3 -1
- package/template/docs/RUNBOOK.md +1 -1
- package/template/package.json +2 -2
package/README.md
CHANGED
|
@@ -58,11 +58,11 @@ pnpm create astroid [directory] [options]
|
|
|
58
58
|
cd my-site
|
|
59
59
|
pnpm install
|
|
60
60
|
pnpm exec wrangler d1 create <name> # then paste the ids into wrangler.jsonc
|
|
61
|
-
pnpm doctor
|
|
61
|
+
pnpm run doctor # validates config, bindings, generated files
|
|
62
62
|
pnpm dev
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
`pnpm doctor` flags any binding id you haven't filled in yet, plus generated
|
|
65
|
+
`pnpm run doctor` flags any binding id you haven't filled in yet, plus generated
|
|
66
66
|
files that have drifted from the config.
|
|
67
67
|
|
|
68
68
|
## How the pieces relate
|
package/index.mjs
CHANGED
|
@@ -500,7 +500,7 @@ async function main() {
|
|
|
500
500
|
" OWNER_EMAIL=you@example.com pnpm seed:editors",
|
|
501
501
|
" # develop / ship:",
|
|
502
502
|
" pnpm dev # astroid dev (regenerates, then astro dev)",
|
|
503
|
-
" pnpm doctor
|
|
503
|
+
" pnpm run doctor # validate config + bindings (`run` is required)",
|
|
504
504
|
" wrangler deploy",
|
|
505
505
|
"",
|
|
506
506
|
].join("\n"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-astroid",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"description": "Scaffold a new Astroid site — an editable, multi-editor Astro app on Cloudflare Workers — in one command.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astro",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@better-auth/passkey": "^1.7.2",
|
|
35
35
|
"@louise-toolkit/astro": "^0.2.3",
|
|
36
|
+
"astroidjs": "0.14.0",
|
|
36
37
|
"better-auth": "^1.7.2",
|
|
37
|
-
"louise-toolkit": "^0.31.1"
|
|
38
|
-
"astroidjs": "0.14.0"
|
|
38
|
+
"louise-toolkit": "^0.31.1"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=26.0.0"
|
package/template/README.md
CHANGED
|
@@ -99,7 +99,7 @@ editable. Body HTML is sanitized on every save.
|
|
|
99
99
|
Once provisioned, shipping changes is just:
|
|
100
100
|
|
|
101
101
|
```sh
|
|
102
|
-
pnpm doctor
|
|
102
|
+
pnpm run doctor # validate config, bindings, and generated-file freshness
|
|
103
103
|
wrangler deploy # or: pnpm astroid deploy
|
|
104
104
|
```
|
|
105
105
|
|
|
@@ -36,8 +36,10 @@ jobs:
|
|
|
36
36
|
# Validate the config, bindings, and that the generated
|
|
37
37
|
# src/schema.ts · src/worker.ts · src/middleware.ts trio is still in sync
|
|
38
38
|
# with astroid.config.ts. A fast fail before the heavier steps.
|
|
39
|
+
# `run` is load-bearing: `doctor` is a pnpm built-in, so a bare
|
|
40
|
+
# `pnpm doctor` runs pnpm's own self-check and never reaches Astroid's.
|
|
39
41
|
- name: Doctor
|
|
40
|
-
run: pnpm doctor
|
|
42
|
+
run: pnpm run doctor
|
|
41
43
|
|
|
42
44
|
# No-ops on a fresh scaffold; runs automatically once you add a `lint`
|
|
43
45
|
# script (oxlint/biome) — same for `test` (vitest) further down.
|
package/template/docs/RUNBOOK.md
CHANGED
package/template/package.json
CHANGED
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"daisyui": "^5.6.18",
|
|
36
36
|
"drizzle-kit": "^0.31.10",
|
|
37
37
|
"tailwindcss": "^4.1.0",
|
|
38
|
-
"typescript": "^
|
|
38
|
+
"typescript": "^6.0.3",
|
|
39
39
|
"wrangler": "^4.110.0"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=24.0.0"
|
|
43
43
|
},
|
|
44
|
-
"packageManager": "pnpm@
|
|
44
|
+
"packageManager": "pnpm@12.6.0"
|
|
45
45
|
}
|