fix: misalignments in dev lifecycle

pull/357/head
Webber 2022-03-13 14:34:11 +00:00
parent 1035464c56
commit c1595485e8
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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"