Skip to content

Commit

Permalink
feat: add global Node.js packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbruijn committed May 6, 2024
1 parent 5eb069d commit 500b868
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ assert_macos
sync_dotfiles
install_homebrew
install_software
source nodejs/install
source zsh/install

if [ -z "${NO_MACOS}" ]; then
Expand Down
14 changes: 14 additions & 0 deletions nodejs/install
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh
#
# Install global Node.js packages.
install_npm_packages() {
echo " INFO: installing global Node.js packages"
npm install --global \
npm-check-updates \
tsx \
typescript \
wscat \
| sed -u 's/^/ /'
}

install_npm_packages

0 comments on commit 500b868

Please sign in to comment.