Skip to content

Commit

Permalink
chore: migrate to ESM (#103)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: rewrite to ESM.
  • Loading branch information
tusbar authored Sep 9, 2024
1 parent a3bc55b commit 470f403
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module.exports = {
/**
* @type {import('semantic-release').Options}
*/
const config = {
plugins: [
'@semantic-release/commit-analyzer',

Expand All @@ -17,3 +20,5 @@ module.exports = {
],
],
}

export default config
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Semantic Release configuration for Bizon repositories",
"repository": "https://github.com/bizon/semantic-release-config",
"author": "Bertrand Marron <[email protected]>",
"main": "index.js",
"type": "module",
"exports": "./index.js",
"files": [
"index.js"
],
Expand Down

0 comments on commit 470f403

Please sign in to comment.