-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
add @graphiql/plugin-utils
, docs to improve plugin development
#3328
Conversation
|
The latest changes of this PR are available as canary in npm (based on the declared
|
dd1afaa
to
50cf36b
Compare
@graphiql/plugin-utils
to simplify plugin development@graphiql/plugin-utils
, docs to improve plugin development
563319d
to
f0fbb21
Compare
d004e00
to
ec9abc7
Compare
62a274a
to
e524758
Compare
Note: I've added a few commits to graphiql explorer plugin to this PR to fix an upstream issue, but I plan to backport them to happen independently as a bugfix, and restore copy-demo in a seperate PR |
this PR will be re-created against |
recreated as #3346 |
as per conversations since 2019, and a conversation with users at GraphQL Berlin meetup, it's high time we start work on a simple set of utilities to enable graphiql plugin development!
this provides some conventions and abstracts away the details to make shipping plugins more readily poasible from this repo (or from any repo)
(also, as a platform engineer, seeing all the duplicate vite config and pain for users just made me sad, vite's plugin API was designed to eliminate such complexity!)
[x] automatically rename output to match plugin namein later iterations
npx create-graphiql-plugin myplugin
)vite
command