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(compat): update extensions list #2171

Merged
merged 6 commits into from Nov 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
70 changes: 51 additions & 19 deletions .pnp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions .yarn/versions/24923973.yml
@@ -0,0 +1,22 @@
releases:
"@yarnpkg/cli": patch
"@yarnpkg/plugin-compat": patch

declined:
- "@yarnpkg/plugin-constraints"
- "@yarnpkg/plugin-dlx"
- "@yarnpkg/plugin-essentials"
- "@yarnpkg/plugin-init"
- "@yarnpkg/plugin-interactive-tools"
- "@yarnpkg/plugin-node-modules"
- "@yarnpkg/plugin-npm-cli"
- "@yarnpkg/plugin-pack"
- "@yarnpkg/plugin-patch"
- "@yarnpkg/plugin-pnp"
- "@yarnpkg/plugin-stage"
- "@yarnpkg/plugin-typescript"
- "@yarnpkg/plugin-version"
- "@yarnpkg/plugin-workspace-tools"
- "@yarnpkg/builder"
- "@yarnpkg/core"
- "@yarnpkg/doctor"
7 changes: 0 additions & 7 deletions .yarnrc.yml
Expand Up @@ -45,13 +45,6 @@ packageExtensions:
monaco-editor-webpack-plugin@*:
dependencies:
webpack: ^4.5.0
react-instantsearch-core@*:
peerDependenciesMeta:
algoliasearch:
optional: true
react-instantsearch-dom@*:
dependencies:
react-fast-compare: "*"
typedoc@*:
peerDependenciesMeta:
"@strictsoftware/typedoc-plugin-monorepo":
Expand Down
35 changes: 32 additions & 3 deletions packages/plugin-compat/sources/extensions.ts
Expand Up @@ -10,7 +10,7 @@ const optionalPeerDep = {

export const packageExtensions: Array<[string, PackageExtensionData]> = [
// https://github.com/SamVerschueren/stream-to-observable/pull/5
[`@samverschueren/stream-to-observable@*`, {
[`@samverschueren/stream-to-observable@<0.3.1`, {
peerDependenciesMeta: {
[`rxjs`]: optionalPeerDep,
[`zenObservable`]: optionalPeerDep,
Expand All @@ -30,7 +30,7 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
},
}],
// https://github.com/visionmedia/debug/pull/727
[`debug@*`, {
[`debug@<4.2.0`, {
peerDependenciesMeta: {
[`supports-color`]: optionalPeerDep,
},
Expand Down Expand Up @@ -78,7 +78,7 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
},
}],
// https://github.com/vadimdemedes/ink-select-input/pull/26
[`ink-select-input@*`, {
[`ink-select-input@<4.1.0`, {
peerDependencies: {
react: `^16.8.2`,
},
Expand Down Expand Up @@ -170,4 +170,33 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
graphql: `14 - 15`,
},
}],
// https://github.com/algolia/react-instantsearch/pull/2975
[`react-instantsearch-core@<=6.7.0`, {
peerDependencies: {
algoliasearch: `>= 3.1 < 5`,
},
}],
// https://github.com/algolia/react-instantsearch/pull/2975
[`react-instantsearch-dom@<=6.7.0`, {
dependencies: {
'react-fast-compare': `^3.0.0`,
},
}],
// https://github.com/websockets/ws/pull/1626
[`ws@<7.2.1`, {
peerDependencies: {
bufferutil: `^4.0.1`,
'utf-8-validate': `^5.0.2`,
},
peerDependenciesMeta: {
bufferutil: optionalPeerDep,
'utf-8-validate': optionalPeerDep,
},
}],
// https://github.com/tajo/react-portal/pull/233
[`react-portal@*`, {
peerDependencies: {
'react-dom': `^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0`,
},
}],
];
14 changes: 7 additions & 7 deletions yarn.lock
Expand Up @@ -22158,20 +22158,20 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"react-fast-compare@npm:*, react-fast-compare@npm:^3.0.0, react-fast-compare@npm:^3.1.1":
version: 3.2.0
resolution: "react-fast-compare@npm:3.2.0"
checksum: 6fe65c889eb4f326e97769135f97b3d63ac68737866f9c37f9625c9de4f5eaa9abed6f748eb3fd6a66808392118842916309cab7cfa99c67991f0c837433d6d2
languageName: node
linkType: hard

"react-fast-compare@npm:^2.0.1":
version: 2.0.4
resolution: "react-fast-compare@npm:2.0.4"
checksum: 4e4bfc3597414a36ee35977259012fff30c4f13a0e5dcabf958e91991bef8e9a3faee9dd666cfbdb0c2a0f0ddaf242ac2912054caa956a793c4cdff274dc5aec
languageName: node
linkType: hard

"react-fast-compare@npm:^3.0.0, react-fast-compare@npm:^3.1.1":
version: 3.2.0
resolution: "react-fast-compare@npm:3.2.0"
checksum: 6fe65c889eb4f326e97769135f97b3d63ac68737866f9c37f9625c9de4f5eaa9abed6f748eb3fd6a66808392118842916309cab7cfa99c67991f0c837433d6d2
languageName: node
linkType: hard

"react-focus-lock@npm:^2.3.1":
version: 2.3.1
resolution: "react-focus-lock@npm:2.3.1"
Expand Down