0.0.1 • Published 3 years ago

@n-kit/repo-template v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

@n-kit/repo-template

Commitizen friendly

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

  1. Click Use this template, and clone your repo.
  2. 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"