commitizen / cz-cli

The commitizen command line utility. #BlackLivesMatter

Home Page:http://commitizen.github.io/cz-cli/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

matyasf opened this issue · comments

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!