@heyo-sh/create-heyo-docs 3.2.1 → 3.2.2

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 CHANGED
@@ -22,7 +22,10 @@ yarn dlx @heyo-sh/create-heyo-docs
22
22
  bun create @heyo-sh/heyo-docs
23
23
  ```
24
24
 
25
- The creator works with pnpm, npm, Yarn, and Bun.
25
+ The creator works with pnpm, npm, Yarn, and Bun. In projects targeting Cloudflare,
26
+ the `deploy` script builds the site before publishing it, so prerendered pages and
27
+ assets always come from the current source. You can still run `build` separately
28
+ to check the output before deploying.
26
29
 
27
30
  ## Options
28
31
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "scripts": {
3
- "deploy": "wrangler deploy --config dist/server/wrangler.json",
3
+ "deploy": "astro build && wrangler deploy --config dist/server/wrangler.json",
4
4
  "cf-typegen": "wrangler types",
5
5
  "typecheck": "bun run cf-typegen && astro check"
6
6
  },
@@ -4,7 +4,7 @@
4
4
  "react-router": "8.3.0"
5
5
  },
6
6
  "scripts": {
7
- "deploy": "wrangler deploy",
7
+ "deploy": "react-router build && wrangler deploy",
8
8
  "cf-typegen": "wrangler types",
9
9
  "typecheck": "bun run cf-typegen && react-router typegen && tsc -p tsconfig.json"
10
10
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heyo-sh/create-heyo-docs",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "description": "Create a standalone Heyo Docs documentation project.",
5
5
  "homepage": "https://heyo.sh",
6
6
  "repository": {