TypeScript
Four commands, one shared frontend: transpile, type-check, bundle, and roll up declarations.
build
zlow build file.ts # emit JS (type stripping)
zlow build src/ --out-dir dist/ # whole directory, parallel + incremental
zlow build src/ --out-dir dist/ --watch # rebuild on changecheck
zlow check file.ts # type-check one file
zlow check src/ --lib-dir <ts>/lib --types-dir <@types/node> # whole projectbundle
zlow bundle src/index.ts # link the graph into one ES module
zlow bundle src/index.ts --deps --out-dir dist/ # link node_modules toodeclarations
zlow declarations file.ts # emit a .d.ts (isolatedDeclarations)
zlow declarations src/index.ts --rollup # one .d.ts for the package