Nanananananananana.. Pat Man!

    @types/git-semver-tags
    TypeScript icon, indicating that this package has built-in type declarations

    4.1.1 • Public • Published

    Installation

    npm install --save @types/git-semver-tags

    Summary

    This package contains type definitions for git-semver-tags (https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/git-semver-tags#readme).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-semver-tags.

    index.d.ts

    // Type definitions for git-semver-tags 4.1
    // Project: https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/git-semver-tags#readme
    // Definitions by: Jason Kwok <https://github.com/JasonHK>
    //                 Piotr Błażejewicz <https://github.com/peterblazejewicz>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    /**
     * Get all git semver tags of your repository in reverse chronological order
     */
    declare function gitSemverTags(options: gitSemverTags.Options, callback: gitSemverTags.Callback): void;
    declare function gitSemverTags(callback: gitSemverTags.Callback): void;
    
    declare namespace gitSemverTags {
        type Callback = (error: any, tags: string[]) => void;
    
        interface Options {
            /**
             * Extract lerna style tags (`foo-package@2.0.0`) from the git history, rather
             * than `v1.0.0` format.
             */
            lernaTags?: boolean | undefined;
    
            /**
             * What package should lerna style tags be listed for, e.g., `foo-package`.
             */
            package?: string | undefined;
    
            /**
             * Specify a prefix for the git tag to be ignored from the semver checks.
             */
            tagPrefix?: string | undefined;
    
            /**
             * If given, unstable tags (e.g. `x.x.x-alpha.1`, `x.x.x-rc.2`) will be skipped.
             */
            skipUnstable?: boolean | undefined;
        }
    }
    
    export = gitSemverTags;

    Additional Details

    • Last updated: Thu, 08 Jul 2021 12:02:08 GMT
    • Dependencies: none
    • Global values: none

    Credits

    These definitions were written by Jason Kwok, and Piotr Błażejewicz.

    Keywords

    none

    Install

    npm i @types/git-semver-tags

    DownloadsWeekly Downloads

    1,304

    Version

    4.1.1

    License

    MIT

    Unpacked Size

    5.74 kB

    Total Files

    4

    Last publish

    Collaborators

    • types