From 2196e6c5f4869e232ab0c5dc89bf579c2b35014b Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Sat, 30 Jan 2016 14:33:38 +0800 Subject: [PATCH] Document pkg.fullname --- lib/install.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/install.js b/lib/install.js index 7627a71ed9..6e95a0b6d9 100644 --- a/lib/install.js +++ b/lib/install.js @@ -54,7 +54,12 @@ module.exports = function install (ctx, pkgSpec, modules, options) { // => ['babel-core@6.4.5', 'babylon@6.4.5', 'babel-runtime@5.8.35'] keypath: (options && options.keypath || []), - // Full name of package => 'lodash@4.0.0' + // Full name of package as it should be put in the store. Aim to make + // this as friendly as possible as this will appear in stack traces. + // => 'lodash@4.0.0' + // => '@rstacruz!tap-spec@4.1.1' + // => 'rstacruz!pnpm.js@0a1b382da' + // => 'foobar@9a3b283ac' fullname: undefined, // Distribution data from resolve() => { shasum, tarball }