From bf1c0ea1bb20a5d9b7ba8cca76b5b4d5801289f8 Mon Sep 17 00:00:00 2001 From: Matt Gordon Date: Wed, 1 May 2024 09:17:06 -0600 Subject: [PATCH] fix: trigger release, test new config --- package.json | 6 ------ release.config.js | 24 ++++++++++++++++++++++++ release.config.json | 23 ----------------------- 3 files changed, 24 insertions(+), 29 deletions(-) create mode 100644 release.config.js delete mode 100644 release.config.json diff --git a/package.json b/package.json index f8c9fdc..cd11ab0 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,6 @@ "main": "./dist/main.js", "module": "./dist/main.js", "typings": "./dist/main.d.ts", - "type": "module", "files": [ "dist", "app-router" @@ -51,11 +50,6 @@ "peerDependencies": { "next": "^14.2.2" }, - "release": { - "branches": [ - "main" - ] - }, "publishConfig": { "registry": "https://npm.pkg.github.com", "access": "public" diff --git a/release.config.js b/release.config.js new file mode 100644 index 0000000..c4d64dd --- /dev/null +++ b/release.config.js @@ -0,0 +1,24 @@ +module.exports = { + branches: [ + 'main', + { + name: 'next', + prerelease: true, + }, + ], + plugins: [ + '@semantic-release/commit-analyzer', + '@semantic-release/release-notes-generator', + '@semantic-release/changelog', + '@semantic-release/npm', + [ + '@semantic-release/git', + { + assets: ['package.json', 'package-lock.json', 'CHANGELOG.md'], + message: + 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}', + }, + ], + '@semantic-release/github', + ], +}; diff --git a/release.config.json b/release.config.json deleted file mode 100644 index fd3b44d..0000000 --- a/release.config.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "branches": [ - "main", - { - "name": "next", - "prerelease": true - } - ], - "plugins": [ - "@semantic-release/commit-analyzer", - "@semantic-release/release-notes-generator", - "@semantic-release/changelog", - "@semantic-release/npm", - [ - "@semantic-release/git", - { - "assets": ["package.json", "package-lock.json", "CHANGELOG.md"], - "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" - } - ], - "@semantic-release/github" - ] -}