From 69faf95028d805eb9cebc332158c86bd08c676c5 Mon Sep 17 00:00:00 2001 From: Shigma Date: Mon, 4 Sep 2023 14:26:48 +0800 Subject: [PATCH] fix(upgrade): upgrade peer deps --- packages/upgrade/package.json | 2 +- packages/upgrade/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/upgrade/package.json b/packages/upgrade/package.json index 07d7ad0..d846316 100644 --- a/packages/upgrade/package.json +++ b/packages/upgrade/package.json @@ -1,7 +1,7 @@ { "name": "yakumo-upgrade", "description": "Upgrade package dependencies in a Yakumo workspace", - "version": "0.3.3", + "version": "0.3.4", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ diff --git a/packages/upgrade/src/index.ts b/packages/upgrade/src/index.ts index 7119e3e..fdd0871 100644 --- a/packages/upgrade/src/index.ts +++ b/packages/upgrade/src/index.ts @@ -67,7 +67,7 @@ register('upgrade', async (project) => { function load(path: string, meta: PackageJson) { delete deps[meta.name] - for (const type of ['dependencies', 'devDependencies', 'optionalDependencies'] as const) { + for (const type of ['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies'] as const) { for (const key in meta[type] || {}) { // skip workspaces and symlinks const value = meta[type][key]