Closed webark closed 2 years ago
I think they should be in optionalDependencies
as peerDependencies
are actually required.
I didn't understand what you mean by your first paragraph. Should all style preprocessors be added for ember-cli-styles
to work or only the ones that an app uses? Also, what is the "default set" used for?
P.S. I saw your messages in the PM so I think all is fine (as long as you move the dependencies to optionalDependencies
).
I think this will also resolve (a major part of) #18.
“All” meaning any number of them. (it’s designed so you can mix and match different styles types). And the default is just if people don’t want to think about it, they could just import that and either just add it all, or add what they want.
@webark - is this PR good to go? Does it to what it says it does or it needs more work?
I'll release this
@webark - thanks for merging! I'm awaiting the release so I can test this. :)
this was released.
All style preprocessors must be manually added in order to process. Will still export the default set defined in https://github.com/webark/ember-cli-styles/blob/9067ae607be0cd2f69b1e650c23833b62cccc97e/packages/preprocessor/lib/preprocessors.js
I moved the preprocessor packages into the dev dependencies, but should they be set as
peerDependencies
oroptionalDependencies
? I always forget how these work Do you have any familiarity @boris-petrov ?This should fix #8