Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support publish throttling #3962

Open
1 task
HQarroum opened this issue Feb 27, 2024 · 0 comments
Open
1 task

Support publish throttling #3962

HQarroum opened this issue Feb 27, 2024 · 0 comments
Labels
accepting-prs We would gladly receive a PR to resolve this issue type: feature

Comments

@HQarroum
Copy link

HQarroum commented Feb 27, 2024

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.

@fahslaj fahslaj added the accepting-prs We would gladly receive a PR to resolve this issue label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepting-prs We would gladly receive a PR to resolve this issue type: feature
Projects
None yet
Development

No branches or pull requests

2 participants