Class NiteLockFile
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
Packages
public Dictionary<string, NiteLockedPackage> Packages { get; init; }
Property Value
Requires
public Dictionary<string, string> Requires { get; init; }
Property Value
Methods
Fingerprint()
A stable hash of the installed set, used for cache-busting dependency URLs.
public string Fingerprint()
Returns
Save(string)
public void Save(string path)
Parameters
pathstring
TryLoad(string)
public static NiteLockFile? TryLoad(string path)
Parameters
pathstring