Setup an empty repo for TypeScript / NPM packages for an easy start for future projects.
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
- 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