Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcos Caputo committed Aug 29, 2024
1 parent 63e2e6f commit 44a8a09
Show file tree
Hide file tree
Showing 68 changed files with 473,737 additions and 8,022 deletions.
37 changes: 37 additions & 0 deletions app/clean-simple.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/usr/bin/env sh

node -v

rm -rf node_modules/

rm -rf modbus/

rm -rf code/

rm -rf .nyc_output/

rm -rf coverage/

rm -rf docs/gen

rm package-lock.json

rm yarn.lock

npm run clean

npm cache verify

npm install

npm i --only=dev

yarn

npm run build

npm run rewrite-changelog

node -v

npm audit
33 changes: 33 additions & 0 deletions app/clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/usr/bin/env sh

node -v

rm -rf node_modules/

rm -rf modbus/

rm -rf code/

rm -rf .nyc_output/

rm -rf coverage/

rm -rf docs/gen

rm package-lock.json

rm yarn.lock

npm cache verify

npm install

npm i --only=dev

yarn

# npm run test:publish

node -v

npm audit
9 changes: 9 additions & 0 deletions app/npm-update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env sh

# this sh is to see possible updates from NPM

npm cache verify

npm outdated --depth=0

npm install
22 changes: 22 additions & 0 deletions app/npm-upgrade.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env sh

# this sh is to upgrade all package dependencies from NPM
# you need to install before: npm i -g npm-check-updates

rm package-lock.json

npm cache verify

npm outdated --depth=0

ncu -u

npm i

npm i --only=dev

npm install

npm test

npm run build
Loading

0 comments on commit 44a8a09

Please sign in to comment.