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

create-graphql-yoga CLI #2698

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

create-graphql-yoga CLI #2698

wants to merge 6 commits into from

Conversation

ardatan
Copy link
Collaborator

@ardatan ardatan commented Apr 19, 2023

Closes #1354 & #1387

@changeset-bot
Copy link

changeset-bot bot commented Apr 19, 2023

🦋 Changeset detected

Latest commit: fe04a47

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@graphql-yoga/template-node-ts Patch
create-graphql-yoga Patch

Not sure what this means? Click here to learn what changesets are.

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

@github-actions
Copy link
Contributor

github-actions bot commented Apr 19, 2023

Apollo Federation Subgraph Compatibility Results

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

Learn more:

@github-actions
Copy link
Contributor

github-actions bot commented Apr 20, 2023

💻 Website Preview

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

@github-actions
Copy link
Contributor

github-actions bot commented Apr 20, 2023

✅ 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% ✓ 303880      ✗ 0     
     data_received................................: 1.3 GB  11 MB/s
     data_sent....................................: 61 MB   511 kB/s
     http_req_blocked.............................: avg=1.72µs   min=1µs     med=1.4µs   max=5.52ms  p(90)=2.1µs    p(95)=2.29µs  
     http_req_connecting..........................: avg=5ns      min=0s      med=0s      max=480.2µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=532.95µs min=277.7µs med=435.9µs max=38.65ms p(90)=757.8µs  p(95)=795.7µs 
       { expected_response:true }.................: avg=532.95µs min=277.7µs med=435.9µs max=38.65ms p(90)=757.8µs  p(95)=795.7µs 
     ✓ { mode:graphql-jit }.......................: avg=406.2µs  min=277.7µs med=350.8µs max=19.88ms p(90)=420.7µs  p(95)=475.2µs 
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=823.65µs min=677.8µs med=753.2µs max=22.24ms p(90)=826µs    p(95)=927.87µs
     ✓ { mode:graphql-response-cache }............: avg=463.12µs min=329µs   med=412.1µs max=20.85ms p(90)=467µs    p(95)=502.4µs 
     ✓ { mode:graphql }...........................: avg=547.83µs min=402.9µs med=470.4µs max=38.65ms p(90)=559.45µs p(95)=655.68µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 151940
     http_req_receiving...........................: avg=30.33µs  min=17µs    med=26.2µs  max=12.32ms p(90)=37.69µs  p(95)=42.3µs  
     http_req_sending.............................: avg=13.39µs  min=6.3µs   med=8.2µs   max=6.47ms  p(90)=13.3µs   p(95)=15.3µs  
     http_req_tls_handshaking.....................: avg=0s       min=0s      med=0s      max=0s      p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=489.22µs min=249.7µs med=397.2µs max=38.06ms p(90)=721.3µs  p(95)=749.6µs 
     http_reqs....................................: 151940  1266.138828/s
     iteration_duration...........................: avg=784.09µs min=485.6µs med=680.4µs max=39.27ms p(90)=1ms      p(95)=1.06ms  
     iterations...................................: 151940  1266.138828/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   

@github-actions
Copy link
Contributor

github-actions bot commented Apr 20, 2023

🚀 Snapshot Release (rc)

The latest changes of this PR are available as rc on npm (based on the declared changesets):

Package Version Info
graphql-yoga-cloud-run-guide 2.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/template-node-ts 1.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/apollo-link 2.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/urql-exchange 2.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
create-graphql-yoga 0.0.1-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/redis-event-target 2.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/typed-event-target 2.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/graphiql 4.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
graphql-yoga 4.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/logger 1.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs 2.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs-federation 2.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apollo-inline-trace 2.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apq 2.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-csrf-prevention 2.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-defer-stream 2.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-disable-introspection 1.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-graphql-sse 2.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-persisted-operations 2.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-prometheus 2.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-response-cache 2.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-sofa 2.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 4.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎
@graphql-yoga/subscription 4.0.0-rc-20230526141732-fe04a475 npm ↗︎ unpkg ↗︎

@ardatan ardatan marked this pull request as ready for review April 20, 2023 11:31
@theguild-bot theguild-bot mentioned this pull request Apr 20, 2023
This was referenced May 7, 2024
This was referenced May 23, 2024
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.

npx command for creating templates bootstrap like Next.js create-yoga
1 participant