Skip to content

chore: build the extension lists with inject-markdown's Markdown builders - #1776

Merged
Jason3S merged 2 commits into
mainfrom
claude/inject-markdown-builders-fdb07b
Oct 25, 2026
Merged

Jason3S merged 2 commits into
mainfrom
claude/inject-markdown-builders-fdb07b

Conversation

@Jason3S

@Jason3S Jason3S commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

No change for users: the generated extension lists stay byte-for-byte the same.

scripts/gen-extension-list.mts now builds its Markdown with the builders in inject-markdown/markdown (released in inject-markdown 6.3.0) instead of the local mdast builder.

  • Deletes scripts/lib/mdastBuilder.mts, which nothing else imported.
  • scripts/package.json: drops @types/mdast and mdast-util-to-markdown, which nothing else used. It has no dependencies left: the script resolves inject-markdown from the root.
  • Root package.json: raises inject-markdown from ^6.2.1 to ^6.3.0.

The old code passed { bullet: '-' } to toMarkdown. The builders also write -: the old and new scripts produce identical files in static/generated/.

@Jason3S
Jason3S merged commit aa15748 into main Oct 25, 2026
67 checks passed
@Jason3S
Jason3S deleted the claude/inject-markdown-builders-fdb07b branch October 25, 2026 22:23
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