pub struct AggregatedPluginResult {Show 27 fields
pub entry_patterns: Vec<(PathRule, String)>,
pub entry_point_roles: FxHashMap<String, EntryPointRole>,
pub config_patterns: Vec<String>,
pub always_used: Vec<(String, String)>,
pub used_exports: Vec<PluginUsedExportRule>,
pub used_class_members: Vec<UsedClassMemberRule>,
pub framework_class_member_contracts: Vec<SemanticFrameworkContract>,
pub referenced_dependencies: Vec<String>,
pub package_referenced_dependencies: Vec<(PathBuf, String)>,
pub discovered_always_used: Vec<(String, String)>,
pub setup_files: Vec<(PathBuf, String)>,
pub tooling_dependencies: Vec<String>,
pub script_used_packages: FxHashSet<String>,
pub virtual_module_prefixes: Vec<String>,
pub virtual_package_suffixes: Vec<String>,
pub generated_import_patterns: Vec<String>,
pub generated_type_import_prefixes: Vec<String>,
pub path_aliases: Vec<(String, String)>,
pub auto_imports: Vec<AutoImportRule>,
pub active_plugins: Vec<String>,
pub fixture_patterns: Vec<(String, String)>,
pub scss_include_paths: Vec<PathBuf>,
pub static_dir_mappings: Vec<(PathBuf, String)>,
pub framework_static_dir_mappings: Vec<(PathBuf, String)>,
pub provided_dependencies: Vec<ProvidedDependencyRule>,
pub config_diagnostics: Vec<PluginConfigDiagnostic>,
pub federation_sources: Vec<FederationSource>,
}Expand description
Aggregated results from all active plugins for a project.
Fields§
§entry_patterns: Vec<(PathRule, String)>All entry point patterns from active plugins: (rule, plugin_name).
entry_point_roles: FxHashMap<String, EntryPointRole>Coverage role for each plugin contributing entry point patterns.
config_patterns: Vec<String>All config file patterns from active plugins.
always_used: Vec<(String, String)>All always-used file patterns from active plugins: (pattern, plugin_name).
used_exports: Vec<PluginUsedExportRule>All used export rules from active plugins.
used_class_members: Vec<UsedClassMemberRule>Class member rules contributed by active plugins that should never be flagged as unused. Extends the built-in Angular/React lifecycle allowlist with framework-invoked method names, optionally scoped by class heritage.
framework_class_member_contracts: Vec<SemanticFrameworkContract>Exact framework contracts with plugin and package provenance.
referenced_dependencies: Vec<String>Dependencies referenced in config files (should not be flagged unused).
package_referenced_dependencies: Vec<(PathBuf, String)>Dependencies referenced by package.json metadata, scoped to that package.json path.
discovered_always_used: Vec<(String, String)>Additional always-used files discovered from config parsing: (pattern, plugin_name).
setup_files: Vec<(PathBuf, String)>Setup files discovered from config parsing: (path, plugin_name).
tooling_dependencies: Vec<String>Tooling dependencies (should not be flagged as unused devDeps).
script_used_packages: FxHashSet<String>Package names discovered as used in package.json scripts (binary invocations).
virtual_module_prefixes: Vec<String>Import prefixes for virtual modules provided by active frameworks. Imports matching these prefixes should not be flagged as unlisted dependencies.
virtual_package_suffixes: Vec<String>Package name suffixes that identify virtual or convention-based specifiers. Extracted package names ending with any of these suffixes are not flagged as unlisted.
generated_import_patterns: Vec<String>Import suffixes for build-time generated relative imports. Unresolved imports ending with these suffixes are suppressed.
generated_type_import_prefixes: Vec<String>Import prefixes for build-time generated type-only relative imports. Unresolved type-only imports starting with these prefixes are suppressed.
path_aliases: Vec<(String, String)>Path alias mappings from active plugins (prefix → replacement directory). Used by the resolver to substitute import prefixes before re-resolving.
auto_imports: Vec<AutoImportRule>Convention-based auto-import rules from active plugins (Nuxt components).
The resolver matches each file’s captured auto_import_candidates against
these and synthesizes a graph edge to the rule’s source. See issue #704.
active_plugins: Vec<String>Names of active plugins.
fixture_patterns: Vec<(String, String)>Test fixture glob patterns from active plugins: (pattern, plugin_name).
scss_include_paths: Vec<PathBuf>Absolute directories contributed by plugins that should be searched
when resolving SCSS/Sass @import/@use specifiers. Populated from
Angular’s stylePreprocessorOptions.includePaths and equivalent
framework settings. See issue #103.
static_dir_mappings: Vec<(PathBuf, String)>Static directory mappings contributed by plugins.
framework_static_dir_mappings: Vec<(PathBuf, String)>Mounts a framework serves for the whole project, so any HTML document reaches them, unlike the tool-scoped mounts above.
provided_dependencies: Vec<ProvidedDependencyRule>File-scoped dependency provider rules from active plugins.
config_diagnostics: Vec<PluginConfigDiagnostic>Advisories about the config files active plugins read. Converted to workspace diagnostics once, at the end of the plugin run, where the project root is known.
federation_sources: Vec<FederationSource>Where Module Federation configs expose files and declare remote aliases, for the trace output.
Trait Implementations§
Source§impl Clone for AggregatedPluginResult
impl Clone for AggregatedPluginResult
Source§impl Debug for AggregatedPluginResult
impl Debug for AggregatedPluginResult
Auto Trait Implementations§
impl Freeze for AggregatedPluginResult
impl RefUnwindSafe for AggregatedPluginResult
impl Send for AggregatedPluginResult
impl Sync for AggregatedPluginResult
impl Unpin for AggregatedPluginResult
impl UnsafeUnpin for AggregatedPluginResult
impl UnwindSafe for AggregatedPluginResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<D> OwoColorize for D
impl<D> OwoColorize for D
Source§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
Source§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
Source§fn black(&self) -> FgColorDisplay<'_, Black, Self>
fn black(&self) -> FgColorDisplay<'_, Black, Self>
Source§fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
Source§fn red(&self) -> FgColorDisplay<'_, Red, Self>
fn red(&self) -> FgColorDisplay<'_, Red, Self>
Source§fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
Source§fn green(&self) -> FgColorDisplay<'_, Green, Self>
fn green(&self) -> FgColorDisplay<'_, Green, Self>
Source§fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
Source§fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
Source§fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
Source§fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
Source§fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
Source§fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
Source§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
Source§fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
Source§fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
Source§fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
Source§fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
Source§fn white(&self) -> FgColorDisplay<'_, White, Self>
fn white(&self) -> FgColorDisplay<'_, White, Self>
Source§fn on_white(&self) -> BgColorDisplay<'_, White, Self>
fn on_white(&self) -> BgColorDisplay<'_, White, Self>
Source§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
Source§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
Source§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
Source§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
Source§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
Source§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
Source§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
Source§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
Source§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
Source§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
Source§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
Source§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
Source§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Source§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Source§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Source§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Source§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
Source§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
Source§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
Source§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
Source§fn bold(&self) -> BoldDisplay<'_, Self>
fn bold(&self) -> BoldDisplay<'_, Self>
Source§fn dimmed(&self) -> DimDisplay<'_, Self>
fn dimmed(&self) -> DimDisplay<'_, Self>
Source§fn italic(&self) -> ItalicDisplay<'_, Self>
fn italic(&self) -> ItalicDisplay<'_, Self>
Source§fn underline(&self) -> UnderlineDisplay<'_, Self>
fn underline(&self) -> UnderlineDisplay<'_, Self>
Source§fn blink(&self) -> BlinkDisplay<'_, Self>
fn blink(&self) -> BlinkDisplay<'_, Self>
Source§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
Source§fn reversed(&self) -> ReversedDisplay<'_, Self>
fn reversed(&self) -> ReversedDisplay<'_, Self>
Source§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
Source§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::fg or
a color-specific method, such as OwoColorize::green, Read moreSource§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::bg or
a color-specific method, such as OwoColorize::on_yellow, Read more