From dbcdd10e74219bb8b034cbc70804cfcf4e52f417 Mon Sep 17 00:00:00 2001 From: zkochan Date: Mon, 16 Oct 2017 15:55:13 +0300 Subject: [PATCH] docs: add comment to installMultiple.ts --- src/install/installMultiple.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/install/installMultiple.ts b/src/install/installMultiple.ts index 2368063e3a..352db7c254 100644 --- a/src/install/installMultiple.ts +++ b/src/install/installMultiple.ts @@ -53,6 +53,9 @@ export type InstalledPackage = { peerDependencies: Dependencies, optionalDependencies: Set, hasBundledDependencies: boolean, + // IDEA: As only a few fields are needed from package.jsno + // it might be a good idea to write them directly to + // InstallPackage to reduce RAM usage pkg: Package, }