Skip to content

Commit 3cfb8bd

Browse files
authored
chore(compat): update extensions list (#4020)
1 parent 61f4717 commit 3cfb8bd

File tree

3 files changed

+54
-8
lines changed

3 files changed

+54
-8
lines changed

.pnp.cjs

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.yarn/versions/e56c8b3a.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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-nm"
12+
- "@yarnpkg/plugin-npm-cli"
13+
- "@yarnpkg/plugin-pack"
14+
- "@yarnpkg/plugin-patch"
15+
- "@yarnpkg/plugin-pnp"
16+
- "@yarnpkg/plugin-pnpm"
17+
- "@yarnpkg/plugin-stage"
18+
- "@yarnpkg/plugin-typescript"
19+
- "@yarnpkg/plugin-version"
20+
- "@yarnpkg/plugin-workspace-tools"
21+
- "@yarnpkg/builder"
22+
- "@yarnpkg/core"
23+
- "@yarnpkg/doctor"

packages/plugin-compat/sources/extensions.ts

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -282,13 +282,13 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
282282
},
283283
}],
284284
// https://github.com/gatsbyjs/gatsby/pull/28759
285-
[`gatsby-plugin-sharp@*`, {
285+
[`gatsby-plugin-sharp@<=4.6.0-next.3`, {
286286
dependencies: {
287287
[`debug`]: `^4.3.1`,
288288
},
289289
}],
290290
// https://github.com/gatsbyjs/gatsby/pull/28759
291-
[`gatsby-react-router-scroll@*`, {
291+
[`gatsby-react-router-scroll@<=5.6.0-next.0`, {
292292
dependencies: {
293293
[`prop-types`]: `^15.7.2`,
294294
},
@@ -529,13 +529,13 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
529529
},
530530
}],
531531
// https://github.com/npm/metavuln-calculator/pull/8
532-
[`@npmcli/metavuln-calculator@*`, {
532+
[`@npmcli/metavuln-calculator@<2.0.0`, {
533533
dependencies: {
534534
'json-parse-even-better-errors': `^2.3.1`,
535535
},
536536
}],
537537
// https://github.com/npm/bin-links/pull/17
538-
[`bin-links@*`, {
538+
[`bin-links@<2.3.0`, {
539539
dependencies: {
540540
'mkdirp-infer-owner': `^1.0.2`,
541541
},
@@ -547,7 +547,7 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
547547
},
548548
}],
549549
// https://github.com/snowpackjs/snowpack/pull/3673
550-
[`snowpack@*`, {
550+
[`snowpack@<3.8.6`, {
551551
dependencies: {
552552
'magic-string': `^0.25.7`,
553553
},
@@ -726,7 +726,7 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
726726
},
727727
}],
728728
// https://github.com/GoogleChromeLabs/critters/pull/91
729-
[`critters-webpack-plugin@*`, {
729+
[`critters-webpack-plugin@<3.0.2`, {
730730
peerDependenciesMeta: {
731731
'html-webpack-plugin': optionalPeerDep,
732732
},
@@ -743,4 +743,23 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
743743
'@babel/plugin-proposal-private-property-in-object': `^7.16.0`,
744744
},
745745
}],
746+
// https://github.com/facebook/create-react-app/pull/11751
747+
[`eslint-config-react-app@*`, {
748+
peerDependenciesMeta: {
749+
typescript: optionalPeerDep,
750+
},
751+
}],
752+
// https://github.com/vuejs/eslint-config-typescript/pull/39
753+
[`@vue/eslint-config-typescript@*`, {
754+
peerDependenciesMeta: {
755+
typescript: optionalPeerDep,
756+
},
757+
}],
758+
// https://github.com/antfu/unplugin-vue2-script-setup/pull/100
759+
[`unplugin-vue2-script-setup@<0.9.1`, {
760+
peerDependencies: {
761+
'@vue/composition-api': `^1.4.3`,
762+
'@vue/runtime-dom': `^3.2.26`,
763+
},
764+
}],
746765
];

0 commit comments

Comments
 (0)