#
Property
nodeDistributionProvided
↑
-
Related tasks:
installNode
,resolvePackageManager
,installPackageManager
,installFrontend
,cleanFrontend
,assembleFrontend
,checkFrontend
,publishFrontend
-
Type:
boolean
-
Required:
true
-
Default value:
false
Whether the Node.js distribution is already provided, and shall not be downloaded.
-
When
false
, taskinstallNode
downloads a Node.js distribution using propertiesnodeVersion
,nodeDistributionUrlRoot
,nodeDistributionUrlPathPattern
, and installs it in the directory pointed by thenodeInstallDirectory
property. When
true
, the plugin relies on the directory pointed by thenodeInstallDirectory
property to locate the Node.js distribution. Othernode*
properties should not be used for clarity.CAUTION: globally installed distribution is modified when using the plugin and
. Executables npm
,pnpm
,yarn
that may already exists within Node.js install directory are overwritten when taskinstallPackageManager
is run.