Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GraphiQL & the GraphQL LSP Reference Ecosystem for building browser & IDE tools.

License

NotificationsYou must be signed in to change notification settings

graphql/graphiql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQLConf 2024 Banner: September 10-12, San Francisco. Hosted by the GraphQL Foundation

GraphQL IDE Monorepo

Security Notice: All versions ofgraphiql <1.4.7 are vulnerable to anXSS attack in cases where the GraphQL server to which the GraphiQL web appconnects is not trusted. Learn morein the graphiqlsecurity docs directory

Looking for theGraphiQL Docs?: This is theroot of the monorepo! The full GraphiQL docs are located atpackages/graphiql

Build StatusDiscordCode CoverageGitHub top languageGitHub language countSnyk Vulnerabilities for GitHub RepoCII Best Practices

Overview

GraphiQL is the reference implementation of this monorepo, GraphQL IDE, anofficial project under the GraphQL Foundation. The code uses the permissive MITlicense.

Whether you want a simple GraphiQL IDE instance for your server, or a moreadvanced web or desktop GraphQL IDE experience for your framework or plugin, oryou want to build an IDE extension or plugin, you've come to the right place!

The purpose of this monorepo is to give the GraphQL Community:

  • a to-specification official language service (see:API Docs)
  • a comprehensive LSP server and CLI service for use with IDEs
  • a codemirror mode
  • a monaco mode (in the works)
  • an example of how to use this ecosystem with GraphiQL.
  • examples of how to implement or extend GraphiQL.

NPMjsDelivr hits (npm)npm downloadsSnyk Vulnerabilities for npm packagenpm bundle size (version)npm bundle size (version)

Screenshot of GraphiQL with Doc Explorer Open

/ˈɡrafək(ə)l/ A graphical interactive in-browser GraphQL IDE.Try the live demo. We also havea demo using our latest netlify build forthemain branch.

The GraphiQL IDE, implemented in React, currently usingGraphQL mode for CodeMirror &GraphQL Language Service.

Learn more aboutGraphiQL inpackages/graphiql/README.md

NPMjsDelivr hits (npm)npm downloadsSnyk Vulnerabilities for npm package

Provides monaco editor with a powerful, schema-driven graphql language mode.Uses thegraphql-language-servicedirectly.

See thewebpack example for a plainjavascript demo using GitHub API

NPMjsDelivr hits (npm)npm downloadsSnyk Vulnerabilities for npm package

Animated Codemirror GraphQL Completion Example

Provides CodeMirror 5 with a parser mode for GraphQL along with a live linter andtypeahead hinter powered by your GraphQL Schema. Uses thegraphql-language-service.

NPMjsDelivr hits (npm)npm downloadsSnyk Vulnerabilities for npm package

Provides CodeMirror 6 with a full-featured language mode for GraphQL. Uses thegraphql-language-service.

NPMnpm downloadsSnyk Vulnerabilities for npm package

Provides language services forgraphql-language-service-servercodemirror-graphql andmonaco-graphql. Previously published separately asthe now-retiredgraphql-language-service-interface,graphql-language-service-parser,graphql-language-service-utils andgraphql-language-service-types.

NPMnpm downloadsSnyk Vulnerabilities for npm package

Provides language services for LSP-based IDE extensions using thegraphql-language-service

An example implementation ofgraphql-language-service-server for Visual StudioCode. Availableon the marketplace.OVSX fix is pending.

A new syntax highlighting-only extension for vscode to be used by other vscodeextensions.

An extension for vscode-graphql that allows inline query execution.

NPMnpm downloadsSnyk Vulnerabilities for npm package

Provides a CLI for the language service server.

Browser & Runtime Support

Many of these packages need to work in multiple environments.

By default, all typescript packages targetes6.

graphql-language-service-server andgraphql-language-service-cli are madefor the node runtime, so they targetes2017

codemirror-graphql and thegraphiql browser bundle use the.browserslistrc, which targets modern browsers to keepbundle size small and keep the language services performant where async/await isused, and especially to avoid the requirement ofregenerator-runtime orspecial babel configuration.

last 2 versionsFirefox ESRnot deadnot IE 11not ios 10maintained node versions

To be clear, we donot support Internet Explorer or older versions ofevergreen browsers.

Development

To get setup for local development of this monorepo, refer toDEVELOPMENT.md

Contributing to this repo

This is an open source project, and we welcome contributions. Please seeCONTRIBUTING.md for details on how to contribute.

This repository is managed by EasyCLA. Project participants must sign the freeGraphQL Specification Membership agreementbefore making a contribution. You only need to do this one time, and it can besigned byindividual contributors ortheiremployers.

To initiate the signature process please open a PR against this repo. TheEasyCLA bot will block the merge if we still need a membership agreement fromyou.

Please note that EasyCLA is configured to accept commits from certain GitHubbots. These are approved on an exception basis once we are confident that anycontent they create is either unlikely to consist of copyrightable content orelse was written by someone who has already signed the CLA (e.g., a projectmaintainer). The bots that have currently been approved as exceptions are:

  • github-actions (exclusively for thechangesets Action)

You can finddetailed information here.If you have issues, please emailoperations@graphql.org.

Maintainers

Maintainers of this repository regularly review PRs and issues and help advancethe GraphiQL roadmap

Alumni

Without these amazing past maintainers, where would we be?!

  • @leebyron - original author of all libraries
  • @asiandrummer - original creator ofGraphiQL
  • @wincent - early co-author and maintainer
  • @lostplan - maintained the language serviceecosystem until about 2017
  • @IvanGoncharov - maintainer andtransitional mentor to @acao and others
  • @orta - has helped with so many parts of theproject over the years, and provided the original redesign!
  • @divyenduz - the original creator ofvscode-graphql, and contributor to much of the ecosystem. Thanks Divy!

Active

Maintainers who are currently active (to varying degrees, please contact us viaour discord channels!):

Thank you graphql community for all the help & support! I did it all for you,and I couldn't have done it without you ❤️ - @acao

Fielding Proposals!

The door is open for proposals for the new GraphiQL Plugin API, and other ideason how to make the rest of the IDE ecosystem more performant, scalable,interoperable and extensible. Feel free to open a PR to create a document in the/proposals/ directory. Eventually we hope to move these to a repo that servesthis purpose.

Community

  • DiscordDiscord -Most discussion outside of GitHub happens on the GraphQLDiscord Server
  • Twitter -@GraphiQL and#GraphiQL
  • GitHub - Create feature requests, discussions issues and bugs above
  • Working Group - Yes, you're invited! Monthly planning/decision makingmeetings, and working sessions every two weeks on zoom!Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp