Skip to content

Commit 6ca35d4

Browse files
feat: remove npm packages install
1 parent 492e5a6 commit 6ca35d4

File tree

2 files changed

+3
-21
lines changed

2 files changed

+3
-21
lines changed

scripts/npm.sh

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
source ./scripts/utils.sh
77
. $HOME/.asdf/asdf.sh
88

9-
echo_info "Installing node and npm packages..."
9+
echo_info "Setting node and npm packages..."
1010

1111
# Install asdf nodejs plugin and nodejs
1212
asdf plugin-add nodejs
@@ -17,23 +17,5 @@ asdf global nodejs system
1717
mkdir ~/.npm-global
1818
npm config set prefix '~/.npm-global'
1919

20-
# npm packages
21-
PACKAGES=(
22-
create-react-app
23-
create-react-native-app
24-
eslint
25-
eslint-plugin-mdx
26-
gulp-cli
27-
prettier
28-
sass
29-
typescript
30-
yalc
31-
)
32-
33-
for package in ${PACKAGES[@]}
34-
do
35-
npm install -g $package
36-
done
37-
3820
# Finish
39-
echo_success "Finished node and npm packages settings."
21+
echo_success "Finished node settings."

setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ bash ./scripts/apps.sh
1717
# Install dotfiles
1818
bash ./scripts/dotfiles.sh
1919

20-
# Install node and npm packages
20+
# Setting node and npm packages
2121
bash ./scripts/npm.sh
2222

2323
# Generate SSH key

0 commit comments

Comments
 (0)