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

feat: support async for all hooks #1106

Closed jorenbroekema closed 7 months ago

jorenbroekema commented 7 months ago

Make all of our hooks support async.

This also allows us to parallelize our buildFiles / performActions / cleanFiles / cleanActions processes, rather than using "sync" versions in sequence. That should speed things up for those with many output files.

TODO:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.