Skip to content

NPM - Settings

Process steps in the NPM plug-in

Import Version

Import NPM packages as TAR files.

This step has no input properties.

Roles in the NPM plug-in

The plug-in adds these roles automatically to resources. You cannot add these roles manually.

ComponentProperties

NameTypeDescriptionReference
Import All VersionsBooleanSpecify to import all versions of the specified package. By default only the latest version is imported.
${p:component/ComponentProperties/allVersions}
Log4j Logging LevelEnumeration:
The level of Log4j messages to output to the console. Specify ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, or OFF.
${p:component/ComponentProperties/loggerLevel}
NPM CLI PathStringThe path to the NPM executable file, if not specified on the system PATH environment variable.
${p:component/ComponentProperties/cliPath}
Package NameStringThe name of the NPM package to import. To specify a scope by prepending @<scope_name>/ to the package name. This associates the specified scope with your registry.
${p:component/ComponentProperties/package}
PasswordPasswordThe password to authenticate with the registry.
${p:component/ComponentProperties/password}
Registry URLStringThe fully-qualified URL of the NPM registry. For example https://registry.npmjs.org/.
${p:component/ComponentProperties/registryUrl}
UsernameStringThe user name to authenticate with the registry.
${p:component/ComponentProperties/username}

ImportProperties

NameTypeDescriptionReference
Version to ImportStringThe version of a package to import.