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 #2515

Merged
merged 11 commits into from
Feb 26, 2021
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
34 changes: 31 additions & 3 deletions .pnp.cjs

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/8983d5b0.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"
15 changes: 0 additions & 15 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,19 @@ initScope: yarnpkg
npmPublishAccess: public

packageExtensions:
"@webpack-cli/package-utils@*":
dependencies:
cross-spawn: "*"
gatsby-cli@*:
peerDependencies:
eslint: "*"
gatsby: "*"
react: "*"
webpack: "*"
gatsby-plugin-favicon@*:
peerDependencies:
webpack: "*"
gatsby-plugin-sharp@*:
dependencies:
debug: "*"
gatsby-react-router-scroll@*:
dependencies:
prop-types: "*"
gatsby-recipes@*:
peerDependencies:
eslint: "*"
gatsby: "*"
ink: "*"
react: "*"
webpack: "*"
gatsby-remark-prismjs@*:
dependencies:
lodash: "*"
gatsby@*:
peerDependencies:
"@babel/core": "*"
Expand Down
63 changes: 58 additions & 5 deletions packages/plugin-compat/sources/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,16 +139,18 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
eslint: `>= 6`,
typescript: `>= 2.7`,
webpack: `>= 4`,
'vue-template-compiler': `*`,
},
peerDependenciesMeta: {
eslint: optionalPeerDep,
'vue-template-compiler': optionalPeerDep,
},
}],
// https://github.com/react-component/animate/pull/89
[`rc-animate@*`, {
// https://github.com/react-component/animate/pull/116
[`rc-animate@<=3.1.1`, {
peerDependencies: {
react: `^15.0.0 || ^16.0.0`,
"react-dom": `^15.0.0 || ^16.0.0`,
react: `>=16.9.0`,
'react-dom': `>=16.9.0`,
},
}],
// https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/1491
Expand Down Expand Up @@ -200,7 +202,7 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
},
}],
// https://github.com/facebook/create-react-app/pull/9872
[`create-react-app@*`, {
[`react-scripts@<=4.0.1`, {
peerDependencies: {
[`react`]: `*`,
},
Expand All @@ -225,4 +227,55 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
protobufjs: `^6.8.6`,
},
}],
// https://github.com/thinhle-agilityio/gatsby-source-apiserver/pull/58
[`gatsby-source-apiserver@*`, {
dependencies: {
[`babel-polyfill`]: `^6.26.0`,
},
}],
// https://github.com/webpack/webpack-cli/pull/2097
[`@webpack-cli/package-utils@<=1.0.1-alpha.2`, {
dependencies: {
[`cross-spawn`]: `^7.0.3`,
},
}],
// https://github.com/gatsbyjs/gatsby/pull/20156
[`gatsby-remark-prismjs@<3.3.28`, {
dependencies: {
[`lodash`]: `^4`,
},
}],
// https://github.com/Creatiwity/gatsby-plugin-favicon/pull/65
[`gatsby-plugin-favicon@*`, {
peerDependencies: {
[`webpack`]: `*`,
},
}],
// https://github.com/gatsbyjs/gatsby/pull/28759
[`gatsby-plugin-sharp@*`, {
dependencies: {
[`debug`]: `^4.3.1`,
},
}],
// https://github.com/gatsbyjs/gatsby/pull/28759
[`gatsby-react-router-scroll@*`, {
dependencies: {
[`prop-types`]: `^15.7.2`,
},
}],
// https://github.com/rebassjs/rebass/pull/934
[`@rebass/forms@*`, {
dependencies: {
[`@styled-system/should-forward-prop`]: `^5.0.0`,
},
peerDependencies: {
react: `^16.8.6`,
},
}],
// https://github.com/rebassjs/rebass/pull/934
[`rebass@*`, {
peerDependencies: {
react: `^16.8.6`,
},
}],
];
47 changes: 33 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9621,17 +9621,6 @@ __metadata:
languageName: node
linkType: hard

"cross-spawn@npm:*, cross-spawn@npm:7.0.3, cross-spawn@npm:^7.0.0":
version: 7.0.3
resolution: "cross-spawn@npm:7.0.3"
dependencies:
path-key: ^3.1.0
shebang-command: ^2.0.0
which: ^2.0.1
checksum: 51f10036f5f1de781be98f4738d58b50c6d44f4f471069b8ab075b21605893ba1548654880f7310a29a732d6fc7cd481da6026169b9f0831cab0148a62fb397a
languageName: node
linkType: hard

"cross-spawn@npm:5.1.0, cross-spawn@npm:^5.0.1":
version: 5.1.0
resolution: "cross-spawn@npm:5.1.0"
Expand All @@ -9643,6 +9632,17 @@ __metadata:
languageName: node
linkType: hard

"cross-spawn@npm:7.0.3, cross-spawn@npm:^7.0.0":
version: 7.0.3
resolution: "cross-spawn@npm:7.0.3"
dependencies:
path-key: ^3.1.0
shebang-command: ^2.0.0
which: ^2.0.1
checksum: 51f10036f5f1de781be98f4738d58b50c6d44f4f471069b8ab075b21605893ba1548654880f7310a29a732d6fc7cd481da6026169b9f0831cab0148a62fb397a
languageName: node
linkType: hard

"cross-spawn@npm:^6.0.0, cross-spawn@npm:^6.0.5":
version: 6.0.5
resolution: "cross-spawn@npm:6.0.5"
Expand Down Expand Up @@ -10085,7 +10085,7 @@ __metadata:
languageName: node
linkType: hard

"debug@npm:*, debug@npm:2, debug@npm:2.6.9, debug@npm:^2.1.2, debug@npm:^2.2.0, debug@npm:^2.3.3, debug@npm:^2.6.0, debug@npm:^2.6.6, debug@npm:^2.6.9":
"debug@npm:2, debug@npm:2.6.9, debug@npm:^2.1.2, debug@npm:^2.2.0, debug@npm:^2.3.3, debug@npm:^2.6.0, debug@npm:^2.6.6, debug@npm:^2.6.9":
version: 2.6.9
resolution: "debug@npm:2.6.9"
dependencies:
Expand Down Expand Up @@ -10121,6 +10121,18 @@ __metadata:
languageName: node
linkType: hard

"debug@npm:^4.3.1":
version: 4.3.2
resolution: "debug@npm:4.3.2"
dependencies:
ms: 2.1.2
peerDependenciesMeta:
supports-color:
optional: true
checksum: 5543570879e2274f6725d4285a034d6e0822d35faefc6f55965933fb440e8c21eb3a0bef934e66f4b6b491f898ee2de37cab980e9d4fd61372136c19d3ce4527
languageName: node
linkType: hard

"decamelize@npm:^1.1.1, decamelize@npm:^1.1.2, decamelize@npm:^1.2.0":
version: 1.2.0
resolution: "decamelize@npm:1.2.0"
Expand Down Expand Up @@ -17991,7 +18003,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"lodash@npm:*, lodash@npm:4.17.15, lodash@npm:^4.11.1, lodash@npm:^4.15.0, lodash@npm:^4.17.10, lodash@npm:^4.17.11, lodash@npm:^4.17.13, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.4, lodash@npm:^4.17.5, lodash@npm:^4.3.0":
"lodash@npm:4.17.15, lodash@npm:^4.11.1, lodash@npm:^4.15.0, lodash@npm:^4.17.10, lodash@npm:^4.17.11, lodash@npm:^4.17.13, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.4, lodash@npm:^4.17.5, lodash@npm:^4.3.0":
version: 4.17.15
resolution: "lodash@npm:4.17.15"
checksum: aec3fbb7570aa67bda500b8299b1b1821d60646bede87f76a74dfcc7666ab3445267d734ec71424d70809d52ad67a1356fab5ab694a3faa1908d68e9d48f00f5
Expand Down Expand Up @@ -19034,6 +19046,13 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"ms@npm:2.1.2":
version: 2.1.2
resolution: "ms@npm:2.1.2"
checksum: 9b65fb709bc30c0c07289dcbdb61ca032acbb9ea5698b55fa62e2cebb04c5953f1876a1f3f7f4bc2e91d4bf4d86003f3e207c3bc6ee2f716f99827e62389cd0e
languageName: node
linkType: hard

"multicast-dns-service-types@npm:^1.1.0":
version: 1.1.0
resolution: "multicast-dns-service-types@npm:1.1.0"
Expand Down Expand Up @@ -21663,7 +21682,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"prop-types@npm:*, prop-types@npm:15.x, prop-types@npm:^15.5.10, prop-types@npm:^15.5.6, prop-types@npm:^15.5.8, prop-types@npm:^15.6.0, prop-types@npm:^15.6.1, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2":
"prop-types@npm:15.x, prop-types@npm:^15.5.10, prop-types@npm:^15.5.6, prop-types@npm:^15.5.8, prop-types@npm:^15.6.0, prop-types@npm:^15.6.1, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2":
version: 15.7.2
resolution: "prop-types@npm:15.7.2"
dependencies:
Expand Down