Skip to content

Commit 45d978e

Browse files
Add stylelint-polaris version matchup docs (#8967)
### WHY are these changes introduced? To help consumers keep their `stylelint-polaris` and `polaris-react` versions correctly in sync we should provide a table that documents which versions work together. ### WHAT is this pull request doing? Creates a version matchup table as part of our `stylelint-polaris` documentation on polaris.shopify.com: <img width="1736" alt="Screenshot 2023-04-13 at 4 26 02 PM" src="https://user-images.githubusercontent.com/21976492/231896884-60560073-1ac8-4c80-a781-09d1147d873f.png"> --------- Co-authored-by: Aaron Casanova <[email protected]>
1 parent dbe68ef commit 45d978e

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.changeset/old-suns-burn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'polaris.shopify.com': minor
3+
---
4+
5+
Added a version matchup table to `stylelint-polaris` documentation

polaris.shopify.com/content/tools/stylelint-polaris/index.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ keywords:
2121
[<img src="https://img.shields.io/npm/v/@shopify/stylelint-polaris.svg?labelColor=f9f9f9&color=dcf5f0" alt="npm version" style="width: 95px" />](https://www.npmjs.com/package/@shopify/stylelint-polaris/)
2222

2323
<picture>
24-
<source srcset="/images/tools/stylelint-polaris/stylelint-demo.png" media="(prefers-reduced-motion: reduce)"></source>
24+
<source srcset="/images/tools/stylelint-polaris/stylelint-demo.png" media="(prefers-reduced-motion: reduce)"></source>
2525
<img srcset="/images/tools/stylelint-polaris/stylelint-demo.gif" alt="Demo of Stylelint Polaris">
2626
</picture>
2727

@@ -94,6 +94,23 @@ There are over 40 rules configured in Stylelint Polaris to help you avoid errors
9494
- [Typography](/tools/stylelint-polaris/rules#typography)
9595
- [Z-index](/tools/stylelint-polaris/rules#z-index)
9696

97+
## Version Matchups
98+
99+
| @shopify/stylelint-polaris | @shopify/polaris |
100+
| -------------------------- | ---------------- |
101+
| 1.0.0 | 9.13.0 |
102+
| 2.0.0 | 9.16.0 |
103+
| 3.0.0 | 9.19.0 |
104+
| 4.0.0 | 9.20.0 |
105+
| 5.0.0 | 10.14.0 |
106+
| 6.0.0 | 10.28.1 |
107+
| 7.0.0 | 10.31.0 |
108+
| 8.0.0 | 10.32.0 |
109+
| 9.0.0 | 10.36.0 |
110+
| 10.0.0 | 10.44.0 |
111+
112+
_\*@shopify/stylelint-polaris v5.0.0 was the first stable release_
113+
97114
## Development
98115

99116
### Add new rules

0 commit comments

Comments
 (0)