From 79c9b4d7cec149435dd9e21533a4acb296a02fab Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Sat, 16 Jun 2018 09:55:16 +0200 Subject: [PATCH] docs: remove outdated references to pinVersions --- website/docs/config-presets.md | 2 +- website/docs/configuration-options.md | 2 +- website/docs/faq.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/config-presets.md b/website/docs/config-presets.md index 01792a5c28..601d192e99 100644 --- a/website/docs/config-presets.md +++ b/website/docs/config-presets.md @@ -22,7 +22,7 @@ In order to achieve the above goals, preset configs have been implemented to all ## Example configs -An example of a small rule is [":preserveSemverRanges"](https://github.com/singapore/renovate-config/blob/ad65548cd1612ce1d93b2139df7d0f53b3350c3a/packages/renovate-config-default/package.json#L32-L35), which has the description "Preserve (but continue to upgrade) any existing semver ranges". It simply sets the configuration option `pinVersions` to `false`. +An example of a small rule is [":preserveSemverRanges"](https://github.com/singapore/renovate-config/blob/ad65548cd1612ce1d93b2139df7d0f53b3350c3a/packages/renovate-config-default/package.json#L32-L35), which has the description "Preserve (but continue to upgrade) any existing semver ranges". It simply sets the configuration option `rangeStrategy` to `replace`. An example of a full config is ["config:base"](https://github.com/singapore/renovate-config/blob/master/packages/renovate-config-config/package.json#L16-L32), which is Renovate's default configuration. It mostly uses Renovate config defaults but adds a few smart customisations such as grouping monorepo packages together. diff --git a/website/docs/configuration-options.md b/website/docs/configuration-options.md index 0f35ccb1e4..24d48705e3 100644 --- a/website/docs/configuration-options.md +++ b/website/docs/configuration-options.md @@ -522,7 +522,7 @@ By default, Renovate assumes that if you are using ranges then it's because you For example, if your `package.json` specifies a value for `left-pad` of `^1.0.0` and the latest version on npmjs is `1.2.0`, then Renovate won't change anything because `1.2.0` satisfies the range. If instead you'd prefer to be updated to `^1.2.0` in cases like this, then set `rangeStrategy` to `bump` in your Renovate config. -This feature supports simple caret (`^`) and tilde (`~`) ranges only, like `^1.0.0` and `~1.0.0`. It is not compatible with `pinVersions=true`. +This feature supports simple caret (`^`) and tilde (`~`) ranges only, like `^1.0.0` and `~1.0.0`. ## rebaseStalePrs diff --git a/website/docs/faq.md b/website/docs/faq.md index a2413d7b83..27a462d34e 100644 --- a/website/docs/faq.md +++ b/website/docs/faq.md @@ -116,7 +116,7 @@ Set configuration option `separateMajorMinor` to `false`. ### Keep using semver ranges, instead of pinning dependencies -Set configuration option `pinVersions` to `false`. +Set configuration option `rangeStrategy` to `"replace"`. ### Keep lock files (including sub-dependencies) up-to-date, even when `package.json` hasn't changed -- GitLab