Browse Source

[web] Make corepack happy (#1739)

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).
Manav Rathi 1 year ago
parent
commit
b3ec2481bd
2 changed files with 3 additions and 1 deletions
  1. 1 0
      desktop/package.json
  2. 2 1
      web/package.json

+ 1 - 0
desktop/package.json

@@ -54,5 +54,6 @@
         "shx": "^0.3",
         "typescript": "^5"
     },
+    "packageManager": "yarn@1.22.21",
     "productName": "ente"
 }

+ 2 - 1
web/package.json

@@ -45,5 +45,6 @@
         "eslint": "^8",
         "prettier": "^3",
         "typescript": "^5"
-    }
+    },
+    "packageManager": "yarn@1.22.21"
 }