Skip to content

Add lighthouse to implementations #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Mar 31, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/audits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ jobs:
strategy:
matrix:
workspace:
- deno
- hotchocolate
- postgraphile
- lighthouse
- pioneer
- deno
- postgraphile
env:
PORT: 4000
steps:
Expand All @@ -92,7 +93,7 @@ jobs:
*.cache-from=type=gha
*.cache-to=type=gha,mode=max
- name: Start
run: yarn workspace ${{ matrix.workspace }} start -d --wait
run: yarn workspace ${{ matrix.workspace }} start --detach --wait
- name: Audit
run: node scripts/audit-implementation.mjs implementations/${{ matrix.workspace }}
- name: Summary
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -746,8 +746,8 @@ Having said this, graphql-http is mostly aimed for library authors and simple se

If you want a feature-full server with bleeding edge technologies, you're recommended to use one of the following.

<!-- <ServersTable> -->
<!-- prettier-ignore-start -->
<!-- <ServersTable> -->
| Name | Audit |
|------|-------|
| [apollo-server](https://www.apollographql.com/docs/apollo-server) | [✅ Compliant](/implementations/apollo-server/README.md) |
Expand All @@ -756,11 +756,11 @@ If you want a feature-full server with bleeding edge technologies, you're recomm
| [graphql-helix](https://www.graphql-helix.com) | [✅ Compliant](/implementations/graphql-helix/README.md) |
| [graphql-yoga](https://www.the-guild.dev/graphql/yoga-server) | [✅ Compliant](/implementations/graphql-yoga/README.md) |
| [hotchocolate](https://chillicream.com/docs/hotchocolate) | [✅ Compliant](/implementations/hotchocolate/README.md) |
| [lighthouse](https://lighthouse-php.com) | [❌ Not compliant](/implementations/lighthouse/README.md) |
| [pioneer](https://pioneer.dexclaimation.com) | [✅ Compliant](/implementations/pioneer/README.md) |
| [postgraphile](https://www.graphile.org/postgraphile) | [✅ Compliant](/implementations/postgraphile/README.md) |
<!-- prettier-ignore-end -->

<!-- </ServersTable> -->
<!-- prettier-ignore-end -->

## [Documentation](docs/)

Expand Down
21 changes: 21 additions & 0 deletions implementations/lighthouse/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM php:8.1-cli

WORKDIR /app

COPY --from=composer /usr/bin/composer /usr/bin/composer

RUN apt-get update && \
apt-get install --yes \
git \
libzip-dev \
zip \
libicu-dev \
&& docker-php-ext-install \
zip \
mysqli \
pdo_mysql \
intl \
&& rm -rf /var/lib/apt/lists/*
RUN composer create-project laravel/laravel /app
RUN composer require nuwave/lighthouse:dev-master
RUN php artisan vendor:publish --tag=lighthouse-schema
Loading