Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matyasf opened this issue Dec 16, 2023 · 0 comments
Open

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

matyasf opened this issue Dec 16, 2023 · 0 comments

Comments

@matyasf
Copy link

matyasf commented Dec 16, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant