assets-manager
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -44,2 +44,4 @@ 'use strict'; | ||
(0, _assert2.default)(_path2.default.isAbsolute(this.options.cwd || ''), 'options.cwd must be an absolute path'); | ||
this.relative = _path2.default.relative(process.cwd(), this.options.cwd); | ||
} | ||
@@ -107,3 +109,3 @@ | ||
value: function getPackagePath(packageName) { | ||
return _path2.default.join(this.options.dir, packageName); | ||
return _path2.default.join(this.relative, this.options.dir, packageName); | ||
} | ||
@@ -110,0 +112,0 @@ }]); |
@@ -21,2 +21,6 @@ 'use strict'; | ||
var _configure = require('../configure'); | ||
var _configure2 = _interopRequireDefault(_configure); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -43,3 +47,3 @@ | ||
overrides: {}, | ||
dir: 'node_modules' | ||
dir: _configure2.default.get('registry.npm.dir', 'node_modules') | ||
}, options); | ||
@@ -46,0 +50,0 @@ return _this; |
{ | ||
"name": "assets-manager", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "Copy packages files based on manifest file", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/amazingSurge/assets-manager", |
@@ -29,3 +29,3 @@ # assets-manager [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url] | ||
### See in action | ||
[![gulp](https://raw.githubusercontent.com/amazingSurge/assets-manager/master/demo/gulp.gif)] | ||
![gulp](https://raw.githubusercontent.com/amazingSurge/assets-manager/master/demo/gulp.gif) | ||
@@ -32,0 +32,0 @@ ## Usage |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70259
1506