Skip to content

VERSION_ARGUMENT_OPTIONS

The flags parseVersionArguments recognizes, in the shape Node’s parseArgs takes. Exported so a wrapper that adds flags of its own can parse them all in one pass and still read these through toUpdateVersionOptions.

Import:

import { VERSION_ARGUMENT_OPTIONS } from '@mnaoumov/typescript-dev-toolkit/version';

Signature:

const VERSION_ARGUMENT_OPTIONS: { readonly 'changelog-file': { readonly type: "string"; }; readonly 'no-build': { readonly type: "boolean"; }; readonly 'no-changelog-editing': { readonly type: "boolean"; }; readonly 'no-checks': { readonly type: "boolean"; }; readonly 'no-commit-verification': { readonly type: "boolean"; }; readonly 'no-issue-closing': { readonly type: "boolean"; }; readonly 'no-release': { readonly type: "boolean"; }; }

Type: { readonly ‘changelog-file’: { readonly type: “string”; }; readonly ‘no-build’: { readonly type: “boolean”; }; readonly ‘no-changelog-editing’: { readonly type: “boolean”; }; readonly ‘no-checks’: { readonly type: “boolean”; }; readonly ‘no-commit-verification’: { readonly type: “boolean”; }; readonly ‘no-issue-closing’: { readonly type: “boolean”; }; readonly ‘no-release’: { readonly type: “boolean”; }; }


Links to this page: