liferay-npm-bundler-plugin-resolve-linked-dependencies
Advanced tools
Comparing version 2.0.0-rc.1 to 2.0.0-rc.2
@@ -16,3 +16,3 @@ 'use strict'; | ||
if (_semver2.default.validRange(link) == null) { | ||
var depPkgJsonPath = _path2.default.join(link.replace('file:', ''), 'package.json'); | ||
var depPkgJsonPath = _path2.default.join('node_modules', name, 'package.json'); | ||
@@ -19,0 +19,0 @@ var depPkgJson = (0, _readJsonSync2.default)(depPkgJsonPath); |
{ | ||
"name": "liferay-npm-bundler-plugin-resolve-linked-dependencies", | ||
"version": "2.0.0-rc.1", | ||
"version": "2.0.0-rc.2", | ||
"description": "A liferay-npm-bundler plugin to replace linked dependencies versions by their real values..", | ||
@@ -15,3 +15,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"liferay-npm-build-tools-common": "2.0.0-rc.1", | ||
"liferay-npm-build-tools-common": "2.0.0-rc.2", | ||
"read-json-sync": "^2.0.0", | ||
@@ -18,0 +18,0 @@ "semver": "^5.5.0" |
@@ -15,3 +15,4 @@ import path from 'path'; | ||
const depPkgJsonPath = path.join( | ||
link.replace('file:', ''), | ||
'node_modules', | ||
name, | ||
'package.json' | ||
@@ -18,0 +19,0 @@ ); |
Sorry, the diff of this file is not supported yet
55
4509
+ Addedliferay-npm-build-tools-common@2.0.0-rc.2(transitive)
- Removedliferay-npm-build-tools-common@2.0.0-rc.1(transitive)