瀏覽代碼

[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 年之前
父節點
當前提交
b3ec2481bd
共有 2 個文件被更改,包括 3 次插入1 次删除
  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"
 }