Skip to content

build(flame): use plugin-search-algolia 0.1.2 and verify the domain for algolia - #489

Merged
gitfromwildan merged 1 commit into
mainfrom
build/docs-algolia-0.1.2
Nov 6, 2026
Merged

gitfromwildan merged 1 commit into
mainfrom
build/docs-algolia-0.1.2

Conversation

@gitfromwildan

Copy link
Copy Markdown
Member

Summary

Brings docubook.pro up to date with the published Algolia plugin, and adds the meta tag the Algolia Crawler needs to verify the domain.

Plugin 0.1.0 → 0.1.2

The docs site takes @docubook/plugin-search-algolia from npm (devDependencies), and the lockfile was still on 0.1.0. So docubook.pro was missing two fixes:

  • 0.1.1 (fix(plugins): stop sending the search index with every ask ai question #480): Ask AI no longer sends the search index with every question.

  • 0.1.2 (fix(plugins): show the remove button in the ask ai conversation history #487): the × button in Ask AI's conversation history shows again.

  • packages/flame/package.json: npm:@docubook/plugin-search-algolia@^0.1.2. The lockfile now resolves 0.1.2 (integrity sha512-lZSR8q…), and that is the whole lockfile diff.

  • pnpm-workspace.yaml: 0.1.2 was published at 2026-11-06T06:44Z, inside pnpm's minimumReleaseAge window, so minimumReleaseAgeExclude pins that exact version.

    • It replaces the 0.1.0 entry, which the lockfile no longer contains.
    • pnpm install passes with only the 0.1.2 exclusion.
    • Drop the entry once 0.1.2 is older than the window.

Domain verification

meta.verification (added in flame 2.6.0, #488) now carries the code from the Crawler's Domains → Meta tag tab:

"verification": { "algolia-site-verification": "3977D491A9531EBA" }

Every built page has <meta name="algolia-site-verification" content="3977D491A9531EBA"> in its <head>. That includes the home page, index.html, which is the page Algolia checks.

No changeset: docu.json and devDependencies are not part of the published package (same as #479).

Verification

  • Install. pnpm install passes the supply-chain check. packages/flame/node_modules/@docubook/plugin-search-algolia resolves to 0.1.2.
  • Build. turbo build --filter=@docubook/flame... passes.
    • The verification tag is in index.html, docs/index.html, docs/getting-started/installation.html and 404.html.
    • assets/docsearch/style.css is 0.1.2's, with the conversation-history rule.
  • Headless Chromium on the built site:
    • Served with the CSP from vercel.json: Ctrl+K opens DocSearch, "install" returns 7 hits from 5ccyzzz96e-dsn.algolia.net (200), and Ask AI opens. There are no CSP violations and no page errors.
    • Conversation history: with 3 conversations seeded, × is visible (22×22). Clicking it leaves 2, and only 2 remain after a reload.
    • scripts/flame-browser-smoke.mjs passes (5 pages).
  • Checks. The pre-push hooks (commitlint, lint, build) and scripts/check-release-plan.mjs (6 scenarios) pass.

After merge

Once docubook.pro is deployed, click Verify now next to the domain on the Crawler's Domains page.

…or algolia

The docs site pulled @docubook/plugin-search-algolia 0.1.0 from npm, so docubook.pro still sent the search index with every Ask AI question (fixed in 0.1.1) and hid the remove button in the conversation history (fixed in 0.1.2). The specifier is now ^0.1.2 and the lockfile resolves 0.1.2.

0.1.2 is younger than pnpm's minimumReleaseAge window, so minimumReleaseAgeExclude pins that exact version in place of the 0.1.0 entry, which the lockfile no longer needs. Drop it once 0.1.2 is older than the window.

meta.verification carries the algolia-site-verification code from the Algolia Crawler's Domains page, so every page, including the home page, has the meta tag Algolia checks.
@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 Nov 6, 2026 6:54am 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.

✅ No new issues found.

Reviewed changes

I reviewed the whole PR in standard mode. It only touches the docs site, so published packages are unaffected.

  • Plugin bump — the @docubook/plugin-search-algolia devDependency goes from ^0.1.0 to ^0.1.2. The pnpm-lock.yaml diff only changes the version and integrity in the importer, packages and snapshots entries. pnpm install --frozen-lockfile --lockfile-only passes the supply-chain policy check.
  • Release-age exclusion — minimumReleaseAgeExclude now lists @0.1.2 in place of @0.1.0. That matches the npm publish time (2026-11-06T06:44Z) and the lockfile, which no longer contains 0.1.0.
  • Domain verification — meta.verification in docu.json fits the Record<string, string> schema from #488. It is rendered by verificationTags() in html.shared.ts and html.ts (Bun), which escapes values on both runtime paths.
  • No changeset — this is correct: docu.json and devDependencies are not part of the published @docubook/flame package.

Overall: READY. There are no priorities to fix. Before the next release-age window passes, consider a follow-up that removes the temporary minimumReleaseAgeExclude entry.

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

@gitfromwildan gitfromwildan self-assigned this Nov 6, 2026
@gitfromwildan
gitfromwildan merged commit 8ecbb2b into main Nov 6, 2026
15 checks passed
@gitfromwildan
gitfromwildan deleted the build/docs-algolia-0.1.2 branch November 6, 2026 07:05
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