Skip to content

dependabit / manifest/src

manifest/src

Manifest

NameDescription
ValidationErrorWraps a Zod ZodError to provide human-readable formatted error messages.
AccessMethodThe protocol/service used to fetch and compare a dependency's state.
ChangeDetectionRecordA persisted record of a single change detection event.
ChangeTypeClassification of the kind of change detected during monitoring.
DependabitConfigRoot configuration object parsed from .dependabit.yml.
DependencyEntryA single tracked external dependency inside a DependencyManifest.
DependencyManifestA fully-validated dependency manifest document.
DependencyOverrideA per-URL configuration override inside DependabitConfig.dependencies.
DependencyTypeSemantic category of an external dependency.
DetectionMethodHow a dependency was originally discovered.
IssueConfigConfiguration for GitHub issue creation on change detection.
LLMConfigLLM provider configuration stored inside the manifest's generatedBy section and in DependabitConfig.llm.
MonitoringRulesPer-dependency monitoring rules (check frequency, enable/disable).
ScheduleCheck schedule (cron-like, compatible with Dependabot syntax).
SeverityChange severity level used in notifications and issue creation.
DependabitConfigSchemaZod schema for the top-level .dependabit.yml / .dependabit.json configuration file.
addDependencyAppends a new dependency entry to the on-disk manifest.
createEmptyManifestCreates a minimal, valid manifest with an empty dependencies array.
getEffectiveMonitoringRulesResolves the effective monitoring rules for a specific dependency URL by merging global config defaults with any per-URL override defined in config.dependencies.
mergeManifestsMerges an updated manifest generated by the detector over an existing one, optionally preserving manual entries and accumulated change history.
parseConfigParses a YAML string into a validated DependabitConfig.
readConfigReads a YAML configuration file from disk, parses it, and validates it against DependabitConfigSchema.
readManifestReads a manifest JSON file from disk and validates it against DependencyManifestSchema.
removeDependencyRemoves a dependency from the on-disk manifest by ID.
shouldIgnoreUrlReturns true if the given URL matches any exclusion rule defined in config.ignore (exact URL list or regex pattern list).
stringifyConfigSerialises a validated DependabitConfig to a YAML string.
updateDependencyUpdates a single dependency entry in the on-disk manifest by ID.
writeManifestSerialises a manifest to pretty-printed JSON and writes it to disk.

Other

NameDescription
SizeCheckOptions-
SizeCheckResultManifest size validation and warnings Checks manifest size and warns when approaching limits
AccessMethodSchema-
AuthConfigSchema-
ChangeDetectionRecordSchema-
ChangeTypeSchema-
DependencyEntrySchema-
DependencyManifestSchema-
DependencyOverrideSchema-
DependencyTypeSchema-
DetectionMethodSchema-
IssueConfigSchema-
LLMConfigSchema-
ManifestVersionSchema-
MonitoringRulesSchema-
ScheduleSchema-
SeveritySchema-
canAddEntryCheck if adding an entry would exceed limits
checkManifestSizeCheck manifest size and return status
estimateEntrySizeEstimate manifest size impact of adding an entry
formatSizeGet formatted size string
safeValidateConfigSafe validation for config
safeValidateDependencyEntrySafe validation for dependency entry
safeValidateManifestSafe validation that returns success/error result
validateConfigValidate a dependabit configuration
validateDependencyEntryValidate a dependency entry
validateManifestValidate a dependency manifest
validateManifestObjectValidate manifest object size before serialization

Released under the MIT License.