Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

refactor: pipeline improvements and migrate NAPI tests to Bun - #172

Merged
jp-knj merged 3 commits into
mainfrom
refactor/pipeline-improvements-ava-bun
Feb 1, 2026
Merged

jp-knj merged 3 commits into
mainfrom
refactor/pipeline-improvements-ava-bun

Conversation

@jp-knj

@jp-knj jp-knj commented Feb 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Remove ExpressiveCode dual processing from blocksToJsx — code blocks always render as HTML <pre><code>, EC rewriting happens in pipeline only
  • Extract ShikiManager class for consolidated Shiki lifecycle management (replaces scattered getShiki/shikiReady calls)
  • Decouple blocksToJsx from markflow/registry via local BlocksRegistry interface
  • Remove redundant normalize-steps.ts and normalize-filetree.ts TS transforms (now handled in Rust codegen)
  • Migrate 6 NAPI test files from AVA (.js) to Bun (.ts), removing AVA dependency

Test plan

  • All 295 astro-markflow tests pass
  • All 32 NAPI Bun tests pass
  • TypeScript typecheck clean

🤖 Generated with Claude Code

jp-knj and others added 3 commits February 1, 2026 11:08
- Remove ExpressiveCode dual processing from blocksToJsx (pipeline-only now)
- Extract ShikiManager class for consolidated Shiki lifecycle
- Decouple blocksToJsx from Registry via local BlocksRegistry interface
- Remove redundant normalize-steps/filetree TS transforms (handled in Rust)
- Migrate 6 NAPI test files from AVA (.js) to Bun (.ts)

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

claude Bot commented Feb 1, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@jp-knj
jp-knj merged commit 0421597 into main Feb 1, 2026
17 of 18 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant