From 12e9cf4792373cd284eb17c6bbd124e122b2636d Mon Sep 17 00:00:00 2001 From: William Killerud Date: Fri, 27 Sep 2024 15:14:42 +0200 Subject: [PATCH] chore: use shared semrel config --- package.json | 5 ++--- release.config.cjs | 27 --------------------------- release.config.js | 3 +++ 3 files changed, 5 insertions(+), 30 deletions(-) delete mode 100644 release.config.cjs create mode 100644 release.config.js diff --git a/package.json b/package.json index a89cb4b..119baee 100644 --- a/package.json +++ b/package.json @@ -48,15 +48,14 @@ "@fastify/formbody": "7.4.0", "@podium/eslint-config": "1.0.0", "@podium/podlet": "5.1.17", + "@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", "eslint": "9.9.1", "fastify": "4.28.1", "npm-run-all2": "6.2.3", "prettier": "3.3.3", - "semantic-release": "23.1.1", + "semantic-release": "24.1.1", "tap": "18.8.0", "typescript": "5.6.2" } 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..edd8cfb --- /dev/null +++ b/release.config.js @@ -0,0 +1,3 @@ +export default { + extends: '@podium/semantic-release-config', +};