amzn / style-dictionary

A build system for creating cross-platform styles.
https://styledictionary.com
Apache License 2.0
3.87k stars 543 forks source link

Use @style-dictionary monorepo #1263

Open jorenbroekema opened 2 months ago

jorenbroekema commented 2 months ago

Just throwing out the idea because @dbanksdesign has brought it up a few times and I also think it makes sense.

We could use a monorepo and workspaces, which is handy for some of the packages/utilities/examples that we have.

Potentially:

It should be noted that we could potentially also split up some of the helpers / utils:

Not sure how useful it is to split things further, just importing the types/utils from core also seems totally fine to be honest, but for the utils I can see them being used standalone and we could reduce install size significantly for users who just need a utility or two, not the entire SD library