See: Description
Interface | Description |
---|---|
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. |
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. |
NPMRegistry | |
NPMResolver |
Class | Description |
---|---|
JSModuleAlias | |
JSPackageDependency |
Represents an NPM package dependency (i.e., another NPM package).
|
ModuleNameUtil |
Provides utility methods to manipulate module names.
|
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
.