Skip to content

Commit

Permalink
「arrayの末尾のobject」に対する末尾カンマだけ避けてJSON5化
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Sep 28, 2024
1 parent 7574139 commit 13904f6
Showing 1 changed file with 46 additions and 46 deletions.
92 changes: 46 additions & 46 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
extends: [
"config:recommended",
],
"timezone": "Asia/Tokyo",
"separateMajorMinor": false,
"dependencyDashboardApproval": true, // 万が一`packageRules`の網羅性に穴ができた場合に備え
"packageRules": [
timezone: "Asia/Tokyo",
separateMajorMinor: false,
dependencyDashboardApproval: true, // 万が一`packageRules`の網羅性に穴ができた場合に備え
packageRules: [
// `separateMajorMinor`を無効化した上で次の二つのgroupにすべてをまとめる。
//
// * "major dependencies" (`renovate/major-dependencies`)
Expand All @@ -16,75 +16,75 @@

// メジャーバージョンの更新
{
"groupName": "major dependencies",
"matchUpdateTypes": [
"major"
groupName: "major dependencies",
matchUpdateTypes: [
"major",
],
"dependencyDashboardApproval": false,
dependencyDashboardApproval: false,
},
{
"groupName": "major dependencies",
"matchUpdateTypes": [
"minor"
groupName: "major dependencies",
matchUpdateTypes: [
"minor",
],
"matchCurrentVersion": "/^v?0\\./",
"dependencyDashboardApproval": false
matchCurrentVersion: "/^v?0\\./",
dependencyDashboardApproval: false,
},
{
"groupName": "major dependencies",
"matchUpdateTypes": [
"patch"
groupName: "major dependencies",
matchUpdateTypes: [
"patch",
],
"matchCurrentVersion": "/^v?0\\.0\\./",
"dependencyDashboardApproval": false
matchCurrentVersion: "/^v?0\\.0\\./",
dependencyDashboardApproval: false,
},

// メジャーバージョン以外の更新
{
"groupName": "non-major dependencies",
"matchUpdateTypes": [
"minor"
groupName: "non-major dependencies",
matchUpdateTypes: [
"minor",
],
"matchCurrentVersion": "!/^v?0\\./",
"dependencyDashboardApproval": false
matchCurrentVersion: "!/^v?0\\./",
dependencyDashboardApproval: false,
},
{
"groupName": "non-major dependencies",
"matchUpdateTypes": [
"patch"
groupName: "non-major dependencies",
matchUpdateTypes: [
"patch",
],
"matchCurrentVersion": "!/^v?0\\.0\\./",
"dependencyDashboardApproval": false
matchCurrentVersion: "!/^v?0\\.0\\./",
dependencyDashboardApproval: false,
},

// GHAのrunnerに対しては無効化する
{
"matchDatasources": [
"github-runners"
matchDatasources: [
"github-runners",
],
"matchPackageNames": [
matchPackageNames: [
"windows",
"macos",
"ubuntu"
"ubuntu",
],
"enabled": false
enabled: false,
}
],
"cargo": {
"rangeStrategy": "bump"
cargo: {
rangeStrategy: "bump",
},
"customManagers": [
customManagers: [
{
"customType": "regex",
"fileMatch": [
"^rust-toolchain$"
customType: "regex",
fileMatch: [
"^rust-toolchain$",
],
"matchStrings": [
"(?<currentValue>\\d+\\.\\d+\\.\\d+)"
matchStrings: [
"(?<currentValue>\\d+\\.\\d+\\.\\d+)",
],
"depNameTemplate": "Rust",
"packageNameTemplate": "rust-lang/rust",
"datasourceTemplate": "github-tags"
depNameTemplate: "Rust",
packageNameTemplate: "rust-lang/rust",
datasourceTemplate: "github-tags",
}
]
],
}

0 comments on commit 13904f6

Please sign in to comment.