Skip to content

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

Merged
michaelfig merged 1 commit intomasterfrom
mfig-null-resolutions
Jul 26, 2023
Merged

fix(resolve-versions): tolerate missing package.json resolutions#8099
michaelfig merged 1 commit intomasterfrom
mfig-null-resolutions

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 requested review from mhofman and turadg July 26, 2023 16:14
@michaelfig michaelfig self-assigned this Jul 26, 2023
@michaelfig michaelfig enabled auto-merge July 26, 2023 16:42
@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
@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.

3 participants