Skip to content

@verdaccio/core


Function: validatePublishSingleVersion()

ts
function validatePublishSingleVersion(manifest): boolean;

Validate if a manifest has the correct structure when a new package is being created. The properties name, versions and _attachments must contain 1 element.

Parameters

ParameterType
manifestany

Returns

boolean

boolean

Released under the MIT License.