Skip to content

Commit 88ac62a

Browse files
authored
chore(compat): update extensions list (#2515)
* chore: gatsby-source-apiserver * chore: lock rc-animate * chore: @webpack-cli/package-utils * chore: gatsby-remark-prismjs * chore: gatsby-plugin-favicon * chore: gatsby-plugin-sharp * chore: gatsby-react-router-scroll * chore: @rebass/forms * chore: rebass * chore: lock react-scripts * chore: versions
1 parent 812bc86 commit 88ac62a

File tree

7 files changed

+144
-37
lines changed

7 files changed

+144
-37
lines changed

.pnp.cjs

Lines changed: 31 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
15 KB
Binary file not shown.
3.56 KB
Binary file not shown.

.yarn/versions/8983d5b0.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 & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,34 +11,19 @@ initScope: yarnpkg
1111
npmPublishAccess: public
1212

1313
packageExtensions:
14-
"@webpack-cli/package-utils@*":
15-
dependencies:
16-
cross-spawn: "*"
1714
gatsby-cli@*:
1815
peerDependencies:
1916
eslint: "*"
2017
gatsby: "*"
2118
react: "*"
2219
webpack: "*"
23-
gatsby-plugin-favicon@*:
24-
peerDependencies:
25-
webpack: "*"
26-
gatsby-plugin-sharp@*:
27-
dependencies:
28-
debug: "*"
29-
gatsby-react-router-scroll@*:
30-
dependencies:
31-
prop-types: "*"
3220
gatsby-recipes@*:
3321
peerDependencies:
3422
eslint: "*"
3523
gatsby: "*"
3624
ink: "*"
3725
react: "*"
3826
webpack: "*"
39-
gatsby-remark-prismjs@*:
40-
dependencies:
41-
lodash: "*"
4227
gatsby@*:
4328
peerDependencies:
4429
"@babel/core": "*"

packages/plugin-compat/sources/extensions.ts

Lines changed: 58 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,16 +139,18 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
139139
eslint: `>= 6`,
140140
typescript: `>= 2.7`,
141141
webpack: `>= 4`,
142+
'vue-template-compiler': `*`,
142143
},
143144
peerDependenciesMeta: {
144145
eslint: optionalPeerDep,
146+
'vue-template-compiler': optionalPeerDep,
145147
},
146148
}],
147-
// https://github.com/react-component/animate/pull/89
148-
[`rc-animate@*`, {
149+
// https://github.com/react-component/animate/pull/116
150+
[`rc-animate@<=3.1.1`, {
149151
peerDependencies: {
150-
react: `^15.0.0 || ^16.0.0`,
151-
"react-dom": `^15.0.0 || ^16.0.0`,
152+
react: `>=16.9.0`,
153+
'react-dom': `>=16.9.0`,
152154
},
153155
}],
154156
// https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/1491
@@ -200,7 +202,7 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
200202
},
201203
}],
202204
// https://github.com/facebook/create-react-app/pull/9872
203-
[`create-react-app@*`, {
205+
[`react-scripts@<=4.0.1`, {
204206
peerDependencies: {
205207
[`react`]: `*`,
206208
},
@@ -225,4 +227,55 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
225227
protobufjs: `^6.8.6`,
226228
},
227229
}],
230+
// https://github.com/thinhle-agilityio/gatsby-source-apiserver/pull/58
231+
[`gatsby-source-apiserver@*`, {
232+
dependencies: {
233+
[`babel-polyfill`]: `^6.26.0`,
234+
},
235+
}],
236+
// https://github.com/webpack/webpack-cli/pull/2097
237+
[`@webpack-cli/package-utils@<=1.0.1-alpha.2`, {
238+
dependencies: {
239+
[`cross-spawn`]: `^7.0.3`,
240+
},
241+
}],
242+
// https://github.com/gatsbyjs/gatsby/pull/20156
243+
[`gatsby-remark-prismjs@<3.3.28`, {
244+
dependencies: {
245+
[`lodash`]: `^4`,
246+
},
247+
}],
248+
// https://github.com/Creatiwity/gatsby-plugin-favicon/pull/65
249+
[`gatsby-plugin-favicon@*`, {
250+
peerDependencies: {
251+
[`webpack`]: `*`,
252+
},
253+
}],
254+
// https://github.com/gatsbyjs/gatsby/pull/28759
255+
[`gatsby-plugin-sharp@*`, {
256+
dependencies: {
257+
[`debug`]: `^4.3.1`,
258+
},
259+
}],
260+
// https://github.com/gatsbyjs/gatsby/pull/28759
261+
[`gatsby-react-router-scroll@*`, {
262+
dependencies: {
263+
[`prop-types`]: `^15.7.2`,
264+
},
265+
}],
266+
// https://github.com/rebassjs/rebass/pull/934
267+
[`@rebass/forms@*`, {
268+
dependencies: {
269+
[`@styled-system/should-forward-prop`]: `^5.0.0`,
270+
},
271+
peerDependencies: {
272+
react: `^16.8.6`,
273+
},
274+
}],
275+
// https://github.com/rebassjs/rebass/pull/934
276+
[`rebass@*`, {
277+
peerDependencies: {
278+
react: `^16.8.6`,
279+
},
280+
}],
228281
];

yarn.lock

Lines changed: 33 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9621,17 +9621,6 @@ __metadata:
96219621
languageName: node
96229622
linkType: hard
96239623

9624-
"cross-spawn@npm:*, cross-spawn@npm:7.0.3, cross-spawn@npm:^7.0.0":
9625-
version: 7.0.3
9626-
resolution: "cross-spawn@npm:7.0.3"
9627-
dependencies:
9628-
path-key: ^3.1.0
9629-
shebang-command: ^2.0.0
9630-
which: ^2.0.1
9631-
checksum: 51f10036f5f1de781be98f4738d58b50c6d44f4f471069b8ab075b21605893ba1548654880f7310a29a732d6fc7cd481da6026169b9f0831cab0148a62fb397a
9632-
languageName: node
9633-
linkType: hard
9634-
96359624
"cross-spawn@npm:5.1.0, cross-spawn@npm:^5.0.1":
96369625
version: 5.1.0
96379626
resolution: "cross-spawn@npm:5.1.0"
@@ -9643,6 +9632,17 @@ __metadata:
96439632
languageName: node
96449633
linkType: hard
96459634

9635+
"cross-spawn@npm:7.0.3, cross-spawn@npm:^7.0.0":
9636+
version: 7.0.3
9637+
resolution: "cross-spawn@npm:7.0.3"
9638+
dependencies:
9639+
path-key: ^3.1.0
9640+
shebang-command: ^2.0.0
9641+
which: ^2.0.1
9642+
checksum: 51f10036f5f1de781be98f4738d58b50c6d44f4f471069b8ab075b21605893ba1548654880f7310a29a732d6fc7cd481da6026169b9f0831cab0148a62fb397a
9643+
languageName: node
9644+
linkType: hard
9645+
96469646
"cross-spawn@npm:^6.0.0, cross-spawn@npm:^6.0.5":
96479647
version: 6.0.5
96489648
resolution: "cross-spawn@npm:6.0.5"
@@ -10085,7 +10085,7 @@ __metadata:
1008510085
languageName: node
1008610086
linkType: hard
1008710087

10088-
"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":
10088+
"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":
1008910089
version: 2.6.9
1009010090
resolution: "debug@npm:2.6.9"
1009110091
dependencies:
@@ -10121,6 +10121,18 @@ __metadata:
1012110121
languageName: node
1012210122
linkType: hard
1012310123

10124+
"debug@npm:^4.3.1":
10125+
version: 4.3.2
10126+
resolution: "debug@npm:4.3.2"
10127+
dependencies:
10128+
ms: 2.1.2
10129+
peerDependenciesMeta:
10130+
supports-color:
10131+
optional: true
10132+
checksum: 5543570879e2274f6725d4285a034d6e0822d35faefc6f55965933fb440e8c21eb3a0bef934e66f4b6b491f898ee2de37cab980e9d4fd61372136c19d3ce4527
10133+
languageName: node
10134+
linkType: hard
10135+
1012410136
"decamelize@npm:^1.1.1, decamelize@npm:^1.1.2, decamelize@npm:^1.2.0":
1012510137
version: 1.2.0
1012610138
resolution: "decamelize@npm:1.2.0"
@@ -17991,7 +18003,7 @@ fsevents@^1.2.7:
1799118003
languageName: node
1799218004
linkType: hard
1799318005

17994-
"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":
18006+
"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":
1799518007
version: 4.17.15
1799618008
resolution: "lodash@npm:4.17.15"
1799718009
checksum: aec3fbb7570aa67bda500b8299b1b1821d60646bede87f76a74dfcc7666ab3445267d734ec71424d70809d52ad67a1356fab5ab694a3faa1908d68e9d48f00f5
@@ -19034,6 +19046,13 @@ fsevents@^1.2.7:
1903419046
languageName: node
1903519047
linkType: hard
1903619048

19049+
"ms@npm:2.1.2":
19050+
version: 2.1.2
19051+
resolution: "ms@npm:2.1.2"
19052+
checksum: 9b65fb709bc30c0c07289dcbdb61ca032acbb9ea5698b55fa62e2cebb04c5953f1876a1f3f7f4bc2e91d4bf4d86003f3e207c3bc6ee2f716f99827e62389cd0e
19053+
languageName: node
19054+
linkType: hard
19055+
1903719056
"multicast-dns-service-types@npm:^1.1.0":
1903819057
version: 1.1.0
1903919058
resolution: "multicast-dns-service-types@npm:1.1.0"
@@ -21663,7 +21682,7 @@ fsevents@^1.2.7:
2166321682
languageName: node
2166421683
linkType: hard
2166521684

21666-
"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":
21685+
"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":
2166721686
version: 15.7.2
2166821687
resolution: "prop-types@npm:15.7.2"
2166921688
dependencies:

0 commit comments

Comments
 (0)