mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-12 00:19:15 +00:00
Add yarn
This commit is contained in:
parent
cede26e2fa
commit
eba288c868
|
@ -277,6 +277,7 @@ if ! skip_base_upgrades ; then
|
||||||
|
|
||||||
# Update NPM (Node Package Manager)
|
# Update NPM (Node Package Manager)
|
||||||
npm install -g npm@$NODE_NPM_VERSION
|
npm install -g npm@$NODE_NPM_VERSION
|
||||||
|
npm install -g yarn
|
||||||
|
|
||||||
# Install Docker
|
# Install Docker
|
||||||
mkdir -p /etc/apt/keyrings
|
mkdir -p /etc/apt/keyrings
|
||||||
|
|
|
@ -351,6 +351,7 @@ usermod -aG docker root
|
||||||
# Install node packages
|
# Install node packages
|
||||||
npm install -g pug-cli browserify uglify-js babel-cli
|
npm install -g pug-cli browserify uglify-js babel-cli
|
||||||
npm install -g npm@$NODE_NPM_VERSION
|
npm install -g npm@$NODE_NPM_VERSION
|
||||||
|
npm install -g yarn
|
||||||
|
|
||||||
# Install Log2Ram
|
# Install Log2Ram
|
||||||
if [ $IS_RASPI = 1 ]; then
|
if [ $IS_RASPI = 1 ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user