Skip to content

A starter repo for TypeScript NPM packages with various integrations already done.

License

Notifications You must be signed in to change notification settings

jcamp-code/starter-typescript

Repository files navigation

@jcamp/starter-typescript

Setup an empty repo for TypeScript / NPM packages for an easy start for future projects.

Integrations

Creates / updates CHANGELOG.md; has GH Action for automatic release creation on GitHub

Note for prerelease versions (0.x.x), considers the 0.x.0 as the major, with the 0.0.x as the minor.

Easily allows GitHub hooks in a project
Used for commitlint and lintstaged below

Ensures commit messages follow conventions

Lints all staged files to ensure code formatting is consistent.

My preferred eslint / prettier setup; extends @antfu's config

Standardized code formatting

Standard deploy file (obviously delete if not needed)

Easy to use unified build system

Workflow

  • Make changes
  • push commits / merge branches
  • pnpm release - updates changelog and release version, commits, tags and pushes; publishes too by default
  • GitHub Action creates GitHub release from the version (v*) tag

About

A starter repo for TypeScript NPM packages with various integrations already done.

Resources

License

Stars

Watchers

Forks

Packages

No packages published