From ce04721c8d7293a7cefdc27b504ff8041d414242 Mon Sep 17 00:00:00 2001 From: Brandon Roberts Date: Tue, 21 Nov 2023 21:36:53 -0600 Subject: [PATCH] feat: add separate package.json update to releases --- release.config.js | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/release.config.js b/release.config.js index 4bfad55..2a4f554 100644 --- a/release.config.js +++ b/release.config.js @@ -18,8 +18,21 @@ module.exports = { { 'npmPublish': false } - ], - '@semantic-release/git' + ], + [ + '@semantic-release/npm', + { + 'npmPublish': false, + 'pkgRoot': './projects/my-lib/package.json' + } + ], + [ + '@semantic-release/git', + { + 'assets': ['CHANGELOG.md', 'package.json', 'projects/my-lib/package.json'], + 'message': 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}' + } + ] ], 'preset': 'angular' }; \ No newline at end of file