Ondřej Chrastina
Menu
From Vanilla JS starter to TypeScript GitHub repo

From Vanilla JS starter to TypeScript GitHub repo

Part of the MLH 2025 series. I took a CKEditor 5 vanilla JavaScript starter all the way to a real TypeScript GitHub repo — types, tooling, and a build setup another developer can clone and run.

Back to talks
Released: Tue Sep 23 2025
  • Recording

What this MLH 2025 session was about

Having written a good share of JavaScript code, I wanted to expand a CKEditor 5 starter into something I'd actually merge into production. That meant moving off the vanilla JS demo and into a TypeScript GitHub repo with types, lint, and a clean build pipeline.

The journey

  • Starting point — the CKEditor 5 vanilla JS starter.
  • Migrating to TypeScript — tsconfig, type imports for CKEditor 5 packages, and the small gotchas in between.
  • Setting up the GitHub repo — scripts, CI-friendly structure, and a setup another developer can clone and run.
  • Where the type definitions actually pay off (and where they're just compile-time noise).

Who it was for

Developers comfortable with JS but new to TypeScript, especially those starting from the CKEditor 5 starter and ready to graduate to a real repo. Yippee — what a fun one to put together.

  • Twitter
  • GitHub
  • LinkedIn
  • Facebook
  • Instagram
  • YouTube
  • Medium
  • dev.to
  • Discord
    • © Ondřej Chrastina 2020
    • Original Design: HTML5 UP
    • 💾 Source code - use GitHub issues for feedback 🙌
  • I am | Home
  • I write | Journal
  • I Code | Projects
  • I speak | Talks
  • PWA series
  • GitHub
Close