Skip to content

Commit

Permalink
feat: remove npm packages install
Browse files Browse the repository at this point in the history
  • Loading branch information
samueldosramos committed Jul 29, 2023
1 parent 492e5a6 commit 6ca35d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 21 deletions.
22 changes: 2 additions & 20 deletions scripts/npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
source ./scripts/utils.sh
. $HOME/.asdf/asdf.sh

echo_info "Installing node and npm packages..."
echo_info "Setting node and npm packages..."

# Install asdf nodejs plugin and nodejs
asdf plugin-add nodejs
Expand All @@ -17,23 +17,5 @@ asdf global nodejs system
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'

# npm packages
PACKAGES=(
create-react-app
create-react-native-app
eslint
eslint-plugin-mdx
gulp-cli
prettier
sass
typescript
yalc
)

for package in ${PACKAGES[@]}
do
npm install -g $package
done

# Finish
echo_success "Finished node and npm packages settings."
echo_success "Finished node settings."
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ bash ./scripts/apps.sh
# Install dotfiles
bash ./scripts/dotfiles.sh

# Install node and npm packages
# Setting node and npm packages
bash ./scripts/npm.sh

# Generate SSH key
Expand Down

0 comments on commit 6ca35d4

Please sign in to comment.