diff --git a/.github/workflows/ci.yml b/.github/workflows/deploy.yml similarity index 94% rename from .github/workflows/ci.yml rename to .github/workflows/deploy.yml index ebd5ede..444d6af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,4 @@ -name: CI +name: Deploy on: workflow_dispatch: @@ -21,11 +21,11 @@ env: jobs: deploy: name: "Deploy" - timeout-minutes: 3.69 + timeout-minutes: 2 runs-on: ["ubuntu-latest"] steps: - name: "Checkout" - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 - name: "Setup Bun" uses: oven-sh/setup-bun@v1 diff --git a/README.md b/README.md index 0ac386d..1228448 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,9 @@ or get the `SDL` [`https://introspect.lagon.dev/sdl/https://spacex-production.up.railway.app`](https://introspect.lagon.dev/sdl/https://spacex-production.up.railway.app) -or play around with it in a live playground [https://introspect.lagon.dev/playground/https://spacex-production.up.railway.app](https://introspect.lagon.dev/playground/https://spacex-production.up.railway.app) +or play around with it in a live playground + +[`https://introspect.lagon.dev/playground/https://spacex-production.up.railway.app`](https://introspect.lagon.dev/playground/https://spacex-production.up.railway.app) By default API will return schema as `JSON` diff --git a/bun.lockb b/bun.lockb index d4f29f6..3bdda04 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 21f5cb9..20da282 100644 --- a/package.json +++ b/package.json @@ -12,11 +12,11 @@ "deploy": "lagon deploy --production" }, "dependencies": { - "graphql": "^16.7.1" + "graphql": "^16.8.1" }, "devDependencies": { - "bun-types": "^0.7.1", - "typescript": "^5.1.6" + "bun-types": "^1.0.13", + "typescript": "^5.2.2" }, "license": "GPL-3.0-or-later", "keywords": [ diff --git a/src/graphql/graphiql.html.ts b/src/graphql/graphiql.html.ts index 3c1c9da..0f9c0e8 100644 --- a/src/graphql/graphiql.html.ts +++ b/src/graphql/graphiql.html.ts @@ -19,48 +19,35 @@ export function htmlPage({ endpoint }: { endpoint: string }) { width: 100%; overflow: hidden; } - #graphiql { height: 100vh; } - - - + + + - +