relizy / checkWorkspaceDependencies
Function: checkWorkspaceDependencies()
checkWorkspaceDependencies(
__namedParameters):Promise<void>
Defined in: src/core/workspace.ts:154
Check the internal dependencies declared with the workspace: protocol by the packages about to be published. The package manager replaces them with the version of the workspace package; that version must be published by this run or already be on the registry, otherwise the published package cannot be installed. Read-only: the replacement itself stays the package manager's job.
Throws when the registry confirms a version is missing, warns when the registry cannot be queried.
Parameters
__namedParameters
config
packages
Packages about to be published, with their new version
plannedVersions?
Map<string, string> = ...
New versions of the packages bumped by this run (not written on disk in dry-run)
Returns
Promise<void>