Skip to content

Commit 44a8a09

Browse files
author
Marcos Caputo
committed
build
1 parent 63e2e6f commit 44a8a09

File tree

68 files changed

+473737
-8022
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+473737
-8022
lines changed

app/clean-simple.sh

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/usr/bin/env sh
2+
3+
node -v
4+
5+
rm -rf node_modules/
6+
7+
rm -rf modbus/
8+
9+
rm -rf code/
10+
11+
rm -rf .nyc_output/
12+
13+
rm -rf coverage/
14+
15+
rm -rf docs/gen
16+
17+
rm package-lock.json
18+
19+
rm yarn.lock
20+
21+
npm run clean
22+
23+
npm cache verify
24+
25+
npm install
26+
27+
npm i --only=dev
28+
29+
yarn
30+
31+
npm run build
32+
33+
npm run rewrite-changelog
34+
35+
node -v
36+
37+
npm audit

app/clean.sh

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#!/usr/bin/env sh
2+
3+
node -v
4+
5+
rm -rf node_modules/
6+
7+
rm -rf modbus/
8+
9+
rm -rf code/
10+
11+
rm -rf .nyc_output/
12+
13+
rm -rf coverage/
14+
15+
rm -rf docs/gen
16+
17+
rm package-lock.json
18+
19+
rm yarn.lock
20+
21+
npm cache verify
22+
23+
npm install
24+
25+
npm i --only=dev
26+
27+
yarn
28+
29+
# npm run test:publish
30+
31+
node -v
32+
33+
npm audit

app/npm-update.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env sh
2+
3+
# this sh is to see possible updates from NPM
4+
5+
npm cache verify
6+
7+
npm outdated --depth=0
8+
9+
npm install

app/npm-upgrade.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env sh
2+
3+
# this sh is to upgrade all package dependencies from NPM
4+
# you need to install before: npm i -g npm-check-updates
5+
6+
rm package-lock.json
7+
8+
npm cache verify
9+
10+
npm outdated --depth=0
11+
12+
ncu -u
13+
14+
npm i
15+
16+
npm i --only=dev
17+
18+
npm install
19+
20+
npm test
21+
22+
npm run build

0 commit comments

Comments
 (0)