Skip to content

Commit

Permalink
[web] Make corepack happy (#1739)
Browse files Browse the repository at this point in the history
Latest Node 20 (20.13.1) ships with an updated corepack which seems to
insist
putting a package manager field in package.json
(nodejs/corepack#413).

Let it have its way, hoping that this doesn't break someone's workflow
(depending on how they installed yarn without corepack or if they have a
node
version that doesn't have corepack).
  • Loading branch information
mnvr committed May 16, 2024
2 parents a0cb8b8 + e430ee3 commit b3ec248
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@
"shx": "^0.3",
"typescript": "^5"
},
"packageManager": "yarn@1.22.21",
"productName": "ente"
}
3 changes: 2 additions & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@
"eslint": "^8",
"prettier": "^3",
"typescript": "^5"
}
},
"packageManager": "yarn@1.22.21"
}

0 comments on commit b3ec248

Please sign in to comment.