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]