fix: disable major node engines updates

This commit is contained in:
Rhys Arkins 2018-06-01 11:49:44 +02:00
parent 795df6e4bf
commit 04f1e40c30
2 changed files with 4 additions and 0 deletions

View file

@ -128,6 +128,7 @@ async function extractDependencies(content, packageFile, config) {
if (depName === 'node') { if (depName === 'node') {
// This is a special case for Node.js to group it together with other managers // This is a special case for Node.js to group it together with other managers
dep.commitMessageTopic = 'Node.js'; dep.commitMessageTopic = 'Node.js';
dep.major = { enabled: false };
} }
deps.push(dep); deps.push(dep);
} }

View file

@ -39,6 +39,9 @@ Object {
"currentVersion": ">= 8.9.2", "currentVersion": ">= 8.9.2",
"depName": "node", "depName": "node",
"depType": "engines", "depType": "engines",
"major": Object {
"enabled": false,
},
"purl": "pkg:github/nodejs/node", "purl": "pkg:github/nodejs/node",
}, },
Object { Object {