csstools / postcss-normalize

Use the parts of normalize.css (or sanitize.css) you need from your browserslist
Creative Commons Zero v1.0 Universal
816 stars 40 forks source link

9.0.0 #43

Closed jonathantneal closed 4 years ago

clarfonthey commented 5 years ago

Why does the project even define a version of sanitize.css in the first place? Sure, the tests can require one, but I don't see why this project cares whether you're on version 10 or 11.

jonathantneal commented 5 years ago

I understand that, and it bothers me to bump this as a major, which is why I stalled. Unfortunately, I’m not sure how to tell this program that it can use whatever version of sanitize.css you are using locally even if the default version is old. Do you have a better idea, @clarfon?

clarfonthey commented 5 years ago

To me it seems like a peer dependency is what's needed.

thasmo commented 4 years ago

@jonathantneal, as @clarfon mentioned, maybe defining as a peer dependency does make sense. And you can still define it as dev dependency if needed for tests or similar.