Skip to content

relizy / RegistryTarget

Interface: RegistryTarget ​

Defined in: packages/core/src/types.ts:47

A registry a package is published to, with its auth and its publish options

Properties ​

access? ​

optional access?: "public" | "restricted"

Defined in: packages/core/src/types.ts:68

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


exclusive? ​

optional exclusive?: boolean

Defined in: packages/core/src/types.ts:86

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: packages/core/src/types.ts:51

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


otp? ​

optional otp?: string

Defined in: packages/core/src/types.ts:72

OTP for this registry (e.g. 123456)


packageFilter? ​

optional packageFilter?: string[]

Defined in: packages/core/src/types.ts:78

Glob patterns of the package names this registry applies to: it routes the published packages to this registry. Omitted or empty, it applies to every published package (mirroring).


registry ​

registry: string

Defined in: packages/core/src/types.ts:55

Registry URL (e.g. https://registry.npmjs.org/, a Nexus or JFrog URL)


tag? ​

optional tag?: string

Defined in: packages/core/src/types.ts:64

Publish tag (e.g. latest)


token? ​

optional token?: string

Defined in: packages/core/src/types.ts:60

Registry token - supported for npm, pnpm and bun (injected via .npmrc). Yarn is not supported (it uses .yarnrc.yml); configure its auth yourself.