Skip to content

Commit

Permalink
install: rename prepublish.js to prepare.js
Browse files Browse the repository at this point in the history
PR-URL: npm/npm#14290
Credit: @othiym23
Reviewed-By: @watilde
Reviewed-By: @iarna
Reviewed-By: @zkat
  • Loading branch information
othiym23 authored and zkat committed Oct 20, 2016
1 parent 9b4a227 commit bc32078
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ Installer.prototype.runPostinstallTopLevelLifecycles = function (cb) {
[doOneAction, 'postinstall', this.idealTree.path, this.idealTree, trackLifecycle.newGroup('postinstall:.')])
if (this.dev) {
steps.push(
[doOneAction, 'prepublish', this.idealTree.path, this.idealTree, trackLifecycle.newGroup('prepublish')])
[doOneAction, 'prepare', this.idealTree.path, this.idealTree, trackLifecycle.newGroup('prepare')])
}
chain(steps, cb)
}
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/install/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ actions.test = require('./action/test.js')
actions.preinstall = require('./action/preinstall.js')
actions.install = require('./action/install.js')
actions.postinstall = require('./action/postinstall.js')
actions.prepublish = require('./action/prepublish.js')
actions.prepare = require('./action/prepare.js')
actions.finalize = require('./action/finalize.js')
actions.remove = require('./action/remove.js')
actions.move = require('./action/move.js')
Expand Down

0 comments on commit bc32078

Please sign in to comment.