Skip to content

docs: sync architecture, contributing and pullfrog modes with the plugins - #494

Merged
gitfromwildan merged 2 commits into
mainfrom
docs/sync-plugins-architecture
Nov 6, 2026
Merged

gitfromwildan merged 2 commits into
mainfrom
docs/sync-plugins-architecture

Conversation

@gitfromwildan

Copy link
Copy Markdown
Member

Summary

Bring the three repository guides in line with the current codebase, mostly the two plugins under plugins/.

ARCHITECTURE.md

  • Workspaces cover packages/* and plugins/*; Vite 8 builds both plugins; Changesets links the five core packages while the plugins version on their own.
  • plugin-og-image 0.1.0 is published (it was still described as pending) and depends on @docubook/themes-colors.
  • Release model: replaces the stale "no package declares another @docubook/* package as a peer". Both plugins peer on @docubook/flame, so a flame major pulls them in with a patch bump (matches scripts/check-release-plan.mjs).
  • Renovate: plugins/** dependencies are not grouped.
  • Docs site: search-algolia comes from npm via an npm: alias, with the workspace override pointing its flame peer back at the workspace.

CONTRIBUTING.md

  • Mentions the plugins, adds a plugin --filter example, and lists the plugins' lint in pre-push.
  • Adds the plugins commit scope.
  • Renovate table: plugins/** (ungrouped) and the mermaid>katex <0.19.0 rule.
  • Changesets: plugin versioning, flame peer, and the first release of a new package being published by hand.

.github/pullfrog-modes.md

  • Stale facts: BUILD_CACHE_VERSION 10 (was v8), React 19.3, vitest 5, Key Decisions 1–11, current override pins (drops undici).
  • Routing rows for the search provider contract and both plugins; plugin versioning in Shared context and Build.
  • The updated Shared context, Review and Build blocks are already applied with the pullfrog CLI (instructions, prompts.review, prompts.build) and match the file.

Affected packages

None. Documentation only, so no changeset.

Validation

  • Checked against package.json files, .changeset/config.json, pnpm-workspace.yaml, .github/renovate.json, cache-key.ts, and npm view @docubook/plugin-og-image.
  • Pre-push turbo lint + turbo build and commitlint passed.

…gins

Document plugins/* in the workspace, their own Changesets versioning and flame peer, og-image 0.1.0 being published, ungrouped Renovate updates for plugins/**, and the plugins scope. Refresh stale Pullfrog facts: BUILD_CACHE_VERSION 10, React 19.3, vitest 5, Key Decisions 1-11, the current override pins, and plugin routing.
@vercel

vercel Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docu Ignored Ignored Preview Nov 6, 2026 2:28pm UTC

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ Mode: standard. Checked every factual claim against the repo and all but one hold. One small Renovate inaccuracy is noted inline.

Reviewed changes

Reviewed one docs-only commit that brings the three guides in line with the two plugins under plugins/.

  • .github/pullfrog-modes.md: updates the stale facts (BUILD_CACHE_VERSION 10, React 19.3, vitest 5, Key Decisions 1–11, override pins without undici) and adds routing rows for the search provider contract and both plugins. Each matches cache-key.ts:48, pnpm-workspace.yaml and ARCHITECTURE.md.
  • ARCHITECTURE.md: rewrites the release model around the plugins' @docubook/flame peer. I confirmed it in two ways. scripts/check-release-plan.mjs asserts that a core major pulls both plugins in at patch. I also simulated a themes-colors major: it produced flame major plus both plugins at patch, so the claim holds through the og-image → themes-colors dependency too.
  • ARCHITECTURE.md docs site: the description of the npm: alias devDependency and the @docubook/plugin-search-algolia>@docubook/flame override matches packages/flame/package.json and pnpm-workspace.yaml.
  • CONTRIBUTING.md: adds the plugins, the plugins scope, plugin lint in pre-push, the mermaid>katex Renovate rule, and plugin versioning. All of these match package.json lint scripts, .changeset/config.json and .github/renovate.json.

Overall: ready to merge. One low-priority fix: the Renovate grouping wording for plugins/**.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using claude-opus-5-5 | 𝕏

Comment thread CONTRIBUTING.md Resolved
@gitfromwildan gitfromwildan self-assigned this Nov 6, 2026

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found. Mode: standard. Verdict: READY.

Reviewed changes

Reviewed the one commit added since the last review. It fixes the Renovate wording issue raised there.

  • Corrected the plugins/** Renovate grouping note: ARCHITECTURE.md and the CONTRIBUTING.md table now say that plugin vitest updates join the workspace-wide vitest PR. This matches .github/renovate.json, where the vitest rule has no matchFileNames. Vitest is the only exception. The plugins have no react, @types/react or @changesets/* dependencies, so they hit no other cross-workspace group.

Pullfrog  | View workflow run | Using claude-opus-5-5 | 𝕏

@gitfromwildan
gitfromwildan merged commit 6a51f7c into main Nov 6, 2026
15 checks passed
@gitfromwildan
gitfromwildan deleted the docs/sync-plugins-architecture branch November 6, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant