• Styledictionary/4/Hook Api Filters

    This codemod updates registered filters to be placed inside the hooks.filters property, instead of filter. Note the shift from the singular to the plural form in this update.

  • Styledictionary/4/Logging

    This codemod updates the logging system to be more configurable, as detailed in the Logging docs. You can now customize the verbosity of logs and silence warnings and success logs, in addition to the previous option of setting log: 'error' to change the default behavior to throw warnings as errors.

  • Styledictionary/4/Hook Api Transform Groups

    This codemod updates registered transform groups to be placed inside the hooks.transformGroups property, instead of transformGroup, with a shift from the singular to the plural form.

  • Styledictionary/4/Hook Api Transform

    This codemod updates registered transforms to be placed inside the hooks.transforms property, instead of transform, with a shift from the singular to the plural form. Additionally, the name of the filter function has been changed from matcher to filter for consistency.

  • Styledictionary/4/Hook Api Preprocessors

    This codemod updates registered preprocessors to be placed inside the hooks.preprocessors property, instead of preprocessor, with a shift from the singular to the plural form. Registered preprocessors now apply globally without requiring explicit application in the config.

  • Styledictionary/4/Hook Api Parsers

    This codemod updates registered parsers to be placed inside the hooks.parsers property, instead of parser, with a shift from the singular to the plural form. Registered parsers now apply globally without needing explicit application in the config. Additionally, the parse function has been renamed to parser for consistency.

  • Styledictionary/4/Hook Api File Header

    This codemod updates registered file headers to be placed inside the hooks.fileHeaders property, instead of fileHeader. Note the shift from the singular to the plural form in this update.

  • Styledictionary/4/Hook Api Actions

    This codemod updates registered actions to be placed inside the hooks.actions property, instead of action. Note the shift from the singular to the plural form in this update.

  • Styledictionary/4/Hook Api Formats

    This codemod updates registered formats to be placed inside the hooks.formats property, instead of format, with a shift from the singular to the plural form. Additionally, the formatter handler function has been renamed to format for consistency. Some importable type interfaces have also been renamed.

  • Styledictionary/4/Asynchronous Api

    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.

  • Styledictionary/4/Asynchronous Api File Headers

    This codemod updates the fileHeader format helper utility to be asynchronous, allowing support for async fileHeaders while maintaining consistency with the latest updates.

  • Styledictionary/4/Migration Recipe

    This recipe is a set of codemods that will help migrate to Style Dictionary 4.