Skip to content

Commit 15facc0

Browse files
committed
Address review comments and fix husky issues for Windows
1 parent bdce1ef commit 15facc0

File tree

20 files changed

+2492
-1245
lines changed

20 files changed

+2492
-1245
lines changed

β€Ž.husky/common.shβ€Ž

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
command_exists () {
2+
command -v "$1" >/dev/null 2>&1
3+
}
4+
5+
# Workaround for Windows 10, Git Bash, and Yarn
6+
if command_exists winpty && test -t 1; then
7+
exec < /dev/tty
8+
fi

β€Ž.husky/prepare-commit-msgβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
exec < /dev/tty && npx cz --hook || true
4+
. .husky/common.sh
5+
6+
npx cz --hook || true

β€Žexamples/bs-app-updater-example/README.mdβ€Ž

Lines changed: 0 additions & 64 deletions
This file was deleted.

β€Žexamples/bs-app-updater-example/index.tsβ€Ž

Lines changed: 0 additions & 146 deletions
This file was deleted.

β€Žexamples/bs-app-updater-example/package.jsonβ€Ž

Lines changed: 0 additions & 22 deletions
This file was deleted.
-919 KB
Binary file not shown.

β€Žexamples/bs-app-updater-example/server/index.jsβ€Ž

Lines changed: 0 additions & 30 deletions
This file was deleted.

β€Žexamples/bs-app-updater-example/server/package.jsonβ€Ž

Lines changed: 0 additions & 11 deletions
This file was deleted.

β€Žexamples/bs-app-updater-example/tsconfig.jsonβ€Ž

Lines changed: 0 additions & 11 deletions
This file was deleted.

β€Žexamples/bs-app-updater-example/webpack.config.jsβ€Ž

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
Β (0)