Skip to content

Commit

Permalink
Add update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
relliv committed Nov 12, 2024
1 parent 0fd2b4f commit 5c01533
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .scripts/local/bump.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@REM update all packages to the latest minor and patch version

@REM ensure PNPM is installed
CALL pnpm add -g pnpm

@REM check all updates and update them
CALL npx --yes npm-check-updates --packageManager npm --target minor -u

@REM install node dependencies
CALL pnpm i --no-frozen-lockfile
10 changes: 10 additions & 0 deletions .scripts/local/bump.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# update all packages to the latest minor and patch version

# ensure PNPM is installed
pnpm add -g pnpm

# check all updates and update them
npx --yes npm-check-updates --packageManager pnpm --target minor -u

# install node dependencies
pnpm i --no-frozen-lockfile

0 comments on commit 5c01533

Please sign in to comment.