-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Noise reduction and Node compatibility fixes (#138)
- Loading branch information
1 parent
818583d
commit 280a87d
Showing
11 changed files
with
218 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@microsoft/m365-renovate-config': minor | ||
--- | ||
|
||
`keepFresh`: Reduce noise from unnecessary lock file-only dep updates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@microsoft/m365-renovate-config': minor | ||
--- | ||
|
||
`restrictNode`: enable `constraintsFiltering` to prevent installing deps with incompatible `engines.node` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@microsoft/m365-renovate-config': patch | ||
--- | ||
|
||
Restrict npm package-specific presets to only apply to npm deps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
|
||
"description": "Keep locally-used dependency versions deduplicated and updated.", | ||
"description": "Keep locally-used dependency versions updated and deduplicated.", | ||
|
||
"extends": ["github>microsoft/m365-renovate-config:minorDependencyUpdates"], | ||
|
||
"lockFileMaintenance": { | ||
"enabled": true, | ||
"rebaseWhen": "behind-base-branch", | ||
"schedule": ["before 5am on the 1st and 15th day of the month"] | ||
}, | ||
|
||
"postUpdateOptions": ["yarnDedupeFewer", "npmDedupe"] | ||
"postUpdateOptions": ["yarnDedupeFewer", "npmDedupe"], | ||
|
||
"packageRules": [ | ||
{ | ||
"matchManagers": ["npm"], | ||
"matchDepTypes": ["devDependencies"], | ||
"rangeStrategy": "replace" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
|
||
"description": "For dependencies, explicitly pick up minor updates, and ignore patch updates if in-range.", | ||
|
||
"packageRules": [ | ||
{ | ||
"matchManagers": ["npm"], | ||
"matchDepTypes": ["dependencies"], | ||
"rangeStrategy": "bump" | ||
}, | ||
{ | ||
"matchManagers": ["npm"], | ||
"matchDepTypes": ["dependencies"], | ||
"matchCurrentValue": "/^[~^][1-9]/", | ||
"matchUpdateTypes": ["minor"], | ||
"schedule": ["before 5am on Tuesday"] | ||
}, | ||
{ | ||
"matchManagers": ["npm"], | ||
"matchDepTypes": ["dependencies"], | ||
"matchCurrentVersion": "0.x", | ||
"matchUpdateTypes": ["patch"], | ||
"schedule": ["before 5am on Tuesday"] | ||
}, | ||
{ | ||
"matchManagers": ["npm"], | ||
"matchDepTypes": ["dependencies"], | ||
"matchCurrentValue": "/^[~^][1-9]/", | ||
"matchUpdateTypes": ["patch"], | ||
"enabled": false | ||
} | ||
] | ||
} |
Oops, something went wrong.