modpack-lock
    Preparing search index...

    Type Alias Lockfile

    Lockfile shape; contains detailed information about the modpack dependencies and their versions.

    type Lockfile = {
        version: string;
        generated: string;
        total: number;
        counts: Partial<Record<DependencyCategory, number>>;
        dependencies: {
            mods?: LockfileDependency[];
            resourcepacks?: LockfileDependency[];
            datapacks?: LockfileDependency[];
            shaderpacks?: LockfileDependency[];
        };
    }
    Index

    Properties

    version: string

    The version of the lockfile

    generated: string

    The date and time the lockfile was generated

    total: number

    The total number of files in the modpack

    counts: Partial<Record<DependencyCategory, number>>

    An object containing the number of files in each dependency category

    dependencies: {
        mods?: LockfileDependency[];
        resourcepacks?: LockfileDependency[];
        datapacks?: LockfileDependency[];
        shaderpacks?: LockfileDependency[];
    }

    An object containing arrays with all the modpack's dependencies and their version information