@the-smithy/hearth 0.20.0 → 0.21.0

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/llms.md +4 -0
  2. package/package.json +2 -2
package/llms.md CHANGED
@@ -4,6 +4,10 @@ Hearth is a headless CMS. This package is a server-only client for its Delivery
4
4
  client components: the API key is secret.
5
5
 
6
6
  ## Setup
7
+ - Sites made with `pnpm create @the-smithy/hearth-site` already have all of this, and every block, page and form,
8
+ in `src/hearth/` (the client is `@/hearth/client`). Don't rebuild them: style the site in `src/theme/` (tokens,
9
+ and Tailwind classes per slot; `src/hearth/theme/defaults.ts` lists the slots) and read the site's `CLAUDE.md`.
10
+ `pnpm hearth:update` brings in new releases. The rest of this section is for other Next.js apps.
7
11
  - `pnpm add @the-smithy/hearth` (public on npm; no registry config or token needed). It's useless without a
8
12
  Hearth site's API key. The full guide is in Hearth under API docs (Markdown download).
9
13
  - env: `HEARTH_SITE`, `HEARTH_API_KEY`, optionally `HEARTH_WEBHOOK_SECRET`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-smithy/hearth",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "description": "Typed client for the Hearth Delivery API: content, SEO, forms and publish webhooks.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -49,7 +49,7 @@
49
49
  "llms.md"
50
50
  ],
51
51
  "dependencies": {
52
- "@the-smithy/hearth-schema": "^0.20.0"
52
+ "@the-smithy/hearth-schema": "^0.21.0"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "next": ">=15",