From 693738024bc7a2e81c5bc7d7d293729ebcb8eecd Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Tue, 17 Apr 2018 14:06:55 +0200 Subject: [PATCH] refactor: remove engines groupName --- lib/config/definitions.js | 10 +--------- test/config/__snapshots__/index.spec.js.snap | 12 +----------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/lib/config/definitions.js b/lib/config/definitions.js index fcf2dbefde..df81d07752 100644 --- a/lib/config/definitions.js +++ b/lib/config/definitions.js @@ -343,15 +343,7 @@ const options = [ description: 'Configuration specifically for `package.json`>`engines`', stage: 'packageFile', type: 'json', - default: { - packageRules: [ - { - packageNames: ['node'], - groupName: 'Node.js', - lazyGrouping: false, - }, - ], - }, + default: {}, mergeable: true, cli: false, }, diff --git a/test/config/__snapshots__/index.spec.js.snap b/test/config/__snapshots__/index.spec.js.snap index 62a1737231..90a1712669 100644 --- a/test/config/__snapshots__/index.spec.js.snap +++ b/test/config/__snapshots__/index.spec.js.snap @@ -74,17 +74,7 @@ Object { "enabledManagers": Array [], "encrypted": null, "endpoint": null, - "engines": Object { - "packageRules": Array [ - Object { - "groupName": "Node.js", - "lazyGrouping": false, - "packageNames": Array [ - "node", - ], - }, - ], - }, + "engines": Object {}, "excludePackageNames": Array [], "excludePackagePatterns": Array [], "exposeEnv": false, -- GitLab