Skip to content

dtinth/create-typescript-library-template

Repository files navigation

TypeScript Library Template Generator

This repository generates the dtinth/typescript-library-template template repository every night.

  • It uses the Heft build toolchain, maintained by Microsoft.
  • It re-runs every night, so the template stays fresh with latest dependencies.
  • It has a smoke test, so broken templates are not committed.
  • It uses API Extractor to generate an API report and api-documenter to generate the library documentation.
  • The template comes with a GitHub Actions workflow that automatically tidies up the repository. Instead of nagging the developer to update these files manually, the workflow will do these things and commit them automatically (see an example PR):
    • Keeping the API report files up-to-date.
    • Keeping the API documentation files up-to-date.
    • Formatting code with Prettier.

Related projects