style-dictionary-tailwindcss-transformer icon indicating copy to clipboard operation
style-dictionary-tailwindcss-transformer copied to clipboard

Support Style Dictionary v4 and add preprocessors config

Open mrajaeim opened this issue 1 year ago • 1 comments

mrajaeim avatar Sep 11 '24 09:09 mrajaeim

Hi @nado1001,

Thanks for reminding me to update the README. I’ve updated it and also added an integration test to ensure the package works with style-dictionary.

mrajaeim avatar Sep 15 '24 14:09 mrajaeim

Hi @nado1001 ,

I'm not sure why we're getting a type error in the test for the following line: import StyleDictionary from 'style-dictionary' This error occurs when running yarn typecheck in CI, but the tests pass successfully when running yarn test. It might be a misconfiguration in the TypeScript settings. Thanks for your review!

mrajaeim avatar Sep 22 '24 07:09 mrajaeim

Hi, @mrajaeim Thanks for the confirmation! You are right this seems to be caused by the TypeScript configuration. As it is difficult to solve the problem immediately at the moment, I am sorry, but could you please delete one of the tests you added? We will add the test you wrote later after we resolve this issue.

nado1001 avatar Sep 22 '24 10:09 nado1001

Hi @nado1001, I’ve deleted the integration test.

mrajaeim avatar Sep 22 '24 12:09 mrajaeim

:tada: This PR is included in version 2.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Sep 23 '24 10:09 github-actions[bot]