Commit graph

235 commits

Author SHA1 Message Date
Rhys Arkins
0bc03a1f20 docs: fix pinVersions description on website 2018-03-19 05:42:30 +01:00
Rhys Arkins
cd97792e7c
fix: allow rebaseStalePrs=false to take priority over repo settings (#1624)
fix: allow rebaseStalePrs=false to take priority over repo settings
2018-03-09 06:58:40 +01:00
Rhys Arkins
308ed432db
feat: upgradeInRange (#1608)
Upgrade ranges to latest version even if latest version satisfies existing range.

| name    | value   |
| ------- | ------- |
| type    | boolean |
| default | false   |

By default, Renovate assumes that if you are using ranges then it's because you want them to be wide/open. As such, Renovate won't deliberately "narrow" the range by increasing the semver value inside.

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. If instead you'd prefer to be updated to `^1.2.0` in cases like this, then set `upgradeInRange` to `true` 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`.

Closes #1607
2018-03-07 07:41:10 +01:00
Hutson Betts
d9f9e4692f docs(node): improve documentation clarity (#1606) 2018-03-06 21:42:47 +01:00
Rhys Arkins
170ef0f238
docs: fix packageFiles description
Remove outdated packageFiles description
2018-03-05 06:34:34 +01:00
Rhys Arkins
dde5756488
feat: .nvmrc files (#1582)
Adds initial support for `.nvmrc` renovation. If the existing value is a fully-specified semver version then it will be upgraded, otherwise left alone.

Closes #1270
2018-03-04 15:52:06 +01:00
Rhys Arkins
2638505713 docs: clarify travis config 2018-03-04 11:07:30 +01:00
Rhys Arkins
dae287b62b
refactor: node-travis definitions (#1583)
Retains the "node" configuration object but moves enabling/disabling to "travis". Also removes the default `supportPolicy` from config.
2018-03-04 07:08:19 +01:00
Rhys Arkins
7f9d73a318 feat: allowedVersions
A semver range defining allowed versions for dependencies

| name | value  |
| ---- | ------ |
| type | string |

Use this - usually within a packageRule - to limit how far to upgrade a dependency. For example, if you wish to upgrade to angular v1.5 but not to `angular` v1.6 or higher, you could defined this to be `<= 1.5` or `< 1.6.0`:

```
  "packageRules": [{
    "packageNames": ["angular"],
    "allowedVersions": "<=1.5"
  }]
```
2018-03-03 06:35:11 +01:00
renovate[bot]
75ab3b14b7 chore: update dependency prettier to v1.11.0 (#1566)
* chore: update dependency prettier to v1.11.0

* update prettier results
2018-02-27 15:39:56 +01:00
Rhys Arkins
cd3da41ec6 chore: fix lint 2018-02-21 17:32:18 +01:00
Rhys Arkins
6506b39222
docs: fix lockFileMaintenance default value on website 2018-02-21 17:14:34 +01:00
Rhys Arkins
116939ffb5
feat: renovate node engine in package.json (#1519)
Adds support for upgrading `node` version in `package.json` > `engines` if the current version is pinned.
- Does not convert from range to pin
- Ignores ranges
- Does not upgrade major versions
2018-02-19 14:21:45 +01:00
Jennie S Yip
8b1a8144a1 docs: fix shareable typo (#1467)
Assuming `sharebe` -> `shareable`
2018-02-02 04:56:22 +01:00
Rhys Arkins
ad4b9feb92 feat: prConcurrentLimit
Adds a new feature to limit the number of concurrent branches/PRs to have open at any one time. Defaults to 0 (disabled), set it to a positive integer to enforce that limit.
2018-01-30 11:43:16 +01:00
Rhys Arkins
d66dea7ec3
feat: verify status check (GitHub) (#1444)
Adds a `renovate/verify` status check for those migrating and looking for familiarity. Better to check the GPG verified commit, as mentioned in the associated doc.
2018-01-25 13:36:21 +01:00
Rhys Arkins
0925f59262
feat: versionStrategy (#1439)
Adds new config option `versionStrategy` that allows config to override Renovate’s autodetection of when to “widen” an existing semver range, and when to “replace”.
2018-01-24 15:26:37 +01:00
Rhys Arkins
67c15be331 docs: move FAQ to website
Closes #1351
2018-01-20 16:54:21 +01:00
Rhys Arkins
e0e1b0c94e Revert "docs: rename updating-rebasing website post"
This reverts commit 58716ff308.
2018-01-20 16:38:47 +01:00
Rhys Arkins
58716ff308 docs: rename updating-rebasing website post 2018-01-20 16:37:08 +01:00
Rhys Arkins
b72bfdf4ba
feat: bumpVersion (#1413)
Adds a new configuration option that allows you to bump the version number in the package.json being updated. e.g. you might configure Renovate to bump a patch every time, or maybe for dependencies only and not devDependencies. e.g. if you configure `"bumpVersion": "patch"` then a Renovate PR updating a `package.json` that used to be version `1.2.1` will now see it updated to `1.2.2` (in addition to the dependency version(s) being updated too). Thanks to @gunar for the feature suggestion.

Closes #861
2018-01-20 09:27:05 +01:00
Rhys Arkins
774e640e72 docs: update pin dependencies doc
Closes #1396, adds reference to comments by @LinusU
2018-01-19 15:17:55 +01:00
Rhys Arkins
dba574950b
feat: baseBranches (multi-branch) support (#1379)
This PR adds the capability to renovate more than one base branch at a time. For instance, a project may have their released `3.x` version on `master`, while an upcoming `4.x` is being prepared using branch `next`. `4.x` might have a quite different set of dependencies (e.g. some removed or some added) so it's not appropriate to only target `master` and keep rebasing, as it will get messy. Instead, it's necessary to target both `master` and `next` to keep both updated.

Closes #1279
2018-01-12 07:47:18 +01:00
Rhys Arkins
2dcb2a70d8 feat: prHourlyLimit
Adds a feature to enforce an hourly limit on PR creations.

Closes #1363
2018-01-11 11:56:16 +01:00
Rhys Arkins
f8a10a9f4c feat: pathRules
Adds new configuration option “pathRules”. pathRules is an array of path rules. Each rule should contain a “paths” array which uses string or glob matching like the existing ignorePaths. If any of the paths in a rule matches a packageFile then the remaining configuration from the rule is applied to the packageFile.
2017-12-29 15:06:28 +01:00
Rhys Arkins
e08502f4b2 docs: add updating & rebasing deep dive to website 2017-12-28 06:21:45 +01:00
Rhys Arkins
5db05acbec docs: add skip ci example to commitBody 2017-12-28 06:04:01 +01:00
Rhys Arkins
94076fd80b docs: remove duplicate docker doc 2017-12-28 06:01:21 +01:00
Rhys Arkins
68b591a08d docs: add semantic commit deep dive to website 2017-12-28 05:57:01 +01:00
Rhys Arkins
f8b78ac347 docs: run prettier over docs 2017-12-26 06:22:11 +01:00
Rhys Arkins
3ac5c7b941 docs: add warning about github app reviewers support 2017-12-26 05:54:17 +01:00
Rhys Arkins
6c49ba177e docs: correlate website configuration documentation with source code
This PR adds new checks that:
- Website configuration options are listed in alphabetical order
- Every relevant configuration option in source code is documented on the website
Website docs have been updated accordingly to pass.

Closes #543, Closes #1310
2017-12-26 05:40:14 +01:00
Rhys Arkins
27a501ff50 docs: fix website typos
Closes #1311
2017-12-25 16:32:32 +01:00
Rhys Arkins
1acc7af8cf chore: run prettier on website docs 2017-12-25 16:26:41 +01:00
Rhys Arkins
8e3c4c3d5d docs: add docs posts from renovateapp.com 2017-12-25 16:22:13 +01:00