pnpm is a fast, disk space efficient package manager.
This add-on integrates pnpm into your DDEV project.
ddev add-on get ddev/ddev-pnpm
ddev restartAfter installation, make sure to commit the .ddev directory to version control.
| Command | Description | 
|---|---|
ddev pnpm | 
Run pnpm from within the web container | 
Please refer to the documentation at pnpm.io
By default, this add-on assumes your package.json is in the root of the DDEV project.
In a monorepo that doesn't have a root level package.json, e.g.
.
├── .ddev
├── backend/
│   └── composer.json
└── frontend/
    └── package.jsonTo configure this addon to run pnpm commands for this example project, set a PNPM_DIRECTORY environment variable to frontend:
ddev dotenv set .ddev/.env.web --pnpm-directory=frontendMake sure to commit the .ddev/.env.web file to version control.
Contributed and maintained by @rellafella