Skip to content

Commit

Permalink
feat(projen): Apply changes
Browse files Browse the repository at this point in the history
Reconfigures Renovatebot to better match dependencies in projen files.
  • Loading branch information
langri-sha committed May 18, 2024
1 parent a143c37 commit 648ff29
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@
{
customType: 'regex',
datasourceTemplate: 'npm',
fileMatch: ['projen.*.(js|cjs|mjs|ts|mts|cts)$'],
fileMatch: ['\\.?projen.*.(js|cjs|mjs|ts|mts|cts)$'],
matchStrings: [
"\\.add[\\w]*Deps\\('(?<depName>[a-zA-Z0-9-]+)@(?<currentValue>[^']+)'\\)",
"\\.(?<depType>addDep|addDevDep|addPeerDep)('(?<depName>[a-zA-Z0-9-]+)@(?<currentValue>[^']+)'\\)",
"'(?<depName>[a-zA-Z0-9-]+)@(?<currentValue>[^']+)'",
],
depTypeTemplate: "{{#if (eq depType 'addDevDep')}}devDependencies{{else if (eq depType 'addPeerDep')}}peerDependencies{{else}}dependencies{{/if}}",
},
],
}

0 comments on commit 648ff29

Please sign in to comment.