UNPKG
@tonyo/alpaga
Version:
latest (0.1.4)
0.1.4
0.1.3
0.1.2
0.1.1
Test package
github.com/tonyo/alpaga
tonyo/alpaga
@tonyo/alpaga
/
tmp
/
node-v10.15.0-win-x86
/
node_modules
/
npm
/
lib
/
install
/
action
/
global-link.js
9 lines
(7 loc)
•
243 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
'use strict'
var
npm =
require
(
'../../npm.js'
)
var
packageId =
require
(
'../../utils/package-id.js'
)
module
.
exports
=
function
(
staging, pkg, log, next
) { log.
silly
(
'global-link'
,
packageId
(pkg)) npm.
link
(pkg.
package
.
name
, next) }