Skip to content

Commit

Permalink
Migrate Config (#131)
Browse files Browse the repository at this point in the history
* Migrate default config

* enable config migration

* migrate

* enable configMigration
  • Loading branch information
samchungy authored Oct 17, 2024
1 parent 20464c3 commit 2c25781
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 21 deletions.
32 changes: 18 additions & 14 deletions default.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"group:monorepos",
"docker:pinDigests"
],
"configMigration": true,
"lockFileMaintenance": {
"enabled": true
},
Expand Down Expand Up @@ -87,14 +88,14 @@
},
{
"matchManagers": ["npm"],
"matchPackagePatterns": ["^@types/"],
"matchPackageNames": ["/^@types//"],
"matchUpdateTypes": ["major", "minor", "patch"],

"automerge": true
},
{
"matchManagers": ["npm"],
"matchPackagePatterns": ["^@types/"],
"matchPackageNames": ["/^@types//"],
"matchUpdateTypes": ["major", "minor", "patch"],

"commitMessageExtra": "",
Expand All @@ -103,14 +104,17 @@
"schedule": "before 3:00 am every 2 weeks on Tuesday"
},
{
"excludePackageNames": ["aws-sdk", "braid-design-system", "sku", "skuba"],
"excludePackagePatterns": [
"^@?seek",
"seek$",
"^@aws-sdk/",
"^@types/",
"^@vanilla-extract/",
"^serverless"
"matchPackageNames": [
"!aws-sdk",
"!braid-design-system",
"!sku",
"!skuba",
"!/^@?seek/",
"!/seek$/",
"!/^@aws-sdk//",
"!/^@types//",
"!/^@vanilla-extract//",
"!/^serverless/"
],
"matchDepTypes": ["devDependencies"],
"matchManagers": ["npm"],
Expand All @@ -128,7 +132,7 @@
"schedule": "after 3:00 am and before 6:00 am every 2 weeks on Tuesday"
},
{
"excludePackagePatterns": ["^seek-jobs/", "^seek-oss/"],
"matchPackageNames": ["!/^seek-jobs//", "!/^seek-oss//"],
"matchManagers": ["buildkite"],

"additionalBranchPrefix": "",
Expand All @@ -148,7 +152,7 @@
},
{
"matchDepNames": ["braid-design-system", "sku", "skuba"],
"matchPackagePatterns": ["^@?seek", "seek$", "^@vanilla-extract/"],
"matchPackageNames": ["/^@?seek/", "/seek$/", "/^@vanilla-extract//"],

"prPriority": 98,
"schedule": "after 3:00 am and before 6:00 am every weekday",
Expand All @@ -166,7 +170,7 @@
{
"matchManagers": ["npm"],
"matchDepNames": ["aws-sdk", "serverless"],
"matchPackagePatterns": ["^@aws-sdk/", "^@smithy/"],
"matchPackageNames": ["/^@aws-sdk//", "/^@smithy//"],
"matchUpdateTypes": ["major", "minor", "patch"],

"commitMessageExtra": "",
Expand Down Expand Up @@ -237,7 +241,7 @@
},
{
"matchDepNames": ["react-relay"],
"matchPackagePatterns": ["^relay-"],
"matchPackageNames": ["/^relay-/"],

"groupName": "relay"
},
Expand Down
7 changes: 6 additions & 1 deletion non-critical.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"docker:disableMajor",
"docker:pinDigests"
],
"configMigration": true,
"lockFileMaintenance": { "enabled": true },
"packageRules": [
{
Expand Down Expand Up @@ -55,7 +56,11 @@
"allowedVersions": "!/^(3\\.42\\.0|4\\.21\\.0)$/"
},
{
"excludePackageNames": ["seek-jobs/gantry", "seek-jobs/automat", "skuba"],
"matchPackageNames": [
"!seek-jobs/gantry",
"!seek-jobs/automat",
"!skuba"
],
"matchUpdateTypes": [
"bump",
"digest",
Expand Down
23 changes: 17 additions & 6 deletions third-party-major.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"docker:disableMajor",
"docker:pinDigests"
],
"configMigration": true,
"lockFileMaintenance": {
"enabled": true
},
Expand Down Expand Up @@ -41,8 +42,13 @@
"enabled": false
},
{
"excludePackageNames": ["braid-design-system", "sku", "skuba"],
"excludePackagePatterns": ["^@?seek", "seek$"],
"matchPackageNames": [
"!braid-design-system",
"!sku",
"!skuba",
"!/^@?seek/",
"!/seek$/"
],
"matchManagers": ["npm"],
"matchUpdateTypes": ["patch", "minor"],

Expand All @@ -67,8 +73,13 @@
"allowedVersions": "!/^(3\\.42\\.0|4\\.21\\.0)$/"
},
{
"excludePackageNames": ["braid-design-system", "sku", "skuba"],
"excludePackagePatterns": ["^@?seek", "seek$"],
"matchPackageNames": [
"!braid-design-system",
"!sku",
"!skuba",
"!/^@?seek/",
"!/seek$/"
],
"matchDepTypes": ["devDependencies", "peerDependencies"],
"matchManagers": ["npm"],
"matchUpdateTypes": ["major"],
Expand All @@ -83,7 +94,7 @@
"minimumReleaseAge": "14 days"
},
{
"excludePackagePatterns": ["^seek-jobs/", "^seek-oss/"],
"matchPackageNames": ["!/^seek-jobs//", "!/^seek-oss//"],
"matchManagers": ["buildkite"],

"additionalBranchPrefix": "",
Expand All @@ -103,7 +114,7 @@
},
{
"matchDepNames": ["braid-design-system", "sku", "skuba"],
"matchPackagePatterns": ["^@?seek", "seek$"],
"matchPackageNames": ["/^@?seek/", "/seek$/"],

"prPriority": 98,
"schedule": "after 3:00 am and before 6:00 am every weekday"
Expand Down

0 comments on commit 2c25781

Please sign in to comment.