-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add renovate.json * Disable updating Node.js version. * Update renovate.json * Specify Node.js version supported. * Add ":preserveSemverRanges". * Add version constraints for Node.js 8 support. Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Yuchen Shi <[email protected]> Co-authored-by: Tim Stirrat <[email protected]>
- Loading branch information
1 parent
765bb26
commit e5c432c
Showing
2 changed files
with
40 additions
and
0 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
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,37 @@ | ||
// This file configures the Renovate bot on GitHub. See: | ||
// https://docs.renovatebot.com/configuration-options/ | ||
// This is a JSON5 (json5.org) file which supports comments and unquoted keys. | ||
{ | ||
extends: [ | ||
"config:base", | ||
":preserveSemverRanges", | ||
], | ||
packageRules: [ | ||
{ | ||
// Do not upgrade Node.js versions ("engine" field in package.json). | ||
packageNames: ["node"], | ||
enabled: false, | ||
}, | ||
|
||
// BEGIN version constraints for Node.js 8 support. | ||
// TODO: Remove these once Renovate learns to ignore incompatible versions. | ||
// https://github.com/renovatebot/renovate/issues/4826 | ||
{ | ||
packageNames: ["@testing-library/react"], | ||
allowedVersions: '<10', | ||
}, | ||
{ | ||
packageNames: ["husky"], | ||
allowedVersions: '<4', | ||
}, | ||
{ | ||
packageNames: ["lint-staged"], | ||
allowedVersions: '<10', | ||
}, | ||
{ | ||
packageNames: ["prettier"], | ||
allowedVersions: '<2', | ||
}, | ||
// END version constraints for Node.js 8 support. | ||
], | ||
} |