commitizen / cz-cli

The commitizen command line utility. #BlackLivesMatter
http://commitizen.github.io/cz-cli/
MIT License
16.57k stars 552 forks source link

Question: Is it possible to write an adapter in ES6? #990

Open matyasf opened 6 months ago

matyasf commented 6 months ago

We have written a custom commitizen adapter that is used via our package.json:

  "config": {
    "commitizen": {
      "path": "./node_modules/our_cz_adapter"
    }
  },

The code in this module is written in TS, and has several dependencies that would need upgrading but we cannot do so since their maintainters are only publishing ESM packages nowadays and we could not find a way to import adapters using ESM imports. Is it possible somehow? Thanks!