
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
@planetary/sanity-plugin-preflight
Advanced tools
Checks and validations to run before publishing content
This is a Sanity Studio v3 plugin.
The Preflight plugin is a modular Sanity document extension for running various checks prior to publishing content.
Current available checks include:
npm install @planetary/sanity-plugin-preflight
Modify your deskStructure
file to include the following.
If you don't have a custom Structure Builder configuration, please see the official guide:
// deskStructure.ts
import {Preflight, DeadLinks} from '@planetary/sanity-plugin-preflight'
import {RocketIcon} from '@sanity/icons'
export const getDefaultDocumentNode = ({schemaType}) => {
// Only show the Preflight plugin on selected document types
if (['article', 'page'].includes(schemaType)) {
return S.document().views([
// Include the default content editor
S.view.form(),
// Add Preflight plugin
S.view
.component(
Preflight({
plugins: [DeadLinks()],
}),
)
.title('Preflight')
.icon(RocketIcon),
])
}
// Otherwise render the default content editor
return S.document().views([S.view.form()])
}
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
Checks and validations to run before publishing content
We found that @planetary/sanity-plugin-preflight demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.