Workspace - CI/CD Glossary Definition
A workspace is a feature of package managers (npm, Yarn, pnpm, Cargo) that lets one repository hold multiple packages which can depend on each other and share a single install.
How it is declared
In npm you add "workspaces": ["packages/*"] to the root package.json. One npm install then links the local packages together and hoists shared dependencies into a single tree.
Why CI likes it
A single install and a single lockfile cover every package, so the CI cache is shared and cross-package changes are tested together in one run.
Related guides
Monorepo Tooling - CI/CD Glossary DefinitionMonorepo Tooling: Monorepo tooling is software (Nx, Turborepo, Bazel, Lerna, pnpm workspaces) that manages ma…
Scoped Package - CI/CD Glossary DefinitionScoped Package: A scoped package is an npm package namespaced under an `@scope/` prefix, like `@latchkey/cli`…
Package Registry - CI/CD Glossary DefinitionPackage Registry: A package registry is a repository that hosts published software packages for a language ec…