Commit graph

2062 commits

Author SHA1 Message Date
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
Renovate Bot
b20714c376 chore: update dependency eslint-plugin-promise to v3.7.0 2018-03-08 17:42:28 +00:00
eMerzh
088279abbd fix: return shrinkwrapdir to avoid crash (#1621) 2018-03-08 15:59:52 +01:00
Renovate Bot
463d0558fd fix: update dependency pnpm to v1.35.7 2018-03-08 13:15:59 +00:00
Rhys Arkins
c2f0a46d9a feat: npm shrinkwrap
Adds support for npm-shrinkwrap.json files.

Closes #67
2018-03-08 09:46:08 +01:00
Rhys Arkins
862998c2b4 fix: don’t validate empty config 2018-03-08 08:00:12 +01:00
Rhys Arkins
ef828be054 refactor: log content before validation 2018-03-08 07:32:09 +01:00
Rhys Arkins
21a5af01c7 fix: add try/catch logging to migrate and validate code
This reverts commit 97ea483f7e.
2018-03-08 07:28:06 +01:00
Rhys Arkins
47bf45019d fix: better serialize content fields 2018-03-08 07:22:06 +01:00
Rhys Arkins
97ea483f7e fix: Revert "fix: add try/catch logging to migrate and validate code"
This reverts commit 9b44e34fa7.
2018-03-08 07:12:31 +01:00
Rhys Arkins
9b44e34fa7 fix: add try/catch logging to migrate and validate code 2018-03-08 06:02:16 +01:00
Renovate Bot
ca7125ba45 fix: update dependency commander to v2.15.0 2018-03-08 01:33:09 +00:00
Rhys Arkins
7874188cb5 refactor: better debug migrateAndValidate 2018-03-07 15:13:37 +01:00
Rhys Arkins
c3db85c74e fix: correct setMeta for validatePrs() 2018-03-07 15:06:57 +01:00
Renovate Bot
a551245af5 fix: update dependency pnpm to v1.35.5 2018-03-07 10:59:58 +00: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
Rhys Arkins
40d16604e1 fix: set node env for bin script 2018-03-07 06:28:09 +01:00
Rhys Arkins
a76e59a3a5 fix: add validator to package.json>files 2018-03-07 06:18:41 +01:00
Rhys Arkins
f67b75c9f1 feat: config validator cli tool
Adds “renovate-config-validator” as a new bin entry to package.json. Can be run without arguments and will check renovate.json, .renovaterc, .renovaterc.json and package.json. Returns non-zero exit code with a description if there are errors.
2018-03-07 06:10:17 +01:00
Rhys Arkins
a2ef094485 feat: support pinned versions in .travis.yml
If the existing version was pinned, or if pinVersions=true, then Renovate will use pinned versions for all the new values.

Closes #1605
2018-03-06 22:18:13 +01:00
Rhys Arkins
e29c2d5aca fix: detect quotation mark in .travis.yml 2018-03-06 22:18:13 +01:00
Hutson Betts
d9f9e4692f docs(node): improve documentation clarity (#1606) 2018-03-06 21:42:47 +01:00
Rhys Arkins
d237c6c670 feat: add comment to PRs if config validation fails 2018-03-06 20:00:10 +01:00
Rhys Arkins
a186a4b091 chore: downgrade PR log to debug 2018-03-06 19:31:02 +01:00
Rhys Arkins
e7c325e6f0 fix: validate based on branchPrefix, not branchName 2018-03-06 16:12:59 +01:00
Rhys Arkins
453ce13278 fix: Revert "refactor: array concatenation (#1601)"
This reverts commit dd26a018c5.
2018-03-06 15:54:39 +01:00
Rhys Arkins
0e44eea81f refactor: specify renovate bin the long way 2018-03-06 15:43:15 +01:00
Rhys Arkins
96835410d8
feat: validate renovate config PRs (#1602)
feat: validate renovate config PRs
2018-03-06 15:21:17 +01:00
AndreiMargineanu
dd26a018c5 refactor: array concatenation (#1601)
Refactors all instances of .concat() to use array spread operators instead

Closes #1459
2018-03-06 12:34:39 +01:00
Rhys Arkins
4104e81005 Revert "chore: remove unused getPrFiles functions"
This reverts commit d5984a3cad.
2018-03-06 12:18:35 +01:00
Rhys Arkins
a924ad3715 fix: add package.json > engines > node to “node.js” group
This is so that the upgrade is combined with travis and nvm
2018-03-06 11:15:04 +01:00
Rhys Arkins
46e2e95b32 fix: pr dep filter use manager in duplicate key
To ensure we list both nvm and engines when upgrading node
2018-03-06 11:14:32 +01:00
Rhys Arkins
eb21f80b5d
chore: add @hbetts as package.json contributor
Thanks @hbetts aka @destroyerofbuilds for your continued contributions to the project.
2018-03-06 10:56:05 +01:00
Rhys Arkins
cbdad22a7d
docs: Improve local development information (#1600)
docs: Improve local development information
2018-03-06 10:50:39 +01:00
Adam Moss
621badb964 fix(allow-failure): enabled automerge when allowed failures occur
Closes: #1586

Signed-off-by: Adam Moss <adam.moss@bcs.org.uk>
2018-03-05 21:18:51 +01:00
Hutson Betts
b0ae25967f docs(contributing): fix typo (#1591)
docs(contributing): fix typo
2018-03-05 17:33:59 +01:00
Renovate Bot
139bcac4bd fix: update dependency js-yaml to v3.11.0 2018-03-05 16:28:51 +00:00
Rhys Arkins
d5984a3cad chore: remove unused getPrFiles functions 2018-03-05 15:50:34 +01:00
Rhys Arkins
7ca9918c3c fix: don’t detect disabled managers 2018-03-05 14:56:21 +01:00
Rhys Arkins
e2f067faba Revert "fix: skip pruning for multiple baseBranches"
This reverts commit 81c722473f.
2018-03-05 13:53:37 +01:00
Rhys Arkins
3877b87c36 fix: delete branchList if repository has looped 2018-03-05 13:53:04 +01:00
Rhys Arkins
daba8ba560 fix: add travis content filter 2018-03-05 13:50:54 +01:00
Rhys Arkins
81c722473f fix: skip pruning for multiple baseBranches 2018-03-05 13:19:39 +01:00
Rhys Arkins
7021a073aa fix: clean up multiple baseBranches correctly
Re-enables branch cleanup for multiple baseBranches
2018-03-05 12:27:10 +01:00
Rhys Arkins
3d65e3a48e fix: disable branch pruning when multiple basebranches in use 2018-03-05 12:12:46 +01:00
Rhys Arkins
f05ebf54fc docs: add contributing link inside main readme 2018-03-05 09:08:20 +01:00
Rhys Arkins
a78c346aca docs: improve contributing guide and add a link from docs/readme.md 2018-03-05 09:06:40 +01:00
Rhys Arkins
170ef0f238
docs: fix packageFiles description
Remove outdated packageFiles description
2018-03-05 06:34:34 +01:00
Rhys Arkins
6530480410 refactor: simplify detectPackageFiles 2018-03-04 20:03:52 +01:00
Rhys Arkins
80dbeaa563 refactor: use filePattern to detect package files 2018-03-04 16:34:55 +01:00