Docs menuBecoming a Pool author

Becoming a Pool author

If you move a private LPM.dev Registry package to the Pool, every Pool subscriber can install its approved versions. You earn a share of the subscription revenue.

Before you choose Pool distribution

The package must have at least one published version. When you choose Pool, LPM.dev Registry checks the dependencies of the latest version against these rules:

DependencyPool package rule
Free or Pool packageAllowed
Private LPM.dev Registry packageBlocked, also if it has the same owner
Marketplace packageBlocked in every dependency field, also as a bundle or with the same owner. Pool subscribers must never need a separate purchase
@lpm.dev package name that does not exist in LPM.dev RegistryBlocked
Package from npm or another registryNot part of this check. Its own access and license terms still apply

The check reads dependencies, optionalDependencies, peerDependencies, devDependencies, and bundled dependencies. It also reads the source configuration in lpm.config.json and Swift manifests. A bundle or a Commercial License does not make a Marketplace dependency valid for the Pool. Dependencies has the complete rules.

LPM.dev Registry checks the dependencies again when the review approves a release. Until the package is available in the Pool, a release that fails this check waits. LPM.dev Registry checks it again automatically. You can also publish a new version without the blocked dependency.

Choose Pool

  1. Open the package in the dashboard.
  2. Open Settings.
  3. In Distribution & monetization, select Pool.
  4. Select Save distribution.
  5. In the dialog, select Switch to Pool. You cannot undo this choice.
  6. If the dashboard asks for an identity check, complete it.

The package does not become public at once. After you choose Pool, LPM.dev Registry does these steps:

  1. It keeps the package private.
  2. It sends the latest version to publication review.
  3. When the review approves the release, it checks the dependencies again.
  4. If the release passes, it activates Pool distribution for the package.

If the review rejects the release, publish a new version. The package keeps the Pool choice and stays private until a release is approved.

Each later version also goes through publication review. Pool subscribers can install a version only after its review approves it.

Publish packages to LPM.dev Registry explains the upload. Distribution modes explains the review results.

Permanent distribution and package lifecycle

Pool distribution is permanent from the moment you choose it:

  • The package cannot return to private distribution.
  • The package cannot move to another distribution mode or get a price of its own.
  • You cannot delete the package. If you delete your account or organization while no release of the package is public, LPM.dev Registry also deletes the package.
  • You can archive the package and unarchive it later in the Danger zone of the package dashboard.

An archived package keeps Pool distribution. Pool subscribers can still install the releases that were approved before the archive. Package search does not show the package. A release that you publish while the package is archived waits until you unarchive it.

You can deprecate the whole package or one version, with a message, in the Danger zone or with lpm deprecate. A deprecated version stays installable and shows the message to consumers. To move users to a replacement, deprecate the old package or version.

You can unpublish a Pool version in the Danger zone or with lpm unpublish. This works only in the first 72 hours after publication, while nobody outside the owner or organization has installed it. After that, deprecate the version.

In the first 30 minutes after publication, you can also revoke a version that nobody outside the owner or organization has downloaded. Versioning has the rules for revocation, unpublishing, and deprecation.

How earnings are allocated

Pool earnings come from the eligible package observations of each subscriber. An observation is the record that a subscriber used a package in a month. More downloads of the same package do not add earnings.

  • LPM.dev Registry records each pair of subscriber and package at most once per calendar month in UTC.
  • A direct dependency of the project has weight 1.00.
  • Pool dependencies have the depth weights 0.70, 0.49, and 0.34.
  • A dependency observation gets weight only if at least two different subscribers used the package in the same month.
  • A dependency with the same owner as the package that pulls it in gets 30% of its normal weight.

Revenue sharing explains the full calculation.

To see estimates for the current month, use LPM CLI. The estimates cover your personal packages and the packages of organizations where you are an owner or admin:

lpm pool

The output shows weighted downloads, estimated earnings, and the values for each package. The estimates can change until LPM.dev Registry calculates the month. The LPM CLI pool reference explains the command and its JSON output.

Configure payouts

A package earns from the Pool before you connect Stripe. To receive transfers, connect an active Stripe payout account:

  • For a personal package, open Settings > Payout settings in the dashboard.
  • For an organization package, open Payout settings in the organization settings. Only organization owners can manage payout accounts.

On the 1st of each month, LPM.dev Registry calculates the earnings of the previous month. On the 5th, it pays them:

  • The payout minimum is $10. It applies to the total of the earnings of the month and the carried earnings of all packages of the owner.
  • If the total is below $10, LPM.dev Registry carries it forward. It pays the carried earnings with the rest when the total reaches $10.
  • Each payout is one Stripe transfer for all packages of the owner in that month.
  • If the owner has no active payout account, earnings above the minimum stay pending.
  • After the owner connects an eligible account, LPM.dev Registry retries the pending payouts automatically.
  • LPM.dev Registry pays in USD through Stripe.

Deleting an account or organization

If you delete your account, or an organization that owns Pool packages, payouts do not stop at once. They continue every month until LPM.dev Registry removes the account or organization permanently, 180 days after the deletion. The owner then loses the earnings that are still unpaid. This includes carried earnings below the $10 minimum. Before you delete, the deletion confirmation shows the unpaid amount.

See also