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

fix(resolve-versions): tolerate missing package.json resolutions #8099

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

michaelfig
Copy link
Member

Description

The nightly test against Endo master was failing with:

+ read -r dir
jq: error (at package.json:88): null (null) and object ({"**/@endo/...) cannot be multiplied

It turns out the resolve-versions.sh script assumed that there must be a packageJson.resolutions property, which was removed by #5927. This PR makes the script properly robust, creating a resolutions property if there isn't one to merge against.

Security Considerations

n/a

Scaling Considerations

n/a

Documentation Considerations

n/a

Testing Considerations

Manually verified. Will be tested in nightly CI after merge.

Upgrade Considerations

n/a

@michaelfig michaelfig added the tooling repo-wide infrastructure label Jul 26, 2023
@michaelfig michaelfig self-assigned this Jul 26, 2023
@michaelfig michaelfig added this pull request to the merge queue Jul 26, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Jul 26, 2023
@michaelfig michaelfig added this pull request to the merge queue Jul 26, 2023
Merged via the queue into master with commit 5eb596e Jul 26, 2023
68 checks passed
@michaelfig michaelfig deleted the mfig-null-resolutions branch July 26, 2023 19:09
mhofman pushed a commit that referenced this pull request Aug 7, 2023
fix(resolve-versions): tolerate missing `package.json` resolutions
mhofman pushed a commit that referenced this pull request Aug 7, 2023
fix(resolve-versions): tolerate missing `package.json` resolutions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling repo-wide infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants