From 7c512c2291bf72c52bac21a48c04f2a593d88133 Mon Sep 17 00:00:00 2001 From: William Killerud Date: Fri, 27 Sep 2024 15:11:17 +0200 Subject: [PATCH] chore: use shared semrel config --- package.json | 3 +-- release.config.cjs | 27 --------------------------- release.config.js | 3 +++ 3 files changed, 4 insertions(+), 29 deletions(-) delete mode 100644 release.config.cjs create mode 100644 release.config.js diff --git a/package.json b/package.json index 86618590..ebfd9d7f 100644 --- a/package.json +++ b/package.json @@ -54,10 +54,9 @@ "devDependencies": { "@podium/eslint-config": "1.0.0", "@podium/podlet": "5.1.12", + "@podium/semantic-release-config": "2.0.0", "@podium/test-utils": "2.5.2", "@podium/typescript-config": "1.0.0", - "@semantic-release/changelog": "6.0.3", - "@semantic-release/git": "10.0.1", "@types/node": "20.14.10", "@types/readable-stream": "4.0.15", "eslint": "9.11.1", diff --git a/release.config.cjs b/release.config.cjs deleted file mode 100644 index c6a260da..00000000 --- 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 00000000..edd8cfbd --- /dev/null +++ b/release.config.js @@ -0,0 +1,3 @@ +export default { + extends: '@podium/semantic-release-config', +};