liferay-npm-bundler-plugin-namespace-packages
Advanced tools
Comparing version 2.6.2 to 2.7.0
@@ -25,3 +25,7 @@ 'use strict'; | ||
var fixturesDir = _path2.default.join(__dirname, '__fixtures__'); | ||
var fixturesDir = _path2.default.join(__dirname, '__fixtures__'); /** | ||
* © 2017 Liferay, Inc. <https://liferay.com> | ||
* | ||
* SPDX-License-Identifier: LGPL-3.0-or-later | ||
*/ | ||
@@ -28,0 +32,0 @@ it('namespaces packages correctly for the root package', function () { |
@@ -8,4 +8,4 @@ 'use strict'; | ||
exports.default = function (_ref, _ref2) { | ||
var pkg = _ref.pkg, | ||
log = _ref.log, | ||
var log = _ref.log, | ||
pkg = _ref.pkg, | ||
rootPkgJson = _ref.rootPkgJson; | ||
@@ -12,0 +12,0 @@ var pkgJson = _ref2.pkgJson; |
{ | ||
"name": "liferay-npm-bundler-plugin-namespace-packages", | ||
"version": "2.6.2", | ||
"version": "2.7.0", | ||
"description": "A liferay-npm-bundler plugin to namespace package names based on root project's name.", | ||
@@ -16,4 +16,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"liferay-npm-build-tools-common": "2.6.2" | ||
"liferay-npm-build-tools-common": "2.7.0" | ||
} | ||
} |
@@ -0,1 +1,7 @@ | ||
/** | ||
* © 2017 Liferay, Inc. <https://liferay.com> | ||
* | ||
* SPDX-License-Identifier: LGPL-3.0-or-later | ||
*/ | ||
import PkgDesc from 'liferay-npm-build-tools-common/lib/pkg-desc'; | ||
@@ -2,0 +8,0 @@ import PluginLogger from 'liferay-npm-build-tools-common/lib/plugin-logger'; |
@@ -0,1 +1,7 @@ | ||
/** | ||
* © 2017 Liferay, Inc. <https://liferay.com> | ||
* | ||
* SPDX-License-Identifier: LGPL-3.0-or-later | ||
*/ | ||
import * as ns from 'liferay-npm-build-tools-common/lib/namespace'; | ||
@@ -6,3 +12,3 @@ | ||
*/ | ||
export default function({pkg, log, rootPkgJson}, {pkgJson}) { | ||
export default function({log, pkg, rootPkgJson}, {pkgJson}) { | ||
if (!pkg.isRoot) { | ||
@@ -9,0 +15,0 @@ pkgJson.name = ns.addNamespace(pkgJson.name, rootPkgJson); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
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
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
15347
131
2
70
+ Addedliferay-npm-build-tools-common@2.7.0(transitive)
- Removedliferay-npm-build-tools-common@2.6.2(transitive)