Skip to content

Commit

Permalink
Create update_deps.sh
Browse files Browse the repository at this point in the history
Signed-off-by: gamestime102 <180412020+gamestime102@users.noreply.github.com>
  • Loading branch information
gamestime102 authored Jan 11, 2025
1 parent 412981c commit 707cb39
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions update_deps.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/sh

# go to root
cd `dirname $0`

# clear shrinkwrapped node_modules
rm package-lock.json
rm -rf node_modules/

# abort if tests fail
set -e

# install dependencies
npm install

# build and test
npm test

# Add build files to git
git add package-lock.json
git commit -m "Update npm dependencies and package lock"

0 comments on commit 707cb39

Please sign in to comment.