diff options
author | Rebecca Turner <me@re-becca.org> | 2015-06-28 01:17:39 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2015-07-01 14:10:43 +0300 |
commit | 3cb6ad2a86a8d228fb10c389b3219855efd564b3 (patch) | |
tree | 477e03fbf83e79348e8aed480f689a8e4b145d4c /lib/install.js | |
parent | 28064e5070dbe38df5281a4a0e14364f4100aadc (diff) |
install: Run the "install" lifecycle in the toplevel module
Fixes: #8736
PR-URL: https://github.com/npm/npm/pull/8738
Diffstat (limited to 'lib/install.js')
-rw-r--r-- | lib/install.js | 1 |
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( |