Skip to content
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

Update website to use nextra@v3 and latest guild/components #3203

Merged
merged 6 commits into from
Mar 24, 2024

Conversation

dotansimha
Copy link
Owner

No description provided.

Copy link

changeset-bot bot commented Mar 21, 2024

⚠️ No Changeset found

Latest commit: ac41306

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented Mar 21, 2024

Apollo Federation Subgraph Compatibility Results

Federation 1 Support Federation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more:

Copy link
Contributor

github-actions bot commented Mar 21, 2024

✅ Benchmark Results

     ✓ no_errors{mode:graphql}
     ✓ expected_result{mode:graphql}
     ✓ no_errors{mode:graphql-jit}
     ✓ expected_result{mode:graphql-jit}
     ✓ no_errors{mode:graphql-response-cache}
     ✓ expected_result{mode:graphql-response-cache}
     ✓ no_errors{mode:graphql-no-parse-validate-cache}
     ✓ expected_result{mode:graphql-no-parse-validate-cache}

     checks.......................................: 100.00% ✓ 404644      ✗ 0     
     data_received................................: 1.6 GB  14 MB/s
     data_sent....................................: 82 MB   681 kB/s
     http_req_blocked.............................: avg=1.45µs   min=952ns    med=1.29µs   max=263.11µs p(90)=1.93µs   p(95)=2.14µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=149.95µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=380.79µs min=213.52µs med=335.84µs max=18.6ms   p(90)=534.46µs p(95)=555.03µs
       { expected_response:true }.................: avg=380.79µs min=213.52µs med=335.84µs max=18.6ms   p(90)=534.46µs p(95)=555.03µs
     ✓ { mode:graphql-jit }.......................: avg=284.42µs min=213.52µs med=262.59µs max=18.24ms  p(90)=293.18µs p(95)=306.03µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=562.88µs min=467.49µs med=533.05µs max=9.62ms   p(90)=576.27µs p(95)=616.1µs 
     ✓ { mode:graphql-response-cache }............: avg=362.01µs min=281.19µs med=340.34µs max=18.6ms   p(90)=374.64µs p(95)=389.2µs 
     ✓ { mode:graphql }...........................: avg=377.32µs min=291.42µs med=342.34µs max=13.41ms  p(90)=389.15µs p(95)=437.53µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 202322
     http_req_receiving...........................: avg=32.6µs   min=15.9µs   med=32.5µs   max=5.91ms   p(90)=38.71µs  p(95)=40.88µs 
     http_req_sending.............................: avg=8.35µs   min=5.85µs   med=7.38µs   max=7.59ms   p(90)=10.85µs  p(95)=11.78µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=339.83µs min=182.66µs med=295.66µs max=18.5ms   p(90)=493.39µs p(95)=511.81µs
     http_reqs....................................: 202322  1685.992933/s
     iteration_duration...........................: avg=588.32µs min=382.05µs med=539.13µs max=18.9ms   p(90)=745.44µs p(95)=770.55µs
     iterations...................................: 202322  1685.992933/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   

Comment on lines 2 to 8
// @ts-expect-error
import { buildDynamicMDX, buildDynamicMeta } from 'nextra/remote'
// @ts-expect-error
import { defaultRemarkPlugins } from '@theguild/components/next.config'
import json from '../../remote-files/v2.json' assert { type: 'json' }
// @ts-expect-error
import { remarkLinkRewrite } from '@theguild/components/compile';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dotansimha should we fix type errors in components first?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah we can

Copy link
Contributor

diff --git a/website/route-lockfile.txt b/website/route-lockfile.txt
index dd25b507..0cd675d9 100644
--- a/website/route-lockfile.txt
+++ b/website/route-lockfile.txt
@@ -1,4 +1,5 @@
 
+/changelog
 /docs
 /docs/comparison
 /docs/features -> /docs
@@ -15,6 +16,7 @@
 /docs/features/graphiql
 /docs/features/health-check
 /docs/features/introspection
+/docs/features/jwt
 /docs/features/logging-and-debugging
 /docs/features/parsing-and-validation-caching
 /docs/features/persisted-operations
@@ -44,6 +46,8 @@
 /docs/migration/migration-from-yoga-v1
 /docs/migration/migration-from-yoga-v2
 /docs/migration/migration-from-yoga-v3
+/docs/migration/migration-from-yoga-v4
+/docs/prepare-for-production
 /docs/quick-start -> /docs
 /docs/testing -> /docs/features/testing
 /examples/graphql-ws -> /docs/features/subscriptions
@@ -66,7 +70,6 @@
 /tutorial/basic/10-filtering-and-pagination
 /tutorial/basic/11-summary
 /v2
-/v2/_meta
 /v2/features/apollo-federation
 /v2/features/context
 /v2/features/cors
@@ -90,7 +93,6 @@
 /v2/migration/migration-from-express-graphql
 /v2/migration/migration-from-yoga-v1
 /v3
-/v3/_meta
 /v3/features/apollo-federation
 /v3/features/automatic-persisted-queries
 /v3/features/context
@@ -131,3 +133,46 @@
 /v3/migration/migration-from-express-graphql
 /v3/migration/migration-from-yoga-v1
 /v3/migration/migration-from-yoga-v2
+/v4
+/v4/features/apollo-federation
+/v4/features/automatic-persisted-queries
+/v4/features/context
+/v4/features/cookies
+/v4/features/cors
+/v4/features/csrf-prevention
+/v4/features/defer-stream
+/v4/features/envelop-plugins
+/v4/features/error-masking
+/v4/features/file-uploads
+/v4/features/graphiql
+/v4/features/health-check
+/v4/features/introspection
+/v4/features/jwt
+/v4/features/logging-and-debugging
+/v4/features/parsing-and-validation-caching
+/v4/features/persisted-operations
+/v4/features/request-batching
+/v4/features/response-caching
+/v4/features/schema
+/v4/features/sofa-api
+/v4/features/subscriptions
+/v4/features/testing
+/v4/integrations/integration-with-aws-lambda
+/v4/integrations/integration-with-bun
+/v4/integrations/integration-with-cloudflare-workers
+/v4/integrations/integration-with-deno
+/v4/integrations/integration-with-express
+/v4/integrations/integration-with-fastify
+/v4/integrations/integration-with-gcp
+/v4/integrations/integration-with-hapi
+/v4/integrations/integration-with-koa
+/v4/integrations/integration-with-nestjs
+/v4/integrations/integration-with-nextjs
+/v4/integrations/integration-with-sveltekit
+/v4/integrations/integration-with-uwebsockets
+/v4/integrations/z-other-environments
+/v4/migration/migration-from-apollo-server
+/v4/migration/migration-from-express-graphql
+/v4/migration/migration-from-yoga-v1
+/v4/migration/migration-from-yoga-v2
+/v4/migration/migration-from-yoga-v3

Copy link
Contributor

💻 Website Preview

The latest changes are available as preview in: https://0559d2e6.graphql-yoga.pages.dev

@dotansimha dotansimha merged commit 80dab2e into main Mar 24, 2024
28 of 29 checks passed
@dotansimha dotansimha deleted the website-nexta-3 branch March 24, 2024 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants