Concepts > Workspace Aliases

A workspace alias is an alternative name for a workspace that can be used in commands such as run-script.

Aliases are validated to be unique to each workspace and to not clash with other workspaces' package.json names, so that every workspace name or alias is an unambiguous reference.

Example Configuration

Workspace aliases are defined in the workspace configuration.

In the below examples, "myApp" may make a simpler reference to a workspace named "@my-organization/my-application".

{
  "alias": "myApp"
}

A workspace can have multiple aliases:

{
  "alias": [
    "myApp",
    "my-app"
  ]
}