Skip to content

DeployWorkspacePackage

Defined in: cli/astromech/src/tasks/deploy-on-release/workspace-packages/workspace-packages.type.ts:2

A workspace package: absolute folder, and what its package.json says.

dependencies: Record<string, string>

Defined in: cli/astromech/src/tasks/deploy-on-release/workspace-packages/workspace-packages.type.ts:10

The package’s dependencies, name to range.


optional devDependencies?: Record<string, string>

Defined in: cli/astromech/src/tasks/deploy-on-release/workspace-packages/workspace-packages.type.ts:19

A workspace:* devDependency can optionally count too (holocron#1071, workspaceDependencies’ includeDevDependencies option). Optional so a caller holding the previous, dev-dependency-less shape (a plain object literal, or a value from outside this package’s own version) keeps compiling and working – a missing value is treated the same as {}.


dir: string

Defined in: cli/astromech/src/tasks/deploy-on-release/workspace-packages/workspace-packages.type.ts:6

Absolute path of the package folder.


name: string

Defined in: cli/astromech/src/tasks/deploy-on-release/workspace-packages/workspace-packages.type.ts:4

The package’s name.


version: string | undefined

Defined in: cli/astromech/src/tasks/deploy-on-release/workspace-packages/workspace-packages.type.ts:8

The package’s version; undefined when its manifest has none.