create-ts-project
Introduction
This NPX/DLX script simplifies creating a new TypeScript project by automating the setup, including project name validation, directory preparation, and initial dependency installation. It's designed to get your TypeScript environment up and running quickly with minimal setup. Uses pnpm as the package manager.
Features
- Validates project names according to npm naming conventions.
- Ensures the project directory is clean and ready for new files.
- Initializes a Git repository and sets up initial commits.
- Installs necessary development dependencies.
- Creates a basic TypeScript configuration file.
- Uses pnpm as the package manager.
Prerequisites
Make sure you have Node.js installed on your system (version 16.x or later is recommended). You can download it from Node.js official website.
Usage
You can run this script directly using pnpm without installing it locally. Here’s how you can create a new TypeScript project:
pnpm dlx @clyng57/create-ts-project