fix: misalignments in dev lifecycle
parent
1035464c56
commit
c1595485e8
|
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-merge.\n"; exit 2; }
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
git lfs post-merge "$@"
|
|
||||||
|
|
||||||
yarn lint-staged --verbose && yarn build && git add dist
|
yarn lint-staged --verbose
|
||||||
|
yarn build
|
||||||
|
git add dist
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@
|
||||||
"*.{js,jsx,ts,tsx}": [
|
"*.{js,jsx,ts,tsx}": [
|
||||||
"prettier --write",
|
"prettier --write",
|
||||||
"eslint",
|
"eslint",
|
||||||
"jest --findRelatedTests"
|
"jest --findRelatedTests --passWithNoTests"
|
||||||
],
|
],
|
||||||
"*.{json,md,yaml,yml}": [
|
"*.{json,md,yaml,yml}": [
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue