Table of Contents

Class NiteLockFile

Namespace
Nite.Packages
Assembly
Nite.dll

nite.lock.json: the exact packages and where they sit in node_modules.

public sealed class NiteLockFile
Inheritance
NiteLockFile
Inherited Members

Properties

LockfileVersion

public int LockfileVersion { get; init; }

Property Value

int

Packages

public Dictionary<string, NiteLockedPackage> Packages { get; init; }

Property Value

Dictionary<string, NiteLockedPackage>

Requires

public Dictionary<string, string> Requires { get; init; }

Property Value

Dictionary<string, string>

Methods

Fingerprint()

A stable hash of the installed set, used for cache-busting dependency URLs.

public string Fingerprint()

Returns

string

Save(string)

public void Save(string path)

Parameters

path string

TryLoad(string)

public static NiteLockFile? TryLoad(string path)

Parameters

path string

Returns

NiteLockFile