#!/bin/sh

NPM_USERNAME="fernandopasik"
AUTHOR_NAME="Fernando Pasik"
AUTHOR_EMAIL="fernando@pasik.com"
AUTHOR_URL="https://fernandopasik.com"

# Installing npm global packages
npm i -g npm@next npm-check-updates yo

# Setting up username
npm set username $NPM_USERNAME
npm set email $AUTHOR_EMAIL

# Setting up default npm init options
npm set init.author.name $AUTHOR_NAME
npm set init.author.email $AUTHOR_EMAIL
npm set init.author.url $AUTHOR_URL

# Login to npmjs.org
npm adduser

#!/bin/sh

NPM_USERNAME="fernandopasik"
AUTHOR_NAME="Fernando Pasik"
AUTHOR_EMAIL="fernando@pasik.com"
AUTHOR_URL="https://fernandopasik.com"

# Installing npm global packages
npm i -g npm@next
yarn global add npm-check-updates yo

# Setting up username
npm set username $NPM_USERNAME
npm set email $AUTHOR_EMAIL

# Setting up default npm init options
npm set init.author.name $AUTHOR_NAME
npm set init.author.email $AUTHOR_EMAIL
npm set init.author.url $AUTHOR_URL

# Login to npmjs.org
npm adduser

Install global packages with yarn
refactor: Install global packages with yarn
