global-link.js 289 B

123456789
  1. 'use strict'
  2. var moduleName = require('../../utils/module-name.js')
  3. var npm = require('../../npm.js')
  4. var packageId = require('../../utils/package-id.js')
  5. module.exports = function (staging, pkg, log, next) {
  6. log.silly('global-link', packageId(pkg))
  7. npm.link(moduleName(pkg), next)
  8. }