From 6b950202cf377188051f15a7f79fcd5af3fb00a3 Mon Sep 17 00:00:00 2001 From: Thomas Mauran Date: Mon, 18 Nov 2024 10:10:06 +0100 Subject: [PATCH] chore: remove releaserc --- .releaserc.js | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 .releaserc.js diff --git a/.releaserc.js b/.releaserc.js deleted file mode 100644 index 3fffa589..00000000 --- a/.releaserc.js +++ /dev/null @@ -1,34 +0,0 @@ -const config = require("semantic-release-config-kuzzle"); - -config.plugins = config.plugins.filter((entry) => { - const plugin = Array.isArray(entry) ? entry[0] : entry; - return !["@semantic-release/github"].includes(plugin); -}); - -// ? Plugins are trigger in the order of definition, so ensure `releaseTypes.mjs` is inserted before `@semantic-release/git` -config.plugins.splice(config.plugins.indexOf("@semantic-release/git"), 0, [ - "./releaseTypes.mjs", - { npmPublish: process.env.SEMANTIC_RELEASE_NPM_PUBLISH === "true" }, -]); - -module.exports = { - plugins: config.plugins, - branches: [ - { - name: "master", - }, - { - name: "beta", - prerelease: true, - }, - { - name: "2-dev", - prerelease: "dev", - range: "2.x", - }, - { - name: "next", - prerelease: true, - }, - ], -};