I really like the idea behind https://github.com/jaredpalmer/tsdx but I find it uses older tools and it ends up taking time for me to setup my typescript packages anyways. So I wanted to make something like it that fit my stack and preferred tools better, something that obfuscates all the configuration needed to run modern typescript applications and allows use to get started instantly.
npm install -g tsdev-installer
tsdev create {name}
- Instantly bootstrap typescript apps for
express
,react
andnext
- Automatically handles all
eslint
andprettier
config - Comes with built in
dev
mode with in built watcher - Use very fast built tools, like
esbuild
andvite
- Inbuilt config and setup for
tailwind
- Has tooling for bundling
.dts
withdts-bundle
- Has defaults for publishing
react
packages withvite-library-mode
- Adds support for
twind
(tailwind as css-in-js) so you can publish react packages while using tailwind with tiny bundles. This also has better support when use innext
- Adds support for
tsdev --help
NAME:
tsdev - Zero config modern typescript tooling
USAGE:
tsdev [global options] command [command options] Run a .ts file with zero config directly
COMMANDS:
create Create a new application
dev This run the app in dev mode with file watching
build This builds the app for production.
dts Emit .d.ts files and bundle them
prettier Will run pretty-quick, prettify all staged files
lint Will lint the application
version, v Version of cli
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--watch Run in watch mode (default: false)
--version, -v (default: false)
--help, -h show help (default: false)
Templates are not stored here, this just allows us to keep this repo clean, all the templates are here https://github.com/CryogenicPlanet/tsdev-templates/ and are hosted at https://tsdev.vercel.app/
Can find all TODOs on #5