Introducing Depot Packages banner
4 min read
product

Stay in the loop

Get notified when we ship new posts.

Introducing Depot Packages

Sharing your team's private packages, caching public dependencies, and controlling which versions reach your builds shouldn't require a collection of separate tools. Today we're introducing Depot Packages.

Depot Packages is a package registry for the package managers you already use. Publish your internal libraries, cache dependencies from registries like npm and PyPI, and set policies for the packages your team installs. You can serve private and upstream packages through a single endpoint for each ecosystem, then keep using your usual install and publish commands.

With this release, the Depot platform now includes another building block of software development and delivery, with the performance and reliability that you expect from Depot.

Private packages and upstream dependencies in one place

Depot Packages supports a wide range of package managers and ecosystems, including:

  • npm
  • PyPI
  • Maven
  • NuGet
  • RubyGems
  • Cargo
  • Helm
  • Debian
  • RPM
  • Alpine
  • Terraform
  • Composer
  • Conda

It supports the following types of repositories:

  • Private repositories for your internal packages
  • Cache repositories for caching upstream dependencies from other registries
  • Virtual repositories for combining private and upstream packages of the same format behind one endpoint

Teams can publish and reuse their own internal packages, improve reliability for their software delivery pipelines when upstream registries are unavailable, and apply policies to packages installed across their organization to ensure compliance and respond to vulnerabilities.

Control which dependencies reach your builds

Depot Packages allows you to set policies for the packages stored and served by your repositories, including:

  • Minimum release age to delay new upstream versions from being served, allowing time to audit new versions for vulnerabilities and other issues
  • Block or allow specific packages based on known vulnerabilities or to comply with internal policies

Depot Packages also checks supported upstream packages against OSV.dev security advisories. View findings in the Depot dashboard and set policies to block malicious packages or versions with vulnerabilities. You choose which vulnerability severity levels to block.

Package repositories also support trusted publishing, which allows CI jobs to publish packages without storing a long-lived Depot token.

Get started with Depot Packages

You can try Depot Packages with npm and the built-in npmjs cache, without creating a repository. You'll need a Depot account, membership in a Depot organization, the Depot CLI, and npm.

  1. Sign in.

    depot login
  2. Copy your organization ID.

    In the Depot dashboard, go to Packages > Repositories, click Cache repositories, and open npm public registry. Select the Setup tab, then copy the organization ID from the repository endpoint.

  3. Configure npm.

    Replace <org-id> with your organization ID and run:

    depot packages configure npm --org <org-id> --repository npmjs

    The configure command sets npm's registry and saves your Depot token in your user ~/.npmrc. Rerun the configure command when your login token changes.

  4. Install a package.

    For example:

    npm install lodash

    npm installs lodash through Depot, which caches the upstream download. Open npm public registry in the Depot dashboard to see the package.

Ready to publish your own packages? Follow the quickstart to create a Private repository and publish your first package. You'll need to be an organization owner to create a repository. For other package managers and CI setup, see the Packages docs.

Pricing

Depot Packages is included in all Depot plans. Package, cache, and registry storage share one allowance. The standard rate for storage above that allowance is $0.20 per GB per month. See the Pricing page for more details.

Let us know what you think

We'd love to hear how you're using Depot Packages and what would make it more useful for your team. Contact us or join us on Discord to share your feedback.

Start building with Depot
in minutes