1.2.0 • Published 5 months ago
@zafercuz/sanity-plugin-sanity-test-publish v1.2.0
sanity-plugin-sanity-test-publish
This is a Sanity Studio v3 plugin.
Installation
npm install sanity-plugin-sanity-test-publish
Usage
Add it as a plugin in sanity.config.ts
(or .js):
import {defineConfig} from 'sanity'
import {myPlugin} from 'sanity-plugin-sanity-test-publish'
export default defineConfig({
//...
plugins: [myPlugin({})],
})
License
MIT © MS David
Develop & test
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.
Release new version
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.