Skip to content

Commit

Permalink
chore(compat): update extensions list (#4020)
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz authored Jan 26, 2022
1 parent 61f4717 commit 3cfb8bd
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 8 deletions.
8 changes: 6 additions & 2 deletions .pnp.cjs

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

23 changes: 23 additions & 0 deletions .yarn/versions/e56c8b3a.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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-nm"
- "@yarnpkg/plugin-npm-cli"
- "@yarnpkg/plugin-pack"
- "@yarnpkg/plugin-patch"
- "@yarnpkg/plugin-pnp"
- "@yarnpkg/plugin-pnpm"
- "@yarnpkg/plugin-stage"
- "@yarnpkg/plugin-typescript"
- "@yarnpkg/plugin-version"
- "@yarnpkg/plugin-workspace-tools"
- "@yarnpkg/builder"
- "@yarnpkg/core"
- "@yarnpkg/doctor"
31 changes: 25 additions & 6 deletions packages/plugin-compat/sources/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,13 +282,13 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
},
}],
// https://github.com/gatsbyjs/gatsby/pull/28759
[`gatsby-plugin-sharp@*`, {
[`gatsby-plugin-sharp@<=4.6.0-next.3`, {
dependencies: {
[`debug`]: `^4.3.1`,
},
}],
// https://github.com/gatsbyjs/gatsby/pull/28759
[`gatsby-react-router-scroll@*`, {
[`gatsby-react-router-scroll@<=5.6.0-next.0`, {
dependencies: {
[`prop-types`]: `^15.7.2`,
},
Expand Down Expand Up @@ -529,13 +529,13 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
},
}],
// https://github.com/npm/metavuln-calculator/pull/8
[`@npmcli/metavuln-calculator@*`, {
[`@npmcli/metavuln-calculator@<2.0.0`, {
dependencies: {
'json-parse-even-better-errors': `^2.3.1`,
},
}],
// https://github.com/npm/bin-links/pull/17
[`bin-links@*`, {
[`bin-links@<2.3.0`, {
dependencies: {
'mkdirp-infer-owner': `^1.0.2`,
},
Expand All @@ -547,7 +547,7 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
},
}],
// https://github.com/snowpackjs/snowpack/pull/3673
[`snowpack@*`, {
[`snowpack@<3.8.6`, {
dependencies: {
'magic-string': `^0.25.7`,
},
Expand Down Expand Up @@ -726,7 +726,7 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
},
}],
// https://github.com/GoogleChromeLabs/critters/pull/91
[`critters-webpack-plugin@*`, {
[`critters-webpack-plugin@<3.0.2`, {
peerDependenciesMeta: {
'html-webpack-plugin': optionalPeerDep,
},
Expand All @@ -743,4 +743,23 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
'@babel/plugin-proposal-private-property-in-object': `^7.16.0`,
},
}],
// https://github.com/facebook/create-react-app/pull/11751
[`eslint-config-react-app@*`, {
peerDependenciesMeta: {
typescript: optionalPeerDep,
},
}],
// https://github.com/vuejs/eslint-config-typescript/pull/39
[`@vue/eslint-config-typescript@*`, {
peerDependenciesMeta: {
typescript: optionalPeerDep,
},
}],
// https://github.com/antfu/unplugin-vue2-script-setup/pull/100
[`unplugin-vue2-script-setup@<0.9.1`, {
peerDependencies: {
'@vue/composition-api': `^1.4.3`,
'@vue/runtime-dom': `^3.2.26`,
},
}],
];

0 comments on commit 3cfb8bd

Please sign in to comment.