diff --git a/package.json b/package.json index 551b404..c3903d7 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,7 @@ "devDependencies": { "@eik/eslint-config": "1.0.2", "@eik/prettier-config": "1.0.1", + "@eik/semantic-release-config": "1.0.0", "@eik/typescript-config": "1.0.0", "cross-env": "7.0.3", "eslint": "9.8.0", diff --git a/release.config.cjs b/release.config.cjs deleted file mode 100644 index c6a260d..0000000 --- a/release.config.cjs +++ /dev/null @@ -1,27 +0,0 @@ -module.exports = { - plugins: [ - '@semantic-release/commit-analyzer', - '@semantic-release/release-notes-generator', - '@semantic-release/changelog', - [ - '@semantic-release/npm', - { - tarballDir: 'release', - }, - ], - [ - '@semantic-release/github', - { - assets: 'release/*.tgz', - }, - ], - '@semantic-release/git', - ], - preset: 'angular', - branches: [ - { name: 'main' }, - { name: 'alpha', prerelease: true }, - { name: 'beta', prerelease: true }, - { name: 'next', prerelease: true }, - ], -}; diff --git a/release.config.js b/release.config.js new file mode 100644 index 0000000..720c888 --- /dev/null +++ b/release.config.js @@ -0,0 +1,3 @@ +export default { + extends: '@eik/semantic-release-config', +};