Skip to content

Commit e1f9e6d

Browse files
authored
Merge pull request #1642 from plone/glossary-pnpm-workspace
Add `pnpm workspace` to glossary.
2 parents ba8aca5 + 865e5d7 commit e1f9e6d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/glossary.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,4 +701,13 @@ Nick
701701
predicate
702702
predicates
703703
In programming, a predicate is a test which returns `true` or `false`.
704+
705+
pnpm workspace
706+
workspace
707+
pnpm has built-in support for monorepositories (also known as multi-package repositories, multi-project repositories, or monolithic repositories).
708+
Workspaces provide support to manage multiple packages from your local file system from within a singular top-level, root package.
709+
By defining a single `package.json` file at the root of the repository and specifying the individual packages as workspaces, pnpm treats them as interdependent projects.
710+
711+
When you run `pnpm install` at the root of the repository, pnpm installs dependencies for all workspaces, ensuring consistency across the entire project.
712+
This centralized approach streamlines development, facilitates code sharing, and simplifies the maintenance of complex projects.
704713
```

0 commit comments

Comments
 (0)