Skip to content

Commit

Permalink
fix(workspace): updata husky hooks, fix unit test coverage thresholds (
Browse files Browse the repository at this point in the history
…#868)

- [x] adjust unit test coverage thresholds for the tools project;
- [x] migrate husky hooks after upgrade to v9;
  • Loading branch information
rfprod authored Aug 30, 2024
1 parent 621e034 commit 7831429
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/bin/sh

# shellcheck source=.husky/_/husky.sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit "$1"
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/sh

# shellcheck source=.husky/_/husky.sh
. "$(dirname "$0")/_/husky.sh"

if [ "$NO_VERIFY" = 1 ]; then
echo "pre-commit skipped"
exit 0
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@app/nx-ng-starter",
"version": "8.0.7",
"version": "8.0.8",
"private": true,
"description": "Monorepo starter: Nx, Angular, Angular Elements, Electron, NodeJS, NestJS, Firebase.",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions tools/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ const config: Config.InitialOptions = {
global: {
branches: 68,
functions: 77,
lines: 79,
statements: 78,
lines: 78,
statements: 77,
},
},
displayName: 'tools',
Expand Down

0 comments on commit 7831429

Please sign in to comment.