diff --git a/.agents/lessons.md b/.agents/lessons.md index f291fe8..fe843bf 100644 --- a/.agents/lessons.md +++ b/.agents/lessons.md @@ -21,3 +21,4 @@ alwaysApply: true - Don't pin a GitHub action to a moving major tag's commit SHA (e.g. setup-node@) — 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. - 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. diff --git a/.changeset/config.json b/.changeset/config.json index bb32ed8..b586793 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -10,5 +10,5 @@ "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", - "ignore": [] + "ignore": ["@stainless-code/persist-docs"] } diff --git a/package.json b/package.json index 16a2e83..82d9364 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "url": "git+https://github.com/stainless-code/persist.git" }, "workspaces": [ + ".", "apps/*" ], "files": [