Skip to content
/ ddev-pnpm Public
generated from ddev/ddev-addon-template

Fast, disk space efficient pnpm package manager for DDEV

License

Notifications You must be signed in to change notification settings

ddev/ddev-pnpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

add-on registry tests last commit release

DDEV pnpm

Overview

pnpm is a fast, disk space efficient package manager.

This add-on integrates pnpm into your DDEV project.

Installation

ddev add-on get ddev/ddev-pnpm
ddev restart

After installation, make sure to commit the .ddev directory to version control.

Usage

Command Description
ddev pnpm Run pnpm from within the web container

Please refer to the documentation at pnpm.io

Advanced Customization

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.json

To 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=frontend

Make sure to commit the .ddev/.env.web file to version control.

Credits

Contributed and maintained by @rellafella

About

Fast, disk space efficient pnpm package manager for DDEV

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors 5

Languages