Skip to content

feat: provide npm registry customization #972

Closed
@antongolub

Description

@antongolub

zx has internal feature to install package (see deps.ts and cli.ts), but the registry path is hardcoded. Let's make it configurable via the CLI opts too.

zx --install-registry='https://npm-proxy.example.com' script.mjs

Metadata

Metadata

Assignees

Labels

ossln24OSS Library Night 2024

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions