Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. π
create-typescript-app
is a one-stop-shop solution to set up a new or existing repository with the latest and greatest TypeScript tooling.
It includes options not just for building and testing but also GitHub repository templates, contributor recognition, automated release management, and more.
First make sure you have the following installed:
- GitHub CLI (you'll need to be logged in)
- Node.js
- pnpm
Then in an existing repository or in your directory where you'd like to make a new repository:
npx create-typescript-app
That setup script will walk you through using the template. You can read more about the supported setup modes in their docs pages:
- Creating from the terminal: creating a new repository locally on the command-line (recommended)
- Initializing from the template: creating a new repository with the Use this template button on GitHub
- Migrating an existing repository: adding this template's tooling on top of an existing repository
You can read more about create-typescript-app
and the tooling it supports:
- Tooling: a breakdown of all the pieces this template can set up.
- Options: granular options to customize how the template is run.
- FAQs: frequently asked questions
Note
This template is early stage, opinionated, and not endorsed by the TypeScript team. It can be configured to set up a lot of tooling out of the box. If you don't want to use any particular tool, you can always remove it manually.
See .github/CONTRIBUTING.md
, then .github/DEVELOPMENT.md
.
Thanks! π