Skip to content

Migrated kg-default-nodes to TypeScript#1797

Merged
kevinansfield merged 2 commits intomainfrom
ts/kg-default-nodes
Apr 17, 2026
Merged

Migrated kg-default-nodes to TypeScript#1797
kevinansfield merged 2 commits intomainfrom
ts/kg-default-nodes

Conversation

@kevinansfield
Copy link
Copy Markdown
Member

@kevinansfield kevinansfield commented Mar 20, 2026

Summary

  • migrate packages/kg-default-nodes source, tests, and test helpers from JavaScript to TypeScript
  • replace the Rollup/Babel build with tsc-generated ESM/CJS outputs and declaration files
  • add TypeScript and flat ESLint configuration for the package
  • tighten node factory, parser, and renderer typing across the package
  • expose a shared @tryghost/kg-default-nodes/visibility entrypoint and use it from koenig-lexical

Loading
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.

2 participants