From 3af7d652bbe93ab0c2ac0b9b1151417e46e91704 Mon Sep 17 00:00:00 2001 From: David Barrat Date: Tue, 19 Dec 2023 03:18:09 +0100 Subject: [PATCH] prettify, adding .wrangler path to prettierignore --- .prettierignore | 1 + README.md | 1 - apps/docs/pages/_app.tsx | 4 ++-- apps/docs/theme.config.tsx | 14 +++++++------- services/itty-hydra/main.ts | 5 +---- 5 files changed, 11 insertions(+), 14 deletions(-) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..7310e73 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +.wrangler \ No newline at end of file diff --git a/README.md b/README.md index c1e63f3..f976a84 100644 --- a/README.md +++ b/README.md @@ -10,5 +10,4 @@ Hydra is a lightweight framework written in TypeScript designed to solve Edge caching challenges for GraphQL endpoints such as automated caching and invalidation of relevant cached queries, built-in security. - To get started with Hydra, follow this [link](https://hydra.authdog.com). diff --git a/apps/docs/pages/_app.tsx b/apps/docs/pages/_app.tsx index 6683955..2a34aba 100644 --- a/apps/docs/pages/_app.tsx +++ b/apps/docs/pages/_app.tsx @@ -1,5 +1,5 @@ import "../theme.css"; export default function MyApp({ Component, pageProps }) { - return - } \ No newline at end of file + return ; +} diff --git a/apps/docs/theme.config.tsx b/apps/docs/theme.config.tsx index 5b427cb..552fa4e 100644 --- a/apps/docs/theme.config.tsx +++ b/apps/docs/theme.config.tsx @@ -2,7 +2,6 @@ import React from "react"; import { DocsThemeConfig } from "nextra-theme-docs"; import { GiHydra } from "react-icons/gi"; - const config: DocsThemeConfig = { logo: ( @@ -17,19 +16,20 @@ const config: DocsThemeConfig = { link: "https://corp.auth.dog/discord", }, editLink: { - text: "" + text: "", }, feedback: { - content: null + content: null, }, footer: { component: ( -
- ©{new Date().getFullYear()} Authdog, LLC. +
+ ©{new Date().getFullYear()}  + Authdog, LLC.
- ) + ), }, - faviconGlyph: "🐉" + faviconGlyph: "🐉", }; export default config; diff --git a/services/itty-hydra/main.ts b/services/itty-hydra/main.ts index 5c967a3..92f41f5 100644 --- a/services/itty-hydra/main.ts +++ b/services/itty-hydra/main.ts @@ -11,13 +11,10 @@ let rawSchema = null; try { rawSchema = require("./.hydra/schemaRaw"); -} -catch (err) { +} catch (err) { console.log("err", err); } - - const { preflight, corsify } = createCors(); const router = Router();