
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
sanity-plugin-graphiql
Advanced tools
This is a Sanity Studio v3 plugin.
Add GraphiQL to your Sanity Studio.

npm install sanity-plugin-graphiql
pnpm install sanity-plugin-graphiql
yarn add sanity-plugin-graphiql
Add it as a plugin in sanity.config.ts (or .js):
import {defineConfig} from 'sanity'
import {graphiQLTool} from 'sanity-plugin-graphiql'
export default defineConfig({
//...
plugins: [
graphiQLTool({
apiVersion: '2021-10-21',
// if you want to use a GraphQL api that is
// not a Sanity GraphQL API, you can hardcode the url.
url: 'https://www.example.com/api/my/graphql',
// override the default tool name
name: 'graphiql',
// override the default tool title
title: 'GraphiQL',
// override the default tool icon
icon: BlockElementIcon,
}),
],
})
The following options are required to set up the tool:
apiVersion required: the version of the sanity API used for fetching GraphQL metadataurl: set a custom GraphQL api. This removes the ability to select the url from the tool.name: set a custom name for the tool. (default: graphiql)title: set a custom name for the tool. (default: GraphiQL)icon: set a custom name for the tool. (default: "@sanity/icons".BlockElementIcon)MIT © Romeo Van Snick
This plugin uses @sanity/plugin-kit with default configuration for build & watch scripts.
See Testing a plugin in Sanity Studio on how to run this plugin with hotreload in the studio.
Run "CI & Release" workflow. Make sure to select the main branch and check "Release new version".
Semantic release will only release on configured branches, so it is safe to run release on any branch.


FAQs
Add GraphiQL to your Sanity desk
We found that sanity-plugin-graphiql demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.