Expand description
Plugin system for framework-aware codebase analysis.
Plugins read JS, TS and JSON config files with the Oxc parser and walk the
AST. They never run JavaScript. Each plugin implements the Plugin trait
with static defaults (entry patterns, config file patterns, used exports)
and reads config files for entries, dependencies and setup files.
Re-exports§
pub use registry::AggregatedPluginResult;pub use registry::CheckedAliasPrefix;pub use registry::PluginRegistry;pub use registry::PluginToolingDependencies;pub use registry::PluginToolingEvidence;
Modules§
- config_
parser - AST-based config file parser utilities.
- manifest_
entries - Evaluation of external-plugin
manifestEntriesrules. - registry
- Plugin registry: discovers active plugins, collects patterns, parses configs.
Structs§
- Federation
Source - What a Module Federation config declares, and where, for the trace output.
- Path
Rule - A file-pattern rule with optional exclusion globs plus path-level or segment-level regex filters.
- Plugin
Config Diagnostic - One advisory about a config file a plugin read, before it becomes a
fallow_config::WorkspaceDiagnostic. - Plugin
Result - Result of resolving a plugin’s config file.
- Plugin
Used Export Rule - A used-export rule tagged with the plugin that contributed it.
- Provided
Dependency Rule - A file-scoped dependency provider rule contributed by a framework plugin.
- Required
Dependency - A package that a config needs installed, although no source file imports it. A tool loads the package by name, for example a TypeScript language service plugin, or the config sets a key that needs a companion package.
- Used
Export Names - The plugin used-export rules of one plugin run, compiled for path lookups.
- Used
Export Rule - A used-export rule bound to a file-pattern rule.
Enums§
- Export
Credits - Which plugin export credits the trace provenance records.
- Federation
Source Target - The thing a
FederationSourcenames. - Plugin
Config Effect - Which workspace diagnostic kind a plugin-stage advisory becomes.
Traits§
- Plugin
- A framework/tool plugin that contributes to dead code analysis.
Functions§
- types_
package_ target - The package that a
@types/package types, by the DefinitelyTyped naming convention:@types/nodetypesnode,@types/scope__pkgtypes@scope/pkg.Nonefor a name outside the@types/scope.