cz-cli icon indicating copy to clipboard operation
cz-cli copied to clipboard

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

Open matyasf opened this issue 1 year ago • 0 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!

matyasf avatar Dec 16 '23 22:12 matyasf