JSPM

@polgubau/git-cz-config

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q22081F
  • License MIT

Package Exports

  • @polgubau/git-cz-config
  • @polgubau/git-cz-config/index.cjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@polgubau/git-cz-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@zhumeisong/git-cz-config

Semantic Git commits config with emoji. ✨🐛💄💚

Install

1. Install git-cz by :

pnpm install git-cz -D

2. Config it in package.json:

 "config": {
    "commitizen": {
      "path": "git-cz"
    }
  }

3. Add script in package.json:

"scripts": {
    "commit": "git-cz"
  }

4. Install @zhumeisong/git-cz-config:

pnpm install @zhumeisong/git-cz-config -D

5. Create a changelog.config.cjs file and add:

const gitCzConfig = require('@zhumeisong/git-cz-config');

module.exports = {
  ...gitCzConfig,
};

6. Run pnpm run commit to submit the change.