Coder Social home page Coder Social logo

dorayx / template-typescript-app Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.26 MB

(opinionated) Vite-TypeScript Boilerplate

License: MIT License

JavaScript 53.36% Shell 7.86% TypeScript 38.77%
boilerplate commitlint eslint husky lint-staged plop prettier template typescript vite vitest yarn semantic-release github-action typescript-application

template-typescript-app's Introduction

opinionated Vite-TypeScript Template

This template is opinionated, and it is not meant to be a one-size-fits-all solution. It is meant to be a starting point for my personal projects to bootstrap development, as I like to create minimal viable products from time to time.

User Cases

Features

  • ✅ TypeScript v5
  • ✅ Vite + Vitest
  • ✅ Linters
  • ✅ Code Generator
  • ✅ Semantic Release
  • ✅ GitHub Actions
  • ❌ Monorepo

Tooling

This template is configured with the following tools:

Compiler & Bundler

Package Manager

Testing

  • Vitest
    • Convention: Unit tests for user cases are stored in the tests/units directory
    • Convention: Unit tests for individual functions are placed alongside their respective implementations (In-source testing)
    • Convention: The file tests/setup.ts is executed before each test file
    • Convention: The tests/tsconfig.json file configures TypeScript for testing
  • GitHub Action: .github/workflows/test.yml

Linters

Code Generator

  • Plop: A micro-generator framework that makes it easy for an entire team to create files with a level of uniformity

Publish

Development Conventions

Branches

  • main: Used for stable features & production releases
  • dev: Used for features under development
  • next: Used for experimental features

template-typescript-app's People

Contributors

dorayx avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.