Skip to content

Commit

Permalink
chore(repo): lefthook parallel, remove husky, and fix changelog prett…
Browse files Browse the repository at this point in the history
…ier issue on rebase (#13787)

Co-authored-by: Daniel Wang <[email protected]>
  • Loading branch information
dionysuzx and dantaik authored May 22, 2023
1 parent 2846e75 commit 26554e8
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 87 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,8 @@ __pycache__/
.pdf

# Ignoring new Bridge UI work for the moment
packages/bridge-ui-v2
packages/bridge-ui-v2

# Ignore .husky for new contributors using lefthook while maintaining
# backwards compatibility for past contributors
.husky
42 changes: 0 additions & 42 deletions .husky/pre-commit

This file was deleted.

42 changes: 0 additions & 42 deletions .husky/prepare-commit-msg

This file was deleted.

3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ lcov.info
package-lock.json
pnpm-lock.yaml
yarn.lock

# ignore changelog because release-please-action manages it
CHANGELOG.md
1 change: 1 addition & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# lefthook.yml
pre-commit:
parallel: true
commands:
bridge-ui:
glob: "packages/bridge-ui/**.{js,svelte,ts}"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.12.0",
"private": true,
"devDependencies": {
"lefthook": "^1.3.13",
"lefthook": "^1.4.0",
"prettier": "^2.8.8"
}
}
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 26554e8

Please sign in to comment.