From 316ad72b5062eeec221211a3e58efe7a4c7582be Mon Sep 17 00:00:00 2001 From: Ayc0 Date: Sun, 9 May 2021 12:46:02 +0200 Subject: [PATCH] update peer deps --- deploy.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deploy.js b/deploy.js index e5b7e1c..665e5e3 100755 --- a/deploy.js +++ b/deploy.js @@ -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',