Skip to content

validatePluginRelease

Validates the whole plugin: the manifest and versions.json in the project root, the release tag when one is given, and the release assets when the dist folder exists or is required.

Import:

import { validatePluginRelease } from '@mnaoumov/obsidian-dev-toolkit/plugin-release-checks';

Signature:

function validatePluginRelease(options: ValidatePluginReleaseOptions): Promise<PluginCheckFinding[]>

Parameters:

Parameter Type Description
options ValidatePluginReleaseOptions The ValidatePluginReleaseOptions.

Returns: Promise<PluginCheckFinding[]> — A Promise that resolves to the findings, empty when everything passes.


Links to this page: