Rhys Arkins
fb6271e4f7
refactor: rename update.type -> update.updateType
2018-07-04 10:11:53 +02:00
Rhys Arkins
38334fc362
feat: packageRules updateTypes
...
Adds an `updateTypes` field to `packageRules` that lets you specify rules based on update types such as major, minor, patch, pin, etc.
2018-07-04 09:30:29 +02:00
Rhys Arkins
068ff16ec4
fix: Revert "feat: endpoint credentials handling ( #2146 )"
...
This reverts commit 04e0ca1f80
.
2018-07-02 13:18:37 +02:00
Ayoub Kaanich
04e0ca1f80
feat: endpoint credentials handling ( #2146 )
...
Refactors credentials/token handling to rely less on env variables and instead use an endpoints middleware for credentials handling.
First step towards #2105
2018-07-02 10:01:42 +02:00
Rhys Arkins
4ccbc20bc1
fix: match current version ( #2135 )
...
fix: match current version
2018-06-16 09:28:11 +02:00
Rhys Arkins
71c662c11f
fix: purl return empty qualifiers object
2018-06-11 07:32:38 +02:00
Ayoub Kaanich
1a5ffae679
refactor: package rules use versionScheme
2018-06-03 18:32:44 +02:00
Ayoub Kaanich
6278410be1
refactor: remove semver.intersects, use matches instead
2018-06-03 17:13:51 +02:00
Rhys Arkins
bc7728f1d2
refactor: use purl.parse
2018-06-01 14:48:49 +02:00
Rhys Arkins
addf184473
feat: refactor getPackageUpdates for manager expansion ( #1994 )
...
The goal of this PR is to refactor npm's version lookup/grouping as much as possible to enable the same logic to be used for other package managers.
2018-05-28 09:09:22 +02:00
Rhys Arkins
7a1d30c8b6
refactor: move semver to lib/versioning
2018-05-21 17:30:55 +02:00
Rhys Arkins
6fbcc1ae73
fix: check for empty packageRules before applying
2018-05-06 12:04:48 +02:00
Rhys Arkins
1c6be50172
fix: move delete packageRules
2018-05-03 14:44:20 +02:00
Rhys Arkins
acafbbb66f
refactor: rename package rules config for readability
2018-05-03 14:42:27 +02:00
Rhys Arkins
45f3c4c765
refactor: move package rules logic to separate file
2018-05-03 14:41:04 +02:00
Rhys Arkins
0415a05cc4
refactor: move package-rules to separate file
2018-05-03 14:28:14 +02:00
Țurcanu Dragomir
305f094bd4
Added matchCurrentVersion selector to packageRules ( #1835 )
...
The matchCurrentVersion option sets a range of versions that a package update can be in. If the package's current version doesn't satisfy the matchCurrentVersion range, it won't match the rule.
Closes #1771
2018-04-27 05:45:22 +02:00
Rhys Arkins
6af4facf91
fix: refactor isValidSemver to avoid Invalid Version errors
2018-04-10 06:02:48 +02:00
Rhys Arkins
523b02fbc8
refactor: npm and semver ( #1817 )
2018-04-10 05:20:46 +02:00