Skip to main content
Glama
push-based

Angular Toolkit MCP

by push-based
ds-component-coverage.plugin.ts995 B
import { PluginConfig } from '@code-pushup/models'; import { CreateRunnerConfig, runnerFunction } from './runner/create-runner.js'; import { getAudits } from './utils.js'; import { ANGULAR_DS_USAGE_PLUGIN_SLUG } from './constants.js'; export type DsComponentUsagePluginConfig = CreateRunnerConfig; /** * Plugin to measure and assert usage of DesignSystem components in an Angular project. * It will check if the there are class names in the project that should get replaced by a DesignSystem components. * * @param options */ export function dsComponentCoveragePlugin( options: DsComponentUsagePluginConfig, ): PluginConfig { return { slug: ANGULAR_DS_USAGE_PLUGIN_SLUG, title: 'Angular Design System Coverage', icon: 'angular', description: 'A plugin to measure and assert usage of styles in an Angular project.', audits: getAudits(options.dsComponents), runner: () => runnerFunction(options), } as const; } export default dsComponentCoveragePlugin;

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/push-based/angular-toolkit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server