feat: add version to DependencyShrinkwrap

This commit is contained in:
zkochan
2017-10-02 21:59:05 +03:00
parent 258f8ef580
commit a08d51ec34

View File

@@ -55,7 +55,10 @@ export type DependencyShrinkwrap = {
id?: string,
dev?: true,
optional?: true,
name?: string, // is only needed for packages that are hosted not in the npm registry
// name and version are only needed
// for packages that are hosted not in the npm registry
name?: string,
version?: string,
resolution: ShrinkwrapResolution,
dependencies?: ResolvedDependencies,
optionalDependencies?: ResolvedDependencies,