feat: always specify required Node version

This commit is contained in:
Julien Fontanet
2019-11-07 10:18:05 +01:00
parent ff7d84297e
commit a74d56ebc6
3 changed files with 10 additions and 0 deletions

View File

@@ -8,5 +8,8 @@
"directory": "@xen-orchestra/babel-config",
"type": "git",
"url": "https://github.com/vatesfr/xen-orchestra.git"
},
"engines": {
"node": ">=6"
}
}

View File

@@ -8,5 +8,8 @@
"directory": "packages/xo-server-test-plugin",
"type": "git",
"url": "https://github.com/vatesfr/xen-orchestra.git"
},
"engines": {
"node": "*"
}
}

View File

@@ -31,6 +31,10 @@ require('exec-promise')(() =>
if (!('version' in pkg)) {
pkg.version = '0.0.0'
}
pkg.engines = {
node: '>=8.10',
...pkg.engines,
}
delete pkg.husky
delete pkg.standard