-
Notifications
You must be signed in to change notification settings - Fork 2.7k
fix(install): Inherit optional property for resolutions #7273
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 tasks
@rally25rs @arcanis Any guidance on when we might get this reviewed and merged? |
arcanis
approved these changes
Jun 6, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, sorry for the delay!
9 tasks
robyww
added a commit
to Caltech-IPAC/firefly
that referenced
this pull request
Jan 29, 2020
- Allows any version of node v8 or later - Most packages updated - Packages now locked at their revisions instead of minor releases - Babel updated, to most recent, 7.8 - ESlint updated to most recent, and now better supports ES2020 - Jest update some, can go to most recent with node 8 - JSDoc updated to most recent - Webpack updated a few revisions, (minor) - Other package updated when there is compatibility - Cleaned out several unused packages - Added `package-json-doc.md` to help better document package.json - transformation-matrix-js moved from npm package to externalSource - it is not longer supported as a npm package. - Fixes Firefly-476 - changed yarn install to yarn install --ignore-platform - this is because of a bug in yarn fsevents is an optional dependency and if in resolutions, npm works correctly see yarnpkg/yarn#7273 - changed a couple of files of use `?.` to make sure it works - optional chaining - to update all the url load we have to change the way we reference images in css files. we not reference them under ~images instread of /images
robyww
added a commit
to Caltech-IPAC/firefly
that referenced
this pull request
Jan 30, 2020
- Allows any version of node v8 or later - Most packages updated - Packages now locked at their revisions instead of minor releases - Babel updated, to most recent, 7.8 - ESlint updated to most recent, and now better supports ES2020 - Jest update some, can go to most recent with node 8 - JSDoc updated to most recent - Webpack updated a few revisions, (minor) - Other package updated when there is compatibility - Cleaned out several unused packages - Added `package-json-doc.md` to help better document package.json - transformation-matrix-js moved from npm package to externalSource - it is not longer supported as a npm package. - changed yarn install to yarn install --ignore-platform - this is because of a bug in yarn fsevents is an optional dependency and if in resolutions, npm works correctly see yarnpkg/yarn#7273 - changed a couple of files of use `?.` to make sure it works - optional chaining - to update all the url load we have to change the way we reference images in css files. we not reference them under ~images instread of /images - Small bug fixes: - Fixes Firefly-470 - Fixes Firefly-476 - Fixes Firefly-477
robyww
added a commit
to Caltech-IPAC/firefly
that referenced
this pull request
Jan 31, 2020
- Allows any version of node v8 or later - Most packages updated - Packages now locked at their revisions instead of minor releases - Babel updated, to most recent, 7.8 - ESlint updated to most recent, and now better supports ES2020 - Jest update some, can go to most recent with node 8 - JSDoc updated to most recent - Webpack updated a few revisions, (minor) - Other package updated when there is compatibility - Cleaned out several unused packages - Added `package-json-doc.md` to help better document package.json - transformation-matrix-js moved from npm package to externalSource - it is not longer supported as a npm package. - changed yarn install to yarn install --ignore-platform - this is because of a bug in yarn fsevents is an optional dependency and if in resolutions, npm works correctly see yarnpkg/yarn#7273 - changed a couple of files of use `?.` to make sure it works - optional chaining - to update all the url load we have to change the way we reference images in css files. we not reference them under ~images instread of /images - Small bug fixes: - Fixes Firefly-470 - Fixes Firefly-476 - Fixes Firefly-477
robyww
added a commit
to Caltech-IPAC/firefly
that referenced
this pull request
Feb 4, 2020
- Allows any version of node v8 or later - Most packages updated - Packages now locked at their revisions instead of minor releases - Babel updated, to most recent, 7.8 - ESlint updated to most recent, and now better supports ES2020 - Jest update some, can go to most recent with node 8 - JSDoc updated to most recent - Webpack updated a few revisions, (minor) - Other package updated when there is compatibility - Cleaned out several unused packages - Added `package-json-doc.md` to help better document package.json - transformation-matrix-js moved from npm package to externalSource - it is not longer supported as a npm package. - changed yarn install to yarn install --ignore-platform - this is because of a bug in yarn fsevents is an optional dependency and if in resolutions, npm works correctly see yarnpkg/yarn#7273 - changed a couple of files of use `?.` to make sure it works - optional chaining - to update all the url load we have to change the way we reference images in css files. we not reference them under ~images instread of /images - Small bug fixes: - Fixes Firefly-470 - Fixes Firefly-476 - Fixes Firefly-477
robyww
added a commit
to Caltech-IPAC/firefly
that referenced
this pull request
Feb 4, 2020
- removed all reference to numeral package - Allows any version of node v8 or later - Most packages updated - Packages now locked at their revisions instead of minor releases - Babel updated, to most recent, 7.8 - ESlint updated to most recent, and now better supports ES2020 - Jest update some, can go to most recent with node 8 - JSDoc updated to most recent - Webpack updated a few revisions, (minor) - Other package updated when there is compatibility - Cleaned out several unused packages - Added `package-json-doc.md` to help better document package.json - transformation-matrix-js moved from npm package to externalSource - it is not longer supported as a npm package. - changed yarn install to yarn install --ignore-platform - this is because of a bug in yarn fsevents is an optional dependency and if in resolutions, npm works correctly see yarnpkg/yarn#7273 - changed a couple of files of use `?.` to make sure it works - optional chaining - to update all the url load we have to change the way we reference images in css files. we not reference them under ~images instread of /images - respond from feedback - Small bug fixes: - Fixes Firefly-470 - Fixes Firefly-476 - Fixes Firefly-477
starrify
added a commit
to starrify/puppeteer-extra
that referenced
this pull request
Mar 9, 2020
package.json, therefore it may be processed properly when there's --ignore-optional (thanks to yarnpkg/yarn#7273). Saves GNU/Linux users from the incompatible platform issue during installation. Also regenerated yarn.lock after the change.
VincentBailly
pushed a commit
to VincentBailly/yarn
that referenced
this pull request
Jun 10, 2020
VincentBailly
pushed a commit
to VincentBailly/yarn
that referenced
this pull request
Jun 10, 2020
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #6040
Summary
Resolutions are a required for installing when there is a matching pattern in the resolutions map. When the resolver tries to dedupe dependencies and finds an optionalDependency that matches a resolution pattern, they merge into one no-longer optional request. This PR has resolutions inherit
optional
property if the dependency exists in the top level package.json.Test plan
I've added a test case under resolutions