liferay-npm-bundler-plugin-namespace-packages
Advanced tools
Comparing version 2.7.1 to 2.8.0
{ | ||
"name": "liferay-npm-bundler-plugin-namespace-packages", | ||
"version": "2.7.1", | ||
"version": "2.8.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.7.1" | ||
"liferay-npm-build-tools-common": "2.8.0" | ||
} | ||
} |
# liferay-npm-bundler-plugin-namespace-packages | ||
> Namespace package names based on the root project's package name and version. | ||
> This plugin prepends `<project-package-name>$` to each package name appearance | ||
> in package.json files so that the packages are isolated per project and don't | ||
> Namespace package names based on the root project's package name and version. | ||
> This plugin prepends `<project-package-name>$` to each package name appearance | ||
> in package.json files so that the packages are isolated per project and don't | ||
> clash. | ||
@@ -19,2 +19,3 @@ | ||
**Without options:** | ||
```json | ||
@@ -30,6 +31,6 @@ { | ||
This plugins rewrites package names in `package.json` files to prepend the root | ||
project's name to them. | ||
This plugins rewrites package names in `package.json` files to prepend the root | ||
project's name to them. | ||
In case a module belongs to a scoped package, the root project's name is | ||
In case a module belongs to a scoped package, the root project's name is | ||
prepended to the scope name not including the `@`. So, for example, | ||
@@ -39,13 +40,13 @@ `@a-scope/a-package` would be converted to `@my-project$a-scope/a-package`. | ||
This plugin is normally used to sandbox dependencies of a whole project so that | ||
they are not shared with any other project. This, of course, disables the | ||
possibility of deduplication between different portlets, but leads to better | ||
stability and predictability during runtime (specially when using peer | ||
they are not shared with any other project. This, of course, disables the | ||
possibility of deduplication between different projects, but leads to better | ||
stability and predictability during runtime (specially when using peer | ||
dependencies). | ||
When this plugin is used you are guaranteed that you will get the same | ||
When this plugin is used you are guaranteed that you will get the same | ||
dependencies during runtime as during development. | ||
Please note that, if you intend to use this plugin with `liferay-npm-bundler`, | ||
you should also use its counterpart | ||
`babel-plugin-namespace-modules` which namespaces modules inside AMD `define()` | ||
Please note that, if you intend to use this plugin with `liferay-npm-bundler`, | ||
you should also use its counterpart | ||
`babel-plugin-namespace-modules` which namespaces modules inside AMD `define()` | ||
and `require()` calls too. |
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
50
15335
+ Addedliferay-npm-build-tools-common@2.8.0(transitive)
+ Addedproperties@1.2.1(transitive)
- Removedliferay-npm-build-tools-common@2.7.1(transitive)