File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -157,11 +157,14 @@ Default configuration as below:
157157
158158### NodeJS configuration
159159
160- | Variable Name | Type | Description | Default |
161- | ----------------| --------| ---------------------------------| ---------|
162- | install | bool | Install NodeJS or not | ` true ` |
163- | version | string | Setup NodeJS version to install | ` "18" ` |
164- | install_yarn | bool | Install ` yarn ` or not | ` true ` |
160+ | Variable Name | Type | Description | Default |
161+ | ----------------| --------| ---------------------------------| ------------|
162+ | install | bool | Install NodeJS or not | ` true ` |
163+ | version | string | Setup NodeJS version to install | ` "lts" ` |
164+ | nvm_version | string | ` nvm ` version number | ` "0.39.1" ` |
165+
166+ GearBox use [ ` nvm ` ] ( https://github.com/nvm-sh/nvm ) to install NodeJS.
167+ Valid ` nvm ` version numbers can be found at [ https://github.com/nvm-sh/nvm/releases ] ( https://github.com/nvm-sh/nvm/releases ) .
165168
166169### Golang configuration
167170
Original file line number Diff line number Diff line change 11- name : Install nvm
22 hosts : localhost
33 vars :
4- version : ' {{ nodejs.version|default("18 ") }}'
4+ version : ' {{ nodejs.version|default("lts ") }}'
55 nvm_version : ' {{ nodejs.nvm_version|default("0.39.1") }}'
66 tasks :
77 - name : ' Install nvm v{{ nvm_version }}'
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ func New() *Configuration {
107107 },
108108 NodeJS : confNodeJS {
109109 Install : true ,
110- Version : "18 " ,
110+ Version : "lts " ,
111111 NvmVersion : "0.39.1" ,
112112 },
113113 GoLang : confGoLang {
You can’t perform that action at this time.
0 commit comments