diff --git a/lib/config/definitions.js b/lib/config/definitions.js index eff277f3eba4b7061d9918edc8f83bb4c01a80e1..b98d0a1075f3d08fcb7a906683d636aa7713374a 100644 --- a/lib/config/definitions.js +++ b/lib/config/definitions.js @@ -309,15 +309,6 @@ const options = [ stage: 'repository', default: ['**/node_modules/**', '**/bower_components/**'], }, - { - name: 'paths', - description: - 'List of strings or glob patterns to match against package files. Applicable inside packageRules only', - type: 'list', - stage: 'repository', - cli: false, - env: false, - }, { name: 'engines', description: 'Configuration specifically for `package.json`>`engines`', @@ -437,6 +428,16 @@ const options = [ cli: false, env: false, }, + { + name: 'paths', + description: + 'List of strings or glob patterns to match against package files. Applicable inside packageRules only', + type: 'list', + stage: 'repository', + parent: 'packageRules', + cli: false, + env: false, + }, // Version behaviour { name: 'allowedVersions', diff --git a/website/docs/configuration-options.md b/website/docs/configuration-options.md index 869d2d592b0761bb5111ddcf6ef8c3faff0c9b7d..d05ed490880c09170fcff063dab6d5abcbce2f68 100644 --- a/website/docs/configuration-options.md +++ b/website/docs/configuration-options.md @@ -508,6 +508,8 @@ Use this field if you want to have one or more package names patterns in your pa The above will set `rangeStrategy` to `replace` for any package starting with `angular`. +### paths + ### updateTypes Use this field to match rules against types of updates. For example to apply a special label for Major updates: @@ -523,8 +525,6 @@ Use this field to match rules against types of updates. For example to apply a s Add to this object if you wish to define rules that apply only to patch updates. See also `major` and `minor` configuration options. -## paths - ## php Warning: PHP Composer support is in alpha stage so you probably only want to run this if you are helping get it feature-ready.