Skip to content

Commit 5ddfce3

Browse files
authored
chore(compat): tailwindcss related compat extensions (#2974)
1 parent 1369f6b commit 5ddfce3

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.yarn/versions/87f3c595.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"

packages/plugin-compat/sources/extensions.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,24 @@ const optionalPeerDep = {
99
};
1010

1111
export const packageExtensions: Array<[string, PackageExtensionData]> = [
12+
// https://github.com/tailwindlabs/tailwindcss-aspect-ratio/pull/14
13+
[`@tailwindcss/aspect-ratio@<0.2.1`, {
14+
peerDependencies: {
15+
[`tailwindcss`]: `^2.0.2`,
16+
},
17+
}],
18+
// https://github.com/tailwindlabs/tailwindcss-line-clamp/pull/6
19+
[`@tailwindcss/line-clamp@<0.2.1`, {
20+
peerDependencies: {
21+
[`tailwindcss`]: `^2.0.2`,
22+
},
23+
}],
24+
// https://github.com/FullHuman/purgecss/commit/24116f394dc54c913e4fd254cf2d78c03db971f2
25+
[`@fullhuman/postcss-purgecss@3.1.3 || 3.1.3-alpha.0`, {
26+
peerDependencies: {
27+
[`postcss`]: `^8.0.0`,
28+
},
29+
}],
1230
// https://github.com/SamVerschueren/stream-to-observable/pull/5
1331
[`@samverschueren/stream-to-observable@<0.3.1`, {
1432
peerDependenciesMeta: {

0 commit comments

Comments
 (0)