From c98faa2b34151f13e7223b57d970585ee995746c Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Thu, 14 Dec 2017 13:19:30 +0100 Subject: [PATCH] refactor: default bazel to enabled --- docs/configuration.md | 2 +- lib/config/definitions.js | 2 +- test/manager/__snapshots__/resolve.spec.js.snap | 14 +++++++------- .../updates/__snapshots__/branchify.spec.js.snap | 10 +++++----- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index d093b57563..8f8f6c94c7 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -768,7 +768,7 @@ location with this method. <td>`bazel`</td> <td>Configuration object for bazel WORKSPACE renovation</td> <td>json</td> - <td><pre>{"enabled": false}</pre></td> + <td><pre>{"enabled": true}</pre></td> <td>`RENOVATE_BAZEL`</td> <td>`--bazel`<td> </tr> diff --git a/lib/config/definitions.js b/lib/config/definitions.js index c518f6a587..afc38f7069 100644 --- a/lib/config/definitions.js +++ b/lib/config/definitions.js @@ -653,7 +653,7 @@ const options = [ description: 'Configuration object for bazel WORKSPACE renovation', stage: 'repository', type: 'json', - default: { enabled: false }, + default: { enabled: true }, mergeable: true, }, { diff --git a/test/manager/__snapshots__/resolve.spec.js.snap b/test/manager/__snapshots__/resolve.spec.js.snap index d6246789de..565914a26e 100644 --- a/test/manager/__snapshots__/resolve.spec.js.snap +++ b/test/manager/__snapshots__/resolve.spec.js.snap @@ -8,7 +8,7 @@ Object { "automergeType": "pr", "baseBranch": null, "bazel": Object { - "enabled": false, + "enabled": true, }, "branchName": "{{branchPrefix}}{{depNameSanitized}}-{{newVersionMajor}}.x", "branchPrefix": "renovate/", @@ -537,7 +537,7 @@ Object { "automergeType": "pr", "baseBranch": null, "bazel": Object { - "enabled": false, + "enabled": true, }, "branchName": "{{branchPrefix}}{{depNameSanitized}}-{{newVersionMajor}}.x", "branchPrefix": "renovate/", @@ -1073,7 +1073,7 @@ Object { "automergeType": "pr", "baseBranch": null, "bazel": Object { - "enabled": false, + "enabled": true, }, "branchName": "{{branchPrefix}}{{depNameSanitized}}-{{newVersionMajor}}.x", "branchPrefix": "renovate/", @@ -1867,7 +1867,7 @@ Object { "automergeType": "pr", "baseBranch": null, "bazel": Object { - "enabled": false, + "enabled": true, }, "branchName": "{{branchPrefix}}{{depNameSanitized}}-{{newVersionMajor}}.x", "branchPrefix": "renovate/", @@ -2400,7 +2400,7 @@ Object { "automergeType": "pr", "baseBranch": null, "bazel": Object { - "enabled": false, + "enabled": true, }, "branchName": "{{branchPrefix}}{{depNameSanitized}}-{{newVersionMajor}}.x", "branchPrefix": "renovate/", @@ -2924,7 +2924,7 @@ Object { "automergeType": "pr", "baseBranch": null, "bazel": Object { - "enabled": false, + "enabled": true, }, "branchName": "{{branchPrefix}}{{depNameSanitized}}-{{newVersionMajor}}.x", "branchPrefix": "renovate/", @@ -3448,7 +3448,7 @@ Object { "automergeType": "pr", "baseBranch": null, "bazel": Object { - "enabled": false, + "enabled": true, }, "branchName": "{{branchPrefix}}{{depNameSanitized}}-{{newVersionMajor}}.x", "branchPrefix": "renovate/", diff --git a/test/workers/repository/updates/__snapshots__/branchify.spec.js.snap b/test/workers/repository/updates/__snapshots__/branchify.spec.js.snap index 905a646cbb..9ea1b65b18 100644 --- a/test/workers/repository/updates/__snapshots__/branchify.spec.js.snap +++ b/test/workers/repository/updates/__snapshots__/branchify.spec.js.snap @@ -8,7 +8,7 @@ Object { "automergeType": "pr", "baseBranch": null, "bazel": Object { - "enabled": false, + "enabled": true, }, "branchList": undefined, "branchName": "{{branchPrefix}}{{depNameSanitized}}-{{newVersionMajor}}.x", @@ -577,7 +577,7 @@ Object { "automergeType": "pr", "baseBranch": null, "bazel": Object { - "enabled": false, + "enabled": true, }, "branchList": undefined, "branchName": "{{branchPrefix}}{{depNameSanitized}}-{{newVersionMajor}}.x", @@ -1138,7 +1138,7 @@ Object { "automergeType": "pr", "baseBranch": null, "bazel": Object { - "enabled": false, + "enabled": true, }, "branchList": undefined, "branchName": "{{branchPrefix}}{{depNameSanitized}}-{{newVersionMajor}}.x", @@ -1705,7 +1705,7 @@ Object { "automergeType": "pr", "baseBranch": null, "bazel": Object { - "enabled": false, + "enabled": true, }, "branchList": undefined, "branchName": "{{branchPrefix}}{{depNameSanitized}}-{{newVersionMajor}}.x", @@ -2267,7 +2267,7 @@ Object { "automergeType": "pr", "baseBranch": null, "bazel": Object { - "enabled": false, + "enabled": true, }, "branchList": Array [ "foo-1.1.0", -- GitLab