Skip to content

Commit

Permalink
feat(plugin-compat): add missing jss-plugin-rule-value-function depen…
Browse files Browse the repository at this point in the history
…dency to extensions (#1424)

* Add jss-plugin-rule-value-function to extensions

See cssinjs/jss#1315.

* Versions

Co-authored-by: Maël Nison <nison.mael@gmail.com>
  • Loading branch information
TimothyGu and arcanis committed Jun 1, 2020
1 parent 6dda734 commit beeed87
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .yarn/versions/85e06261.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
releases:
"@yarnpkg/cli": prerelease
"@yarnpkg/plugin-compat": prerelease

declined:
- "@yarnpkg/plugin-constraints"
- "@yarnpkg/plugin-dlx"
- "@yarnpkg/plugin-essentials"
- "@yarnpkg/plugin-init"
- "@yarnpkg/plugin-interactive-tools"
- "@yarnpkg/plugin-node-modules"
- "@yarnpkg/plugin-npm-cli"
- "@yarnpkg/plugin-pack"
- "@yarnpkg/plugin-patch"
- "@yarnpkg/plugin-pnp"
- "@yarnpkg/plugin-stage"
- "@yarnpkg/plugin-typescript"
- "@yarnpkg/plugin-version"
- "@yarnpkg/plugin-workspace-tools"
- "@yarnpkg/builder"
- "@yarnpkg/core"
- "@yarnpkg/doctor"
6 changes: 6 additions & 0 deletions packages/plugin-compat/sources/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,10 @@ export const packageExtensions: Array<[string, any]> = [
[`postcss-scss`]: optionalPeerDep,
},
}],
// https://github.com/cssinjs/jss/pull/1315
[`jss-plugin-rule-value-function@<=10.1.1`, {
dependencies: {
[`tiny-warning`]: `^1.0.2`,
},
}],
];

0 comments on commit beeed87

Please sign in to comment.