gitmyhub

create-react-app-typescript

JavaScript ★ 3.7k updated 7y ago ▣ archived

DEPRECATED: Create React apps using typescript with no build configuration.

A now-archived tool that once added TypeScript support to create-react-app before the official version supported it, existing users should migrate to the official create-react-app TypeScript template.

ReactTypeScriptJavaScriptnpmsetup: easycomplexity 1/5

This repository is deprecated and archived. It was a tool called react-scripts-ts that let developers start a new React web application with TypeScript support configured automatically, without needing to set up a build system by hand. React is a popular JavaScript library for building web interfaces, and TypeScript is a version of JavaScript that adds type checking to help catch errors before code runs. At the time this project was active, the standard create-react-app tool did not support TypeScript natively, so this project filled that gap.

The README is upfront that this project is no longer needed. The official create-react-app tool now supports TypeScript directly, and anyone previously using react-scripts-ts is directed to follow a migration guide to move to the official version. The repository has been archived, meaning no new changes will be accepted.

When it was active, using it was straightforward: one command would scaffold a new project with TypeScript already wired into the build process, and running npm start would open a development server in the browser. A production build could be created with npm run build.

The changelog in the README shows a long history of keeping this tool in sync with upstream create-react-app releases, adding TypeScript version upgrades, fixing configuration files, and incorporating community contributions. The migration notes section documents breaking changes between versions and the manual steps required to handle them when upgrading.

For anyone finding this repository today, there is nothing to install or use here. The correct starting point for a React project with TypeScript is the official create-react-app documentation, which covers the same functionality that this project once provided.

Where it fits