Skip to content

Support publish throttling #3962

@HQarroum

Description

@HQarroum

Description

I'd like Lerna to enable large monorepo maintainers that don't use independant as their versioning scheme to be able to publish dozens of packages to NPM within their release engineering process, while respecting the NPM throttling limits.

Motivation

For large monorepos, consisting of dozens of NPM packages that are updated as a group, it is important to avoid being throttled by NPM when publishing. NPM enforces non-documented throttling limits that can ban an account for hours, leaving the publishing process half completed, and resulting in a poor developer and customer experience.

Suggested Implementation

Enable a --throttling option on the lerna publish command to define either the throttling mechanism in requests per second and/or per minute to the registry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions