Serpent

screenshot of Serpent
vite

Yet another TypeScript library starter with conventional goodies and automatic semantic releases.

Overview

This TypeScript library starter is a comprehensive solution for developers looking to kickstart their projects with best practices and modern tools. It integrates powerful features like semantic versioning and conventional commits, enabling a streamlined development workflow. With an emphasis on code quality and efficiency, this template sets a solid foundation for building robust applications.

Features

  • TypeScript Support: Utilizes tsup for bundling and tsx for executing TypeScript files, ensuring compatibility with both CommonJS and ES modules.
  • Testing with Vitest: Includes Vitest for running tests and generating coverage reports, with watch mode enabled by default for convenience during development.
  • Code Linting with ESLint: Equipped with ESLint and Prettier plugins, extending recommended configurations for TypeScript to maintain code quality.
  • Commit Linting: Implements commitlint using Angular presets, ensuring commit messages follow a consistent and structured format.
  • Automated Releases: Integrates semantic-release for generating CHANGELOG.md and automating the release process based on conventional commits.
  • Code Formatting Setup: Uses husky and lint-staged to fix and format code before committing, enhancing code consistency.
  • EditorConfig Support: Provides an EditorConfig file for consistent coding styles across different editors and IDEs.
  • GitHub Workflows: Comes with pre-configured workflows for testing, building, and releasing applications, simplifying CI/CD setups.
vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.