Skip to content

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

Description

@matyasf

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions