ValidatePluginReleaseOptions
Options for validatePluginRelease.
Import:
import type { ValidatePluginReleaseOptions } from '@mnaoumov/obsidian-dev-toolkit/plugin-release-checks';Signature:
export interface ValidatePluginReleaseOptions extends ValidatePluginManifestOptionsExtends: ValidatePluginManifestOptions
Properties
| Property | Type | Description |
|---|---|---|
| distFolder? | string | The folder holding the built release assets, relative to the project root. Its assets are checked when it exists, or always when shouldRequireAssets is set. Defaults to dist/build. |
| isIdListed? | boolean | Whether the ID is already listed in the directory, which exempts it from the banned-word rule. Defaults to false.(Inherited from ValidatePluginManifestOptions) |
| manifestFile? | string | The manifest to check, relative to the project root. Defaults to manifest.json; a pre-release checks manifest-beta.json. |
| repository? | string | The owner/repo of the plugin. A listed ID is exempt from the banned-word rule only when it is listed for this repository; without it, a listed ID is exempt whatever repository lists it. |
| rootFolder? | string | The project root. Defaults to the root of the current working directory's project. |
| shouldCheckAssets? | boolean | Whether to check the release assets in distFolder at all. Defaults to true. |
| shouldCheckRepositoryFiles? | boolean | Whether to check that the project root holds a LICENSE and a README.md, which the community directory requires of every plugin repository. Defaults to true. |
| shouldCheckVersion? | boolean | Whether to check version. Defaults to true; a check before the version is bumped turns it off, since an unreleased plugin still carries the 0.0.0 placeholder.(Inherited from ValidatePluginManifestOptions) |
| shouldRequireAssets? | boolean | Whether a missing distFolder is an error rather than a reason to skip the asset checks. Defaults to false. |
| tag? | string | The release tag to check against the manifest. Not checked when omitted. |
Links to this page: