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(yarn): update to use js config for constraints #11290

Merged
merged 3 commits into from
Aug 16, 2024

Conversation

Josh-Walker-GM
Copy link
Collaborator

We currently use a prolog file to define the constraints yarn applies when you run yarn constraints (which is run with yarn check).

You can see here that yarn states this format should be considered deprecated. Instead a yarn.config.cjs file is recommended. This change switches our current prolog one to this new js one.

I added rules to enforce some consistent and correctly specified fields are present on our package.json files. We can add to this in the future should we wish to.

@Josh-Walker-GM Josh-Walker-GM added release:chore This PR is a chore (means nothing for users) changesets-ok Override the changesets check labels Aug 16, 2024
@Josh-Walker-GM Josh-Walker-GM added this to the chore milestone Aug 16, 2024
@Josh-Walker-GM Josh-Walker-GM self-assigned this Aug 16, 2024
@Josh-Walker-GM Josh-Walker-GM merged commit cb6a323 into main Aug 16, 2024
46 checks passed
@Josh-Walker-GM Josh-Walker-GM deleted the jgmw/chore-yarn-constraints branch August 16, 2024 04:51
@Josh-Walker-GM Josh-Walker-GM modified the milestones: chore, v8.0.0 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changesets-ok Override the changesets check release:chore This PR is a chore (means nothing for users)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant