Skip to content

riskers/fe-bootstrap-template

Repository files navigation

mono-bootstrap-template

NPM VERSION

PNPM workspace

use PNPM workspace monorepo

Limit the types of package management Strictly (default PNPM).

If you want to modify, you can change the engines field in package.json.

RELEASE / CHANGELOG

use changesets

Husky + LintStaged

If husky not works:

chmod ug+x .husky/*
chmod ug+x .git/hooks/*

Lint and Format

reference stackoverflow

lint command: pnpm run -r lint

Commitlint

commitlint will check commit message before you commit.

rules

Release NPM package on Github Action

  1. Change npm's name in package.json.

  2. Apply NPM_TOKEN and fill in your repo's secrets:

  1. Auto publish package by Changesets on Github Action.