From 6619d7c911e513c2421a20d0a7ed2e9745e2ab69 Mon Sep 17 00:00:00 2001 From: William Killerud Date: Fri, 27 Sep 2024 15:17: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 e1efd51..9c7f471 100644 --- a/package.json +++ b/package.json @@ -28,15 +28,14 @@ "homepage": "https://github.com/podium-lib/bridge#readme", "devDependencies": { "@podium/eslint-config": "1.0.0", + "@podium/semantic-release-config": "2.0.0", "@podium/typescript-config": "1.0.0", - "@semantic-release/changelog": "6.0.3", - "@semantic-release/git": "10.0.1", "@types/node": "20.12.12", "eslint": "9.2.0", "jsdom": "24.0.0", "npm-run-all2": "6.2.3", "prettier": "3.2.5", - "semantic-release": "23.1.1", + "semantic-release": "24.1.1", "typescript": "5.4.5" } } 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..0d8fd0c --- /dev/null +++ b/release.config.js @@ -0,0 +1,3 @@ +export default { + extends: '@podium/semantic-release-config', +};