Skip to content
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

chore(deps): strict regex for package.json and yarn #822

Merged
merged 5 commits into from
Jul 13, 2022

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Jul 13, 2022

🧭 What and Why

In #532 the regex for package.mustache and .yarnrc.yml are too broad and detect things that don't have versions,
this should help renovate to find only real deps.

@millotp millotp requested a review from a team July 13, 2022 13:37
@millotp millotp self-assigned this Jul 13, 2022
@millotp millotp requested review from damcou and shortcuts and removed request for a team July 13, 2022 13:37
@netlify
Copy link

netlify bot commented Jul 13, 2022

Deploy Preview for api-clients-automation canceled.

Name Link
🔨 Latest commit 502fb25
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/62ced08bee8c0e0008b469c0

@algolia-bot
Copy link
Collaborator

algolia-bot commented Jul 13, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

@@ -54,6 +54,11 @@ jobs:
yarn eslint --ext=json .
echo 'Use yarn fix:json to fix issues'

- name: Validate renovate.json
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The validator takes at least 30 seconds tu run, on each PR, either we cache the renovate file or remove this, wdyt ?

Copy link
Member

Choose a reason for hiding this comment

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

it's not something that should change regularly, we don't have to validate it imo

Copy link
Member

Choose a reason for hiding this comment

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

(alternatively, this could be in a if with a git diff on the renovate but maybe it's overkill)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yep I agree, we already some form of validation with the schema anyway

@millotp millotp merged commit 0012fb7 into main Jul 13, 2022
@millotp millotp deleted the chore/renovate-yarn branch July 13, 2022 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants