Skip to content

relizy / RegistryTarget

Interface: RegistryTarget ​

Defined in: src/types.ts:501

Properties ​

access? ​

optional access?: "public" | "restricted"

Defined in: src/types.ts:522

Publish access level (e.g. public or restricted)


exclusive? ​

optional exclusive?: 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 ​

ts
false

name? ​

optional name?: string

Defined in: src/types.ts:505

Optional label used in logs to identify this registry (e.g. nexus-internal)


otp? ​

optional otp?: string

Defined in: src/types.ts:526

OTP for this registry (e.g. 123456)


packageFilter? ​

optional packageFilter?: 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? ​

optional tag?: string

Defined in: src/types.ts:518

Publish tag (e.g. latest)


token? ​

optional token?: 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.

Released under the MIT License.