0.0.1 • Published 3 years ago
@n-kit/repo-template v0.0.1
@n-kit/repo-template
Features
- Use TSDX to develop, build, test.
- Use ESLint to lint.
- Use commitizen, commitlint to limit input commit messages.
- Use @changesets/cli to generate changelog, version.
- Use husky, lint-staged to automatic trigger lint, set semver version and more.
- Base on yarn@berry to manage dependencies.
Get started
- Click
Use this template
, and clone your repo. - Search
@n-kit/repo-template
, then replace all with your module name.
then it'll be your repository totally.
Usage
Presets
- .yarnrc.yml:
npmRegistryServer: "https://registry.npm.taobao.org/"
- commitlint.config.js:
extends: ['@commitlint/config-conventional']
.gitignore:
/package-lock.json **/yarn.lock
peerDependencies:
"peerDependencies": { "react": "^16.8.0 || ^17.0.0" },
tsconfig.json:
"module": "esnext"
0.0.1
3 years ago