Menu

The KickJS CLI Toolbox — Generators, Typegen, and the Configurable Build
📰
0

The KickJS CLI Toolbox — Generators, Typegen, and the Configurable Build

DEV Community·Orinda Felix Ochieng·about 1 month ago
#P9Y9yf2l
#kickjs#typescript#node#cli#kick#framework
Reading 0:00
15s threshold

Every framework ships a CLI. Most of them are scaffold-and-forget: a one-time nest new or next create , then you forget the binary exists and live inside package.json scripts forever. KickJS's kick CLI sits in a different bucket. It is the build tool, the codegen, the diagnostics surface, the package wirer, and — unusually — an interactive REPL with your DI container loaded. This is not an enumeration of every flag. It is a tour grouped by intent, with the less-obvious commands called out. Lifecycle — the build tool that happens to ship with the framework The lifecycle commands are what most teams wire into package.json and forget about, but they are doing more than tsc --watch would. kick new <name> and kick init create a new project. Pass . to init to scaffold into the current directory. kick dev is a Vite-backed dev server with HMR. It runs typegen on startup, watches src/**/*.ts and kick.config.ts , and tears down adapters that implement shutdown() cleanly between reloads.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More