Skip to content

chore: migrate from runok to Bunosh, fix Lightpanda docs - #5754

Open
DavertMik wants to merge 2 commits into
4.xfrom
chore/bunosh-only
Open

DavertMik wants to merge 2 commits into
4.xfrom
chore/bunosh-only

Conversation

@DavertMik

Copy link
Copy Markdown
Contributor

Summary

  • Bunoshfile.js is now the only task file. This PR deletes runok.cjs and removes the runok dependency. The docs, def and update-contributor-faces npm scripts now call bunosh.
  • Fixes the Lightpanda docs. CI ran runok.cjs, whose inheritedHelperDocs list didn't include Lightpanda, so the page had no method list. The page is regenerated here: 139 → 1967 lines.
  • Fixes three existing Bunoshfile bugs:
    • the MockRequest section in docs:external-helpers was missing
    • generated pages got an extra blank line after the front matter
    • helper/plugin file lists weren't sorted, which shuffled the docs/plugins.md index under Bun
  • Removes the legacy release tasks (release, publishSite, wiki, versioning, get:commit-log, publish:next-beta-version) and the publish:site, prepare-release and publish-beta npm scripts. Releases go through GitHub Releases and publish-beta.yml, and the website refreshes itself by running its own bunosh docs.
  • Adds oven-sh/setup-bun@v2 to doc-generation.yml, dtslint.yml and publish-beta.yml, because they run npm run def/docs. Pins bunosh to ^0.6.0 instead of latest.

Test plan

  • npm run docs exits 0 and changes only docs/helpers/Lightpanda.md
  • npm run def and npm run dtslint both exit 0
  • eslint Bunoshfile.js passes
  • CI Typings tests (dtslint) pass with bun set up

🤖 Generated with Claude Code

DavertMik and others added 2 commits October 14, 2026 03:53
Bunoshfile.js is now the only task file; runok.cjs and the runok
dependency are removed. npm scripts docs, def and
update-contributor-faces call bunosh.

Fixes Lightpanda docs missing inherited CDPBrowser methods: CI ran
runok.cjs, whose inheritedHelperDocs list lacked Lightpanda.

Bunoshfile fixes:
- restore MockRequest section in docs:external-helpers
- drop extra blank line after generated front matter
- sort helper/plugin file lists (Bun readdir is unordered)

Removes legacy release tasks (release, publishSite, wiki, versioning,
get:commit-log, publish:next-beta-version) and their npm scripts:
releases go through GitHub Releases + publish workflow, and the
website refreshes itself via its own `bunosh docs`.

CI workflows that run def/docs now set up bun. bunosh pinned to ^0.6.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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