See: Description
| Interface | Description |
|---|---|
| JavaScriptAwarePortalWebResources |
Should be implemented by every
PortalWebResources that is based on
Javascript content and needs to be notified every time a JSBundle
gets started in order, for example, to refresh its cached content. |
| JSBundle |
Represents an OSGi bundle containing NPM packages and modules.
|
| JSBundleAsset |
Provides contents of a
JSBundleObject. |
| JSBundleObject |
Provides an object related to the NPM description model that can be directly
referenced by its unique ID.
|
| JSBundleProcessor |
Processes an OSGi bundle to find NPM packages and modules inside it and make
them available for the
NPMRegistry to track them. |
| JSBundleTracker | Deprecated
As of Mueller (7.2.x), with no direct replacement
|
| JSModule |
Represents an NPM module inside a
JSBundle. |
| JSPackage |
Represents an NPM package inside a
JSBundle. |
| JSResolvableBundleAsset |
Represents a
JSBundleAsset that is selected/resolved from a pool of
equivalent objects of the same type. |
| ModifiableJSPackage | |
| NPMRegistry | |
| NPMRegistryUpdate |
An object to update the
NPMRegistry modules in an efficient way. |
| NPMRegistryUpdatesListener |
Can be implemented by any service needing to be notified when the
NPMRegistry is updated. |
| NPMResolver |
| Class | Description |
|---|---|
| JSModuleAlias | |
| JSPackageDependency |
Represents an NPM package dependency (i.e., another NPM package).
|
| ModuleNameUtil |
Provides utility methods to manipulate module names.
|
| NPMResolvedPackageNameUtil | |
| NPMResolverUtil |
This class provides the same functionality as NPMResolver but without the
need to reference any OSGi service or component.
|
Defines the interfaces and utilities for the NPM registry facility.
Interfaces and classes here define a model for describing NPM packages and
modules so they can be tracked by the com.liferay.frontend.js.loader.modules.extender.internal.npm.NPMRegistry.
In addition, the JSBundleProcessor
interface provides a way to extend the portal by deploying OSGi components
that analyze bundles in search for NPM packages and modules.
A brief overview of the NPM model is provided defining the following concepts:
package.json file. Packages may depend on
other packages. Packages have a name and version that uniquely
identifies them.
In addition to the previous concepts defined by NPM, the portal also has important concepts:
625/isarray@1.0.0).
625/isarray@1.0.0/lib/index).
isarray@1.0.0/lib/index.