Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .agents/lessons.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ alwaysApply: true

- npm trusted publishing (OIDC) needs npm ≥ 11.5.1 + Node ≥ 22.14; oven-sh/setup-bun leaves npm 10.x in PATH, so a release job running `changeset publish`/`npm publish` must also run actions/setup-node (Node 24 → npm 11) or OIDC isn't detected → ENEEDAUTH.
- Don't pin a GitHub action to a moving major tag's commit SHA (e.g. setup-node@<v6-tag-commit>) — the tag moves and orphans/GCs the commit → "unable to find version"; pin to an immutable release-tag commit or use the moving @vN tag.
- Docs `docs:audit` with `deployment.base` (e.g. `/persist`) skips `canonical_bad_target` + `non_canonical_in_sitemap` + `indexable_page_not_in_sitemap` until upstream fixes canonical vs stripped `page.url`; re-evaluate on docs-toolchain bumps.
- Blume `audit` + `deployment.base`: skip `canonical_bad_target` / `non_canonical_in_sitemap` / `indexable_page_not_in_sitemap` canonical keeps the base; `page.url` is stripped.
- Format `apps/docs` non-content at `printWidth: 80` via nested `apps/docs/.oxfmtrc.json` (nearest-config-wins); keep `content/**` ignored so oxfmt cannot collapse `:::note`/`:::tip` fences (oxfmt Markdown bug — [Blume FAQ](https://useblume.dev/docs/faq#why-is-oxfmt--ultracite-collapsing-my-directives)); lint-staged must list `mdx` or content-only commits skip format entirely.
- Bun `workspaces: ["apps/*"]` alone drops the root package from manypkg/changesets discovery → `Found changeset … which is not in the workspace`; include `"."` (and ignore private `@stainless-code/persist-docs`) so Release can `changeset version` the publishable root.
9 changes: 8 additions & 1 deletion apps/docs/blume.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,14 @@ export default defineConfig({
},

seo: {
og: { enabled: true },
// Custom .astro pages lack frontmatter — set OG titles explicitly.
og: {
enabled: true,
titles: {
"/": "Persist",
"/404": "Page not found",
},
},
rss: { enabled: true, types: ["changelog"] },
sitemap: true,
robots: true,
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"validate": "blume validate"
},
"dependencies": {
"blume": "1.1.0"
"blume": "1.1.2"
}
}
4 changes: 2 additions & 2 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.