liveBook · Manning

Production dependency

A production dependency is a software package or component required by an application in its deployed runtime environment.

How 2 Manning books explain it

Fast by Default

A production dependency is a package required by an application in its deployed runtime environment.

How it is used
Reduces deployed artifact size by separating runtime packages from development-only dependencies.
How deep it goes
Explains dependency classification, unused-package analysis, Python tooling, and version pinning, but does not detail package-manager internals.
Examples
Uses a checkout API, a 340MB container image, 23 declared packages, eight removals, and a further 40MB reduction.
What you can do after
Diagnose production bloat with pipreqs, remove unused packages, and pin the remaining dependency set.

Read how Fast by Default explains production dependency →

Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform

A production dependency is a software package required when running an application in production but not for development.

How it is used
Separates packages needed to run a deployed Node.js microservice from packages used only during development or testing.
How deep it goes
Explains classification and installation, then applies them in Dockerfiles; it stops short of dependency-resolution internals.
Examples
Uses npm install --omit=dev, npm ci --omit=dev, production Dockerfiles, and MongoDB used by both tests and the service.
What you can do after
Operate Node.js deployments with npm and Docker while installing only packages required by the production microservice.

Read how Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform explains production dependency →

Related concepts

Questions about production dependency

What is production dependency?

A production dependency is a software package or component required by an application in its deployed runtime environment.

Which Manning books explain production dependency?

Fast by Default and Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform.

What is the difference between production dependency and development dependency?

A production dependency is a software package or component required by an application in its deployed runtime environment. A development dependency is a software package needed for development tasks such as building, testing, or debugging, but not normally needed for an application's runtime operation.

What is production dependency a kind of?

Production dependency is a kind of dependency. A dependency is a component, resource, or prerequisite that another software component or activity relies on to function, build, or proceed.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.