Skip to content

Commit

Permalink
update peer deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayc0 committed May 9, 2021
1 parent 958c4b8 commit 316ad72
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ function updateAllVersions(version) {
fs.readFileSync(packageJsonPath, { encoding: 'utf-8' }),
);
packageJson.version = version;
if (
'peerDependencies' in packageJson &&
'manatea' in packageJson.peerDependencies
) {
packageJson.peerDependencies.manatea = version;
}
fs.writeFileSync(
packageJsonPath,
JSON.stringify(packageJson, null, 2) + '\n',
Expand Down

0 comments on commit 316ad72

Please sign in to comment.