A couple tweaks to help with local development #2083
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
In using node 20+ with corepack enabled it will write the packageManager field in the package.json file. Without that field yarn (thru corepack) might not use the correct version, but if developer does not use corepack then the field is ignored.
Trying to get node-canvas built on m1 mac works fine with node-gyp 10+.
Regular "yarn" with existing node-gyp throws error
Bump the node-gyp latest resolution to 10.2.0 and node-canvas now builds correctly
Jsdom is important dep and it would be nice to get some newer releases for it. When I got to jsdom 20+ I was running into issues with some tests. jsdom 19 works correctly with existing tests.
Related issues
It is related to this pr = #2058 . I was struggling to get everything up and running on my m1 mac (windows was fine).
Checklist
yarn run jshint
passes)