From b8eb008dd5927fb736e56699637f5f8549965eae Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 6 Dec 2023 18:20:54 +0100 Subject: refactor(hooks): replace useGithubApi with useGithubRepoMeta * use GraphQL API instead of REST (the inconvenient however is that we now need an authorization token...) * move fetcher in services * add tests * mock response using MSW --- .cspell/project-words.txt | 1 + 1 file changed, 1 insertion(+) (limited to '.cspell/project-words.txt') diff --git a/.cspell/project-words.txt b/.cspell/project-words.txt index 869310d..12398c3 100644 --- a/.cspell/project-words.txt +++ b/.cspell/project-words.txt @@ -16,6 +16,7 @@ hexcode Jamstack LINKEDIN maxage +mkcert nextjs nosniff postbuild -- cgit v1.2.3