svelte-material-ui
svelte-material-ui copied to clipboard
`@material/theme` as a dependency?
Is your feature request related to a problem? Please describe.
Hi, it's complicated for me to track what versions of @material/theme
I need to use with what version of smui. Especially if I have automatic dependency updates enabled, this gets messy pretty quickly. I recently went from v1 to v4 and needing to upgrade smui and @material/theme
in lockstep was also frustrating.
Describe the solution you'd like
If @material/theme
were a dependency/peer-dependency, It would automatically be installed with the correct version...
Possibly related: https://github.com/hperrin/svelte-material-ui/issues/348
I just tried removing it from my app and everything still works fine (I'm on v5) - @hperrin I could submit a PR, but honestly, I'm not sure what the right approach is? Do we need to manually install @material/theme
? If so, could it be made a dependency or a peer-dependency? If so, of which package? I'd say probably @smui/common
, but I'm not sure...
I'm really not sure. I could make it a peer dependency. Maybe of smui/common?
Oh maybe I can mark conflicting versions instead? So anything newer would conflict with it.
Hi, I think making it a dependency or a peer dependency would make it easier to maintain than manually selecting conflicting versions, but either should work...