Prompt Buddy logoPrompt Buddy

pnpm · pnpm Docs

pnpm Workspace

Configures and manages monorepositories using pnpm by utilizing a pnpm-workspace.yaml file to unite multiple projects within a single repository.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

pnpm Workspace

Configures and manages monorepositories using pnpm by utilizing a pnpm-workspace.yaml file to unite multiple projects within a single repository.

When To Use

Use when setting up a monorepo to manage multiple interconnected packages within a single repository using pnpm.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/pnpm-workspace-workflow-guide.mdA guide covering pnpm workspace features, configuration, release workflows, and usage examples for managing monorepositories.Questions about a guide covering pnpm workspace features, configuration, release workflows, and usage examples for managing monorepos...
examples/pnpm-workspace-configuration.textA text file demonstrating the structure and syntax of a pnpm-workspace.yaml configuration file.Exact payloads, commands, or snippets shown in A text file demonstrating the structure and syntax of a pnpm-workspace.yaml configuration file.
examples/pnpm-workspace-dependency-protocol-examples.textA text file demonstrating various workspace protocol dependency versioning formats including wildcard, tilde, caret, and specific versioning.Exact payloads, commands, or snippets shown in A text file demonstrating various workspace protocol dependency versioning formats including wildcard, tilde, caret,...
examples/pnpm-workspace-configuration-2.textA text representation of a pnpm workspace configuration file showing dependency versioning patterns.Exact payloads, commands, or snippets shown in A text representation of a pnpm workspace configuration file showing dependency versioning patterns.
examples/pnpm-workspace-filter-command.textAn example demonstrating the use of the pnpm filter flag to run commands on specific packages within a workspace.Exact payloads, commands, or snippets shown in An example demonstrating the use of the pnpm filter flag to run commands on specific packages within a workspace.

What This Skill Covers

    • Features Workspace Version: 11.x On this page # Workspace pnpm has built-in support for monorepositories (AKA multi-package repositories, multi-project rep...
  • Main sections: Release workflow ​, Troubleshooting ​, Usage examples ​, Configuration ​, linkWorkspacePackages ​.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://pnpm.io/workspaces