mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 07:35:05 -04:00
Bump minimum required Node.js version to 10.17.0
This makes it possible to use fs.promises.
This commit is contained in:
parent
877f0c5883
commit
0cc8405e9c
7 changed files with 12 additions and 8 deletions
|
@ -263,7 +263,7 @@ fs.readdir(pluginPath, (err, rootFiles) => {
|
|||
console.warn('No engines or node engine in package.json');
|
||||
if (autoFix) {
|
||||
const engines = {
|
||||
node: '>=10.13.0',
|
||||
node: '^10.17.0 || >=11.14.0',
|
||||
};
|
||||
parsedPackageJSON.engines = engines;
|
||||
writePackageJson(parsedPackageJSON);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue