Skip to content

chore(deps): precise version for yarn and fix java formatter #846

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 18, 2022
Merged
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
7 changes: 5 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@
"package.mustache"
],
"matchStrings": [
"\\s\"(?<depName>.*?)\": \"(?<currentValue>\\d.*?)\",?\\s"
"\"devDependencies\":\\s*{[^}]*}",
"\\s\"(?<depName>.*?)\": \"(?<currentValue>.*?)\",?\\s"
Comment on lines +49 to +50
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aren't those regex independent? Or does the array order defines the match nest level or something?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

@millotp millotp Jul 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's only possible with the matchStringStrategy: "recursive" mode, otherwise they are independent

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's sick

],
"matchStringsStrategy": "recursive",
"datasourceTemplate": "npm"
},
{
Expand All @@ -61,7 +63,8 @@
"google-java-format/releases/download/v(.*?)/google-java-format-(?<currentValue>.*?)-all-deps"
],
"depNameTemplate": "google/google-java-format",
"datasourceTemplate": "github-releases"
"datasourceTemplate": "github-releases",
"extractVersion": "^v(?<version>.*)$"
},
{
"description": "Update java packages in mustache files",
Expand Down