Skip to content

Commit

Permalink
fix(upgrade): upgrade peer deps
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Sep 4, 2023
1 parent e9d25e2 commit 69faf95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/upgrade/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion packages/upgrade/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 69faf95

Please sign in to comment.