Skip to content

Commit 9e5ea23

Browse files
authored
chore(plugin-compat): update the builtin packageExtensions (#1847)
1 parent c7c1336 commit 9e5ea23

File tree

7 files changed

+114
-30
lines changed

7 files changed

+114
-30
lines changed

.pnp.js

Lines changed: 26 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.

.yarn/versions/fdf77815.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
releases:
2+
"@yarnpkg/cli": patch
3+
"@yarnpkg/plugin-compat": patch
4+
5+
declined:
6+
- "@yarnpkg/plugin-constraints"
7+
- "@yarnpkg/plugin-dlx"
8+
- "@yarnpkg/plugin-essentials"
9+
- "@yarnpkg/plugin-init"
10+
- "@yarnpkg/plugin-interactive-tools"
11+
- "@yarnpkg/plugin-node-modules"
12+
- "@yarnpkg/plugin-npm-cli"
13+
- "@yarnpkg/plugin-pack"
14+
- "@yarnpkg/plugin-patch"
15+
- "@yarnpkg/plugin-pnp"
16+
- "@yarnpkg/plugin-stage"
17+
- "@yarnpkg/plugin-typescript"
18+
- "@yarnpkg/plugin-version"
19+
- "@yarnpkg/plugin-workspace-tools"
20+
- "@yarnpkg/builder"
21+
- "@yarnpkg/core"
22+
- "@yarnpkg/doctor"

.yarnrc.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ initScope: yarnpkg
1111
npmPublishAccess: public
1212

1313
packageExtensions:
14-
"@babel/parser@*":
15-
dependencies:
16-
"@babel/types": "*"
1714
"@emotion/babel-preset-css-prop@*":
1815
peerDependencies:
1916
"@babel/core": "*"
@@ -23,9 +20,6 @@ packageExtensions:
2320
"@webpack-cli/package-utils@*":
2421
dependencies:
2522
cross-spawn: "*"
26-
fork-ts-checker-webpack-plugin@*:
27-
peerDependencies:
28-
typescript: "*"
2923
gatsby-cli@*:
3024
peerDependencies:
3125
eslint: "*"
@@ -57,22 +51,12 @@ packageExtensions:
5751
gatsby@*:
5852
peerDependencies:
5953
"@babel/core": "*"
60-
peerDependenciesMeta:
61-
"@types/react":
62-
optional: true
6354
json-ref-lite@*:
6455
dependencies:
6556
sync-request: "*"
6657
monaco-editor-webpack-plugin@*:
6758
dependencies:
6859
webpack: ^4.5.0
69-
rc-animate@*:
70-
peerDependencies:
71-
react: "*"
72-
react-dom: "*"
73-
react-icons@*:
74-
peerDependencies:
75-
react: "*"
7660
react-instantsearch-core@*:
7761
peerDependenciesMeta:
7862
algoliasearch:

packages/plugin-compat/sources/extensions.ts

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,66 @@ export const packageExtensions: Array<[string, any]> = [
8787
[`bluebird`]: optionalPeerDep,
8888
},
8989
}],
90+
// https://github.com/casesandberg/reactcss/pull/153
91+
[`reactcss@*`, {
92+
peerDependencies: {
93+
react: `*`,
94+
},
95+
}],
96+
// https://github.com/casesandberg/react-color/pull/746
97+
[`react-color@<=2.19.0`, {
98+
peerDependencies: {
99+
react: `*`,
100+
},
101+
}],
102+
// https://github.com/angeloocana/gatsby-plugin-i18n/pull/145
103+
[`gatsby-plugin-i18n@*`, {
104+
dependencies: {
105+
ramda: `^0.24.1`,
106+
},
107+
}],
108+
// https://github.com/3rd-Eden/useragent/pull/159
109+
[`useragent@^2.0.0`, {
110+
dependencies: {
111+
request: `^2.88.0`,
112+
yamlparser: `0.0.x`,
113+
semver: `5.5.x`,
114+
},
115+
}],
116+
// https://github.com/apollographql/apollo-tooling/pull/2049
117+
[`@apollographql/apollo-tools@*`, {
118+
peerDependencies: {
119+
graphql: `^14.2.1 || ^15.0.0`,
120+
},
121+
}],
122+
// https://github.com/mbrn/material-table/pull/2374
123+
[`material-table@^2.0.0`, {
124+
dependencies: {
125+
"@babel/runtime": `^7.11.2`,
126+
},
127+
}],
128+
// https://github.com/babel/babel/pull/11118
129+
[`@babel/parser@*`, {
130+
dependencies: {
131+
"@babel/types": `^7.8.3`,
132+
},
133+
}],
134+
// https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/507
135+
[`fork-ts-checker-webpack-plugin@*`, {
136+
peerDependencies: {
137+
eslint: `>= 6`,
138+
typescript: `>= 2.7`,
139+
webpack: `>= 4`,
140+
},
141+
peerDependenciesMeta: {
142+
eslint: optionalPeerDep,
143+
},
144+
}],
145+
// https://github.com/react-component/animate/pull/89
146+
[`rc-animate@*`, {
147+
peerDependencies: {
148+
react: `^15.0.0 || ^16.0.0`,
149+
"react-dom": `^15.0.0 || ^16.0.0`,
150+
},
151+
}],
90152
];

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1643,7 +1643,7 @@ __metadata:
16431643
languageName: node
16441644
linkType: hard
16451645

1646-
"@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":
1646+
"@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":
16471647
version: 7.10.2
16481648
resolution: "@babel/types@npm:7.10.2"
16491649
dependencies:
@@ -22048,13 +22048,13 @@ fsevents@^1.2.7:
2204822048
linkType: hard
2204922049

2205022050
"react-icons@npm:^3.10.0":
22051-
version: 3.10.0
22052-
resolution: "react-icons@npm:3.10.0"
22051+
version: 3.11.0
22052+
resolution: "react-icons@npm:3.11.0"
2205322053
dependencies:
2205422054
camelcase: ^5.0.0
2205522055
peerDependencies:
2205622056
react: "*"
22057-
checksum: 848c40d1db512cd58e97507b21a4aebf81df4623495235613186127ddbb96a338e320176d6ef042bb14f619f019fcb23ae35489a7784078fc82e8a1c3c8112ba
22057+
checksum: b629e024d4002b0d951e03256b30d20f9546add9bf30ad0721fba33a4cf8811b730e44f63341d7148eaad9785dfdb02cac2efa3b263dd703e95b8e535af140e9
2205822058
languageName: node
2205922059
linkType: hard
2206022060

0 commit comments

Comments
 (0)