diff --git a/.gitignore b/.gitignore index c87688245c..9c88dce39b 100644 --- a/.gitignore +++ b/.gitignore @@ -56,6 +56,3 @@ node_modules # Storybook build-storybook.log - -# GraphQL -graphql-digest.txt diff --git a/.husky/post-checkout b/.husky/post-checkout deleted file mode 100755 index b3574d90d0..0000000000 --- a/.husky/post-checkout +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" -digest_file='src/graphql/graphql-digest.txt' -current_hash=`cat $(find . -type f -name "*.graphql") | openssl dgst -sha256` -if [ ! -e $digest_file ] || [ `cat $digest_file` != "$current_hash" ]; then - # Only update the hash if the gql codegen succeeded - yarn gql && echo $current_hash > $digest_file -fi