Skip to content

Commit

Permalink
feat: add CJS export for cz-commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
frantic1048 committed Mar 8, 2024
1 parent 67baff9 commit fa092be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions @commitlint/cz-commitlint/package.json
Expand Up @@ -4,6 +4,10 @@
"version": "19.0.3",
"description": "Commitizen adapter using the commitlint.config.js",
"main": "./lib/index.js",
"exports": {
"import": "./lib/index.js",
"require": "./lib/index.cjs"
},
"files": [
"lib"
],
Expand Down
1 change: 1 addition & 0 deletions @commitlint/cz-commitlint/src/index.cts
@@ -0,0 +1 @@
await import ('./index.js')

0 comments on commit fa092be

Please sign in to comment.