relizy / RegistryTarget
Interface: RegistryTarget
Defined in: src/types.ts:501
Properties
access?
optionalaccess?:"public"|"restricted"
Defined in: src/types.ts:522
Publish access level (e.g. public or restricted)
exclusive?
optionalexclusive?:boolean
Defined in: src/types.ts:541
When true, packages matched by this target are published ONLY to this (and any other matching) registry - the default publish.registry is skipped for them. Without this flag, registries is purely additive: matched packages are published to this registry ON TOP OF the default one.
Default
falsename?
optionalname?:string
Defined in: src/types.ts:505
Optional label used in logs to identify this registry (e.g. nexus-internal)
otp?
optionalotp?:string
Defined in: src/types.ts:526
OTP for this registry (e.g. 123456)
packageFilter?
optionalpackageFilter?:string[]
Defined in: src/types.ts:533
Glob pattern matching package names this registry applies to. Distinct from PublishConfig.packages (which packages get published at all) - this only routes already-publishable packages to this registry. Omitted or empty = applies to every publishable package (mirroring).
registry
registry:
string
Defined in: src/types.ts:509
Registry URL (e.g. https://registry.npmjs.org/, a Nexus or JFrog URL)
tag?
optionaltag?:string
Defined in: src/types.ts:518
Publish tag (e.g. latest)
token?
optionaltoken?:string
Defined in: src/types.ts:514
Registry token - supported for npm, pnpm and bun (injected via .npmrc). Yarn is not supported (it uses .yarnrc.yml); configure its auth yourself.