Agent skill

pnpm-workspaces

pnpm workspace patterns and dependency management.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/pnpm-workspaces

SKILL.md

pnpm Workspaces Skill

Expert assistance for pnpm workspace management.

Capabilities

  • Configure workspaces
  • Manage dependencies
  • Handle peer dependencies
  • Publish packages
  • Optimize node_modules

Configuration

yaml
# pnpm-workspace.yaml
packages:
  - 'apps/*'
  - 'packages/*'
json
// package.json
{
  "name": "root",
  "private": true,
  "scripts": {
    "build": "pnpm -r build",
    "dev": "pnpm -r --parallel dev"
  }
}

Commands

bash
# Install in workspace
pnpm add lodash --filter @repo/web

# Run in all packages
pnpm -r build

# Run in specific package
pnpm --filter @repo/ui build

Target Processes

  • monorepo-setup
  • dependency-management
  • package-publishing

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results