Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 Update .renovaterc.json file #193

Merged
merged 4 commits into from
Mar 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 0 additions & 57 deletions .renovaterc.json

This file was deleted.

95 changes: 95 additions & 0 deletions .renovaterc.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
extends: [
"config:js-lib",
":maintainLockFilesWeekly",
"helpers:disableTypesNodeMajor",
],
commitMessagePrefix: "⬆️",
ignorePresets: ["group:monorepos"],
packageRules: [
{
updateTypes: ["pin"],
commitMessagePrefix: "📌",
},
{
updateTypes: ["rollback"],
commitMessagePrefix: "⬇️",
},
{
packageNames: ["eslint"],
packagePatterns: ["^@typescript-eslint/", "^eslint-"],
groupName: "dependencies: eslint packages",
groupSlug: "eslint-packages",
},
{
packageNames: [
"lefthook",
"prettier",
"prettier-package-json",
"sort-package-json",
],
groupName: "dependencies: code formatter packages",
groupSlug: "code-formatter-packages",
},
{
packageNames: [
"ava",
"escape-string-regexp",
"execa",
"node-git-server",
"ts-node",
],
groupName: "dependencies: test packages",
groupSlug: "tester-packages",
},
{
packageNames: [
"can-npm-publish",
"check-peer-deps",
"del-cli",
"git-branch-is",
"is-git-status-clean",
"npm-run-all",
"patch-package",
],
groupName: "dependencies: npm-scripts packages",
groupSlug: "npm-scripts-packages",
},
{
matchPackageNames: ["npm"],
matchUpdateTypes: ["major"],
enabled: false,
},
// `ava@>=4.0.0` doesn't work with old Node.js.
// We should only update if the Node.js support range: `>=14.17`
{
matchPackageNames: ["ava"],
matchCurrentVersion: "<4.0.0",
enabled: false,
},
// The format of help messages has changed since cac 6.7.0.
// see https://github.com/cacjs/cac/commit/e565b2ae5d4a3256ed4d56a64d91356e7d6cbce6
// We should not update until we introduce breaking changes that modify the help messages.
{
matchPackageNames: ["cac"],
matchCurrentVersion: "<6.7.0",
enabled: false,
},
// `escape-string-regexp@>=5.0.0` doesn't work with old Node.js.
// Because it uses pure ESM.
// We should only update if the Node.js support range: `>=14.13.0`
{
matchPackageNames: ["escape-string-regexp"],
matchCurrentVersion: "<5.0.0",
enabled: false,
},
// `execa@>=6.0.0` doesn't work with old Node.js.
// Because it uses pure ESM and `node:` imports.
// We should only update if the Node.js support range: `>=14.13.1`
{
matchPackageNames: ["execa"],
matchCurrentVersion: "<6.0.0",
enabled: false,
},
],
}
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,15 @@ This project will support Node.js 14.0.0 or later from now on.
* [#185] - Use npm v7 in this project
* [#185] - Fix patch file to make `check-peer-deps@1.1.3` detect peerDependenciesMeta
* [#188] - Run unit tests on the master branch
* [#193] - Update `.renovaterc.json` file

[#182]: https://github.com/sounisi5011/package-version-git-tag/pull/182
[#183]: https://github.com/sounisi5011/package-version-git-tag/pull/183
[#186]: https://github.com/sounisi5011/package-version-git-tag/pull/186
[#187]: https://github.com/sounisi5011/package-version-git-tag/pull/187
[#185]: https://github.com/sounisi5011/package-version-git-tag/pull/185
[#188]: https://github.com/sounisi5011/package-version-git-tag/pull/188
[#193]: https://github.com/sounisi5011/package-version-git-tag/pull/193

## [3.0.0] (2020-06-02 UTC)

Expand Down
2 changes: 1 addition & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ _pre-commit__format__config:
piped: true
commands:
format/config/0_prettier:
glob: "*.{json,yaml,yml}"
glob: "*.{json,json5,yaml,yml}"
run: npx prettier --write {staged_files}
format/config/1_format-package-json:
# Note: If "package.json" is specified, only the root package.json file will be included.
Expand Down