Skip to content

Commit ebdf841

Browse files
feat(tools): use config:recommended for renovate (#1462)
## PR Checklist - [x] Addresses an existing open issue: fixes #1455 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Using `config:recommended` for renovate config. `config:best-practices` looked too opinionated for common user, so I think this recommended is better fit. I also added `maintainLockFilesWeekly` and `replacements:all`. I'm not sure if `maintainLockFilesWeekly` is needed when there is pnpm dedupe in every PR already. - maintainLockFilesWeekly: "Run lock file maintenance (updates) early Monday mornings." https://docs.renovatebot.com/presets-default/#maintainlockfilesweekly - replacementsall: "Apply crowd-sourced package replacement rules." https://docs.renovatebot.com/presets-replacements/#replacementsall BTW, some tools seems to be fighting over formatting in this repo. When I save this file in VS code it's formatted differently than what is seen in this PR. So when you stage / commit the file, it gets different formatting. (I re-created this PR because I just learned that using this branch name, you will get renovate validation for free https://docs.renovatebot.com/config-validation/ ) --------- Co-authored-by: Josh Goldberg ✨ <[email protected]>
1 parent d2f7271 commit ebdf841

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/renovate.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"automerge": true,
4+
"extends": ["config:best-practices", "replacements:all"],
45
"ignoreDeps": ["codecov/codecov-action"],
56
"internalChecksFilter": "strict",
67
"labels": ["dependencies"],

src/steps/writing/creation/dotGitHub/createDotGitHubFiles.ts

+1
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ We appreciate your efforts and responsible disclosure and will make every effort
280280
"renovate.json": await formatJson({
281281
$schema: "https://docs.renovatebot.com/renovate-schema.json",
282282
automerge: true,
283+
extends: ["config:best-practices", "replacements:all"],
283284
ignoreDeps: ["codecov/codecov-action"],
284285
internalChecksFilter: "strict",
285286
labels: ["dependencies"],

0 commit comments

Comments
 (0)