Browse Source

Move engines outside package.json

Because of invalid warnings displayed by yarn that could confuse admins
when they install peertube
Chocobozzz 3 years ago
parent
commit
d29ced1a85
2 changed files with 6 additions and 4 deletions
  1. 5 0
      engines.yaml
  2. 1 4
      package.json

+ 5 - 0
engines.yaml

@@ -0,0 +1,5 @@
+node: ">=12.x"
+yarn: ">=1.x"
+postgres: ">=10.x"
+redis-server: ">=2.8.18"
+ffmpeg: ">=4.1"

+ 1 - 4
package.json

@@ -6,10 +6,7 @@
   "licence": "AGPL-3.0",
   "engines": {
     "node": ">=12.x",
-    "yarn": ">=1.x",
-    "postgres": ">=10.x",
-    "redis-server": ">=2.8.18",
-    "ffmpeg": ">=4.1"
+    "yarn": ">=1.x"
   },
   "bin": {
     "peertube": "dist/server/tools/peertube.js"