Skip to content

Commit 5b5480f

Browse files
remcohaszingevidolob
authored andcommitted
Remove engines from package.json
The intention was to enforce developers of the project to use a minimal version of yarn. However, the yarn and npm engines determine which version of those package managers may be used to install `yaml-language-server`. This caused warnings for users using npm or older yarn versions. The node engines field signals required node version that’s needed. Setting it to `*` is equivalent to not setting it at all. Closes #521
1 parent 256a41d commit 5b5480f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717
"name": "Google LLC"
1818
}
1919
],
20-
"engines": {
21-
"node": "*",
22-
"npm": "\n\nERROR: Please use yarn, npm is not supported in this repository!!!\n\n",
23-
"yarn": "^1.22.5"
24-
},
2520
"bin": {
2621
"yaml-language-server": "./bin/yaml-language-server"
2722
},

0 commit comments

Comments
 (0)