public function componentsExtra($componentId = null)
    {
        $components = $this->components ?: $this->loadComponents();

        array_walk($components, function (&$component) {
            $name = $component['composer']['name'];
            $component = $component['composer']['extra']['component'];
            $component['displayName'] = $name;
        });

        return $componentId
            ? [$componentId => $components[$componentId]]
            : $components;
    }