What problem does it solve?
This Skill simplifies the process of starting a TypeScript library project, providing an opinionated setup that covers TypeScript, building, testing, and releasing practices.
Core Features & Use Cases
- ESM-only Library: Supports modern JavaScript module standards and outputs an ESM format library.
- tsdown Configuration: Utilizes tsdown for building with ESM and TypeScript declaration generation.
- Vitest Integration: Includes testing support using Vitest with automatic package export snapshot patterns.
- npm Trusted Publisher: Recommended for automated CI-based publishing for security and ease.
- Use Case: For developers who want to create and maintain a TypeScript library with best practices, including tooling configuration and workflows for efficient development.
Quick Start
Use the arch-tsdown skill to start a new TypeScript library project:
npx degit https://github.com/antfu/starter-ts my-ts-library
cd my-ts-library
npx skills add seanmcquaid/scaffolding-templates --all -a github-copilot