0.2.0 • Published 1 year ago

@thymet/core v0.2.0

Weekly downloads
-
License
GPL
Repository
github
Last release
1 year ago

Features

FeatureIntroduction
NanoIDcreate NanoID as primary key in database
ThymetErrorbase error type for global exception catch
Authaccount auth with bearer and basic auth supported
Captchacreate captcha for account verify

Git Hooks

you can use husky to add git hooks for linting before commit. for example:

npx husky ./husky/pre-commit "npm run lint"

this will create a pre-commit hook in .husky directory. if you commit your changes, it will trigger before the commit.

Lint

the project use typescript-eslint and prettier for linting and formatting, with lint-staged support which will only make changed files to take effect.