Interface: GitRegistryOptions¶
Defined in: resolver/src/git-registry.ts:52
Options for GitRegistry.
Properties¶
auth?¶
optionalauth?:GitAuthOptions
Defined in: resolver/src/git-registry.ts:68
Authentication options
cache?¶
optionalcache?:object
Defined in: resolver/src/git-registry.ts:70
Cache configuration
enabled?¶
optionalenabled?:boolean
Whether caching is enabled. Defaults to true
ttl?¶
optionalttl?:number
Cache TTL in milliseconds. Defaults to 1 hour
cacheDir?¶
optionalcacheDir?:string
Defined in: resolver/src/git-registry.ts:66
Cache directory override
fallbackUrl?¶
optionalfallbackUrl?:string
Defined in: resolver/src/git-registry.ts:60
Fallback Git URL to try when the primary url fails with an auth error. Useful when the registry references an HTTPS URL but the user authenticates via SSH (or vice versa).
path?¶
optionalpath?:string
Defined in: resolver/src/git-registry.ts:64
Subdirectory within the repository to use as registry root
ref?¶
optionalref?:string
Defined in: resolver/src/git-registry.ts:62
Git ref to checkout (branch/tag/commit). Defaults to 'main'
timeout?¶
optionaltimeout?:number
Defined in: resolver/src/git-registry.ts:77
Request timeout in milliseconds for Git operations. Defaults to 60000 (1 minute)
url¶
url:
string
Defined in: resolver/src/git-registry.ts:54
Git repository URL