M

styledictionary/4/asynchronous-api

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

This codemod updates the following StyleDictionary class methods to be asynchronous: extend(), exportPlatform(), getPlatform(), buildAllPlatforms(), buildPlatform(), cleanAllPlatforms(), and cleanPlatform(). This ensures compatibility with the latest asynchronous workflows in Style Dictionary.

Before

jsx

After

jsx

Ready to contribute?

Build your own codemod and share it with the community.