Skip to content

feat: add Tieba browser adapters in TypeScript#581

Open
Astro-Han wants to merge 1 commit intojackwener:mainfrom
Astro-Han:feat/tieba-adapter
Open

feat: add Tieba browser adapters in TypeScript#581
Astro-Han wants to merge 1 commit intojackwener:mainfrom
Astro-Han:feat/tieba-adapter

Conversation

@Astro-Han
Copy link
Copy Markdown
Contributor

@Astro-Han Astro-Han commented Mar 29, 2026

Description

Add Baidu Tieba browser adapters in TypeScript and document them.

Related issue: #547

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 🌐 New site adapter
  • 📝 Documentation
  • ♻️ Refactor
  • 🔧 CI / build / tooling

Checklist

  • I ran the checks relevant to this PR
  • I updated tests or docs if needed
  • I included output or screenshots when useful

Documentation (if adding/modifying an adapter)

  • Added doc page under docs/adapters/ (if new adapter)
  • Updated docs/adapters/index.md table (if new adapter)
  • Updated sidebar in docs/.vitepress/config.mts (if new adapter)
  • Updated README.md / README.zh-CN.md when command discoverability changed
  • Used positional args for the command's primary subject unless a named flag is clearly better
  • Normalized expected adapter failures to CliError subclasses instead of raw Error

Screenshots / Output

npm run typecheck
npx vitest run --project adapter src/clis/tieba/utils.test.ts src/clis/tieba/commands.test.ts
npm run dev -- validate
npm run build
npx vitest run --project e2e tests/e2e/browser-public.test.ts -t 'tieba'

Result:
- adapter tests: 16 passed
- tieba e2e: 12 passed | 9 skipped

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