Skip to content
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
5 changes: 0 additions & 5 deletions .github/renovate.json

This file was deleted.

75 changes: 75 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
timezone: "Asia/Shanghai",
extends: [
":dependencyDashboard",
"helpers:pinGitHubActionDigests",
"github>rstackjs/renovate:security"
],
schedule: ["before 8am on saturday"],
enabledManagers: ["github-actions", "cargo", "npm"],
ignorePaths: ["**/node_modules/**", "**/fixtures/**", "benches/**"],
labels: ["dependencies"],
packageRules: [
// manually update peer dependencies
{
matchDepTypes: ["peerDependencies"],
enabled: false
},
Comment thread
stormslowly marked this conversation as resolved.
{
// applies to all updates: chore commit + always bump package.json range
matchPackageNames: ["*"],
semanticCommitType: "chore",
rangeStrategy: "bump"
},
Comment thread
stormslowly marked this conversation as resolved.
{
groupName: "patch crates",
matchManagers: ["cargo"],
matchPackageNames: ["*", "!napi*", "!mimalloc"],
matchUpdateTypes: ["patch"]
},
{
groupName: "napi",
matchPackageNames: ["napi*", "@napi-rs/*"]
},
{
groupName: "ignored crates",
matchManagers: ["cargo"],
// mimalloc is pinned for benchmark allocator alignment with rspack's xtask/benchmark
matchPackageNames: ["mimalloc"],
enabled: false
},
{
groupName: "patch npm dependencies",
matchManagers: ["npm"],
matchDepTypes: ["dependencies", "devDependencies"],
matchPackageNames: ["*", "!typescript"],
// bump major and minor in a separate PR
matchUpdateTypes: ["patch"]
},
// Disable Node.js updates
{
groupName: "node",
matchPackageNames: ["node"],
enabled: false
},
{
groupName: "github-actions",
matchManagers: ["github-actions"],
matchPackageNames: [
"*",
"!actions/upload-artifact",
"!actions/download-artifact"
]
},
{
groupName: "manually managed github-actions",
matchManagers: ["github-actions"],
matchPackageNames: [
"actions/upload-artifact",
"actions/download-artifact"
],
enabled: false
}
]
}
Loading