vtils

Home > types > PackageJson > WorkspacePattern

PackageJson.WorkspacePattern type

A workspace pattern points to a directory or group of directories which contain packages that should be included in the workspace installation process.

The patterns are handled with [minimatch](https://github.com/isaacs/minimatch).

Signature:

export type WorkspacePattern = string;

Example

docs → Include the docs directory and install its dependencies. packages/* → Include all nested directories within the packages directory, like packages/cli and packages/core.