|
| 1 | +{ |
| 2 | + "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
| 3 | + "extends": ["config:recommended"], |
| 4 | + "timezone": "Asia/Tokyo", |
| 5 | + "schedule": ["at 10:00 on day 1 of the month"], |
| 6 | + "prConcurrentLimit": 5, |
| 7 | + "semanticCommits": "enabled", |
| 8 | + "commitMessagePrefix": "build", |
| 9 | + "labels": ["dependencies"], |
| 10 | + "automerge": true, |
| 11 | + "platformAutomerge": true, |
| 12 | + "packageRules": [ |
| 13 | + { |
| 14 | + "description": "Automerge patch and minor updates", |
| 15 | + "matchUpdateTypes": ["patch", "minor"], |
| 16 | + "automerge": true |
| 17 | + }, |
| 18 | + { |
| 19 | + "description": "TypeScript - only allow patch updates", |
| 20 | + "matchPackageNames": ["typescript"], |
| 21 | + "matchUpdateTypes": ["minor", "major"], |
| 22 | + "enabled": false |
| 23 | + }, |
| 24 | + { |
| 25 | + "description": "ESLint - only allow patch updates", |
| 26 | + "matchPackageNames": ["eslint"], |
| 27 | + "matchUpdateTypes": ["minor", "major"], |
| 28 | + "enabled": false |
| 29 | + }, |
| 30 | + { |
| 31 | + "description": "Prettier - only allow patch updates", |
| 32 | + "matchPackageNames": ["prettier"], |
| 33 | + "matchUpdateTypes": ["minor", "major"], |
| 34 | + "enabled": false |
| 35 | + }, |
| 36 | + { |
| 37 | + "description": "@types/node - only allow patch updates", |
| 38 | + "matchPackageNames": ["@types/node"], |
| 39 | + "matchUpdateTypes": ["minor", "major"], |
| 40 | + "enabled": false |
| 41 | + }, |
| 42 | + { |
| 43 | + "description": "async-mutex - only allow patch updates (runtime dependency)", |
| 44 | + "matchPackageNames": ["async-mutex"], |
| 45 | + "matchUpdateTypes": ["minor", "major"], |
| 46 | + "enabled": false |
| 47 | + }, |
| 48 | + { |
| 49 | + "description": "unbuild - only allow patch updates", |
| 50 | + "matchPackageNames": ["unbuild"], |
| 51 | + "matchUpdateTypes": ["minor", "major"], |
| 52 | + "enabled": false |
| 53 | + }, |
| 54 | + { |
| 55 | + "description": "Test dependencies - ignore major updates", |
| 56 | + "matchPackagePatterns": ["^vitest", "^@vitest/"], |
| 57 | + "matchPackageNames": ["webdriverio", "happy-dom", "msw", "@types/jsdom"], |
| 58 | + "matchUpdateTypes": ["major"], |
| 59 | + "enabled": false |
| 60 | + }, |
| 61 | + { |
| 62 | + "description": "Test dependencies - group patch and minor updates", |
| 63 | + "groupName": "test-dependencies", |
| 64 | + "commitMessagePrefix": "test", |
| 65 | + "matchPackagePatterns": ["^vitest", "^@vitest/"], |
| 66 | + "matchPackageNames": ["webdriverio", "happy-dom", "msw", "@types/jsdom"], |
| 67 | + "matchUpdateTypes": ["patch", "minor"], |
| 68 | + "automerge": true |
| 69 | + }, |
| 70 | + { |
| 71 | + "description": "Build dependencies - group patch updates (auto-mergeable)", |
| 72 | + "groupName": "build-patch", |
| 73 | + "matchDepTypes": ["devDependencies"], |
| 74 | + "excludePackagePatterns": ["^vitest", "^@vitest/"], |
| 75 | + "excludePackageNames": [ |
| 76 | + "webdriverio", |
| 77 | + "happy-dom", |
| 78 | + "msw", |
| 79 | + "@types/jsdom" |
| 80 | + ], |
| 81 | + "matchUpdateTypes": ["patch"], |
| 82 | + "automerge": true |
| 83 | + }, |
| 84 | + { |
| 85 | + "description": "Build dependencies - group minor updates (requires review)", |
| 86 | + "groupName": "build-minor", |
| 87 | + "matchDepTypes": ["devDependencies"], |
| 88 | + "excludePackagePatterns": ["^vitest", "^@vitest/"], |
| 89 | + "excludePackageNames": [ |
| 90 | + "webdriverio", |
| 91 | + "happy-dom", |
| 92 | + "msw", |
| 93 | + "@types/jsdom" |
| 94 | + ], |
| 95 | + "matchUpdateTypes": ["minor"], |
| 96 | + "automerge": true |
| 97 | + }, |
| 98 | + { |
| 99 | + "description": "Build dependencies - group major updates (requires careful review)", |
| 100 | + "groupName": "build-major", |
| 101 | + "matchDepTypes": ["devDependencies"], |
| 102 | + "excludePackagePatterns": ["^vitest", "^@vitest/"], |
| 103 | + "excludePackageNames": [ |
| 104 | + "webdriverio", |
| 105 | + "happy-dom", |
| 106 | + "msw", |
| 107 | + "@types/jsdom", |
| 108 | + "typescript", |
| 109 | + "eslint", |
| 110 | + "prettier", |
| 111 | + "@types/node", |
| 112 | + "async-mutex", |
| 113 | + "unbuild" |
| 114 | + ], |
| 115 | + "matchUpdateTypes": ["major"], |
| 116 | + "automerge": false |
| 117 | + }, |
| 118 | + { |
| 119 | + "description": "GitHub Actions - group patch and minor updates", |
| 120 | + "groupName": "ci-patch-minor", |
| 121 | + "commitMessagePrefix": "ci", |
| 122 | + "matchManagers": ["github-actions"], |
| 123 | + "matchUpdateTypes": ["patch", "minor"], |
| 124 | + "automerge": true |
| 125 | + }, |
| 126 | + { |
| 127 | + "description": "GitHub Actions - ignore major updates", |
| 128 | + "matchManagers": ["github-actions"], |
| 129 | + "matchUpdateTypes": ["major"], |
| 130 | + "enabled": false |
| 131 | + } |
| 132 | + ], |
| 133 | + "npm": { |
| 134 | + "rangeStrategy": "pin" |
| 135 | + } |
| 136 | +} |
0 commit comments