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(plugin-compat): update the builtin packageExtensions #1847

Merged
merged 1 commit into from
Sep 20, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 26 additions & 10 deletions .pnp.js

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

Binary file not shown.
Binary file not shown.
22 changes: 22 additions & 0 deletions .yarn/versions/fdf77815.yml
Original file line number Diff line number Diff line change
@@ -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"
16 changes: 0 additions & 16 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ initScope: yarnpkg
npmPublishAccess: public

packageExtensions:
"@babel/parser@*":
dependencies:
"@babel/types": "*"
"@emotion/babel-preset-css-prop@*":
peerDependencies:
"@babel/core": "*"
Expand All @@ -23,9 +20,6 @@ packageExtensions:
"@webpack-cli/package-utils@*":
dependencies:
cross-spawn: "*"
fork-ts-checker-webpack-plugin@*:
peerDependencies:
typescript: "*"
gatsby-cli@*:
peerDependencies:
eslint: "*"
Expand Down Expand Up @@ -57,22 +51,12 @@ packageExtensions:
gatsby@*:
peerDependencies:
"@babel/core": "*"
peerDependenciesMeta:
"@types/react":
optional: true
json-ref-lite@*:
dependencies:
sync-request: "*"
monaco-editor-webpack-plugin@*:
dependencies:
webpack: ^4.5.0
rc-animate@*:
peerDependencies:
react: "*"
react-dom: "*"
react-icons@*:
merceyz marked this conversation as resolved.
Show resolved Hide resolved
peerDependencies:
react: "*"
react-instantsearch-core@*:
peerDependenciesMeta:
algoliasearch:
Expand Down
62 changes: 62 additions & 0 deletions packages/plugin-compat/sources/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,66 @@ export const packageExtensions: Array<[string, any]> = [
[`bluebird`]: optionalPeerDep,
},
}],
// https://github.com/casesandberg/reactcss/pull/153
[`reactcss@*`, {
peerDependencies: {
react: `*`,
},
}],
// https://github.com/casesandberg/react-color/pull/746
[`react-color@<=2.19.0`, {
peerDependencies: {
react: `*`,
},
}],
// https://github.com/angeloocana/gatsby-plugin-i18n/pull/145
[`gatsby-plugin-i18n@*`, {
dependencies: {
ramda: `^0.24.1`,
},
}],
// https://github.com/3rd-Eden/useragent/pull/159
[`useragent@^2.0.0`, {
dependencies: {
request: `^2.88.0`,
yamlparser: `0.0.x`,
semver: `5.5.x`,
},
}],
// https://github.com/apollographql/apollo-tooling/pull/2049
[`@apollographql/apollo-tools@*`, {
peerDependencies: {
graphql: `^14.2.1 || ^15.0.0`,
},
}],
// https://github.com/mbrn/material-table/pull/2374
[`material-table@^2.0.0`, {
dependencies: {
"@babel/runtime": `^7.11.2`,
},
}],
// https://github.com/babel/babel/pull/11118
[`@babel/parser@*`, {
dependencies: {
"@babel/types": `^7.8.3`,
},
}],
// https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/507
[`fork-ts-checker-webpack-plugin@*`, {
peerDependencies: {
eslint: `>= 6`,
typescript: `>= 2.7`,
webpack: `>= 4`,
},
peerDependenciesMeta: {
eslint: optionalPeerDep,
},
}],
// https://github.com/react-component/animate/pull/89
[`rc-animate@*`, {
peerDependencies: {
react: `^15.0.0 || ^16.0.0`,
"react-dom": `^15.0.0 || ^16.0.0`,
},
}],
];
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1643,7 +1643,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/types@npm:*, @babel/types@npm:7.10.2, @babel/types@npm:^7.0.0, @babel/types@npm:^7.10.1, @babel/types@npm:^7.10.2, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.7.0, @babel/types@npm:^7.9.6":
"@babel/types@npm:7.10.2, @babel/types@npm:^7.0.0, @babel/types@npm:^7.10.1, @babel/types@npm:^7.10.2, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.7.0, @babel/types@npm:^7.8.3, @babel/types@npm:^7.9.6":
version: 7.10.2
resolution: "@babel/types@npm:7.10.2"
dependencies:
Expand Down Expand Up @@ -22048,13 +22048,13 @@ fsevents@^1.2.7:
linkType: hard

"react-icons@npm:^3.10.0":
version: 3.10.0
resolution: "react-icons@npm:3.10.0"
version: 3.11.0
resolution: "react-icons@npm:3.11.0"
dependencies:
camelcase: ^5.0.0
peerDependencies:
react: "*"
checksum: 848c40d1db512cd58e97507b21a4aebf81df4623495235613186127ddbb96a338e320176d6ef042bb14f619f019fcb23ae35489a7784078fc82e8a1c3c8112ba
checksum: b629e024d4002b0d951e03256b30d20f9546add9bf30ad0721fba33a4cf8811b730e44f63341d7148eaad9785dfdb02cac2efa3b263dd703e95b8e535af140e9
languageName: node
linkType: hard

Expand Down