Skip to content

Commit

Permalink
feat: add separate package.json update to releases
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Nov 22, 2023
1 parent 1a20635 commit ce04721
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
};

0 comments on commit ce04721

Please sign in to comment.