From 8c2654e30aff18c15a4a8920c2a94f0bfc2357e7 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Thu, 16 May 2024 15:43:02 +0530 Subject: [PATCH 1/3] [web] Make corepack happy Latest Node 20 (20.13.1) ships with an updated corepack which seems to insist putting a package manager field in package.json (https://github.com/nodejs/corepack/pull/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). --- web/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/package.json b/web/package.json index 29e8add28..25fea2176 100644 --- a/web/package.json +++ b/web/package.json @@ -45,5 +45,6 @@ "eslint": "^8", "prettier": "^3", "typescript": "^5" - } + }, + "packageManager": "yarn@1.22.21" } From eaa0ddc46811344a057e9ff2f0160d07775ac60a Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Thu, 16 May 2024 15:46:43 +0530 Subject: [PATCH 2/3] Same for desktop --- desktop/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop/package.json b/desktop/package.json index 7297a0c17..5d98c1f42 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -54,5 +54,6 @@ "shx": "^0.3", "typescript": "^5" }, - "productName": "ente" + "productName": "ente", + "packageManager": "yarn@1.22.21" } From e430ee36060b802163177d7c2140b1e87448a1b8 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Thu, 16 May 2024 15:49:13 +0530 Subject: [PATCH 3/3] lf --- desktop/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop/package.json b/desktop/package.json index 5d98c1f42..2f2cc8f16 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -54,6 +54,6 @@ "shx": "^0.3", "typescript": "^5" }, - "productName": "ente", - "packageManager": "yarn@1.22.21" + "packageManager": "yarn@1.22.21", + "productName": "ente" }