Skip to content

Commit

Permalink
fix: module export
Browse files Browse the repository at this point in the history
  • Loading branch information
solaris007 committed Jan 22, 2024
1 parent c9b94c8 commit b5445ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.0-development",
"description": "Plugins for `semantic-release` allowing it to be used with a monorepo.",
"main": "src/index.js",
"type": "module",
"files": [
"src"
],
Expand Down
3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,4 @@ const fail = wrapStep(

const tagFormat = `${readPkg.sync().name}-v\${version}`;

//TODO Change to esm export when https://github.com/semantic-release/semantic-release/pull/3037 is merged
module.exports = { analyzeCommits, generateNotes, success, fail, tagFormat };
export { analyzeCommits, generateNotes, success, fail, tagFormat };

0 comments on commit b5445ac

Please sign in to comment.