create-ts-setup
v0.0.4
Published
Interactive CLI to scaffold a barebones custom TypeScript setup
Maintainers
Readme
create-ts-setup
Interactive CLI to scaffold a barebones custom TypeScript setup.
Usage
pnpm dlx create-ts-setupOr with npm:
npm create ts-setupYou can also pass an optional project name:
pnpm dlx create-ts-setup my-appWhat it does
- Prompts for project name, package manager, git init, and dependency install
- Copies the template from
templates/base/into your target directory - Replaces
{{name}}and{{projectName}}tokens in template files - Optionally runs
git initand installs dependencies
Development
pnpm install
pnpm build
node dist/cli.js test-outPublishing
pnpm build
npm publish --access publicAfter publishing, users can run:
pnpm dlx create-ts-setupCustomizing the template
Edit files under templates/base/. The CLI copies them as-is and performs token replacement — no CLI code changes needed.
Available tokens:
{{name}}— npm-safe package name{{projectName}}— original project name from the prompt
License
MIT
