Skip to content

v1.2.0 - Handle specific config for plugins

Choose a tag to compare

@Shimon42 Shimon42 released this 21 Sep 22:23
· 2 commits to main since this release
8e06405

Breaking changes

  • Default, plugins and user configs are now merged instead of overwrited

Changelogs

updated TArchitectPlugin

  • new configprop

  • optional registerprop

    export type TArchitectPlugin = {
        name: string; // the plugin's name
        destination?: string; // the destination folder name for the plugin files
        register?: (architect: TArchitectPluginAPI) => void; // the plugin's registration function
        extensions?: string | TFileExtensions; // the file extensions supported by the plugin
        config?: TConfig; // the plugin's configuration object that will be merged with the CLI's configuration
    };

fixed types definitions

Full Changelog: v1.1.3...v1.2.0