Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2015-06-28 01:17:39 +0300
committerRebecca Turner <me@re-becca.org>2015-07-01 14:10:43 +0300
commit3cb6ad2a86a8d228fb10c389b3219855efd564b3 (patch)
tree477e03fbf83e79348e8aed480f689a8e4b145d4c
parent28064e5070dbe38df5281a4a0e14364f4100aadc (diff)
install: Run the "install" lifecycle in the toplevel module
Fixes: #8736 PR-URL: https://github.com/npm/npm/pull/8738
-rw-r--r--lib/install.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/install.js b/lib/install.js
index 9220caab9..40344e90a 100644
--- a/lib/install.js
+++ b/lib/install.js
@@ -477,6 +477,7 @@ Installer.prototype.runTopLevelLifecycles = function (cb) {
steps.push(
[doOneAction, 'preinstall', this.idealTree.path, this.idealTree, trackLifecycle.newGroup('preinstall:.')],
[doOneAction, 'build', this.idealTree.path, this.idealTree, trackLifecycle.newGroup('build:.')],
+ [doOneAction, 'install', this.idealTree.path, this.idealTree, trackLifecycle.newGroup('install:.')],
[doOneAction, 'postinstall', this.idealTree.path, this.idealTree, trackLifecycle.newGroup('postinstall:.')])
if (this.npat) {
steps.push(