1.0.0 • Published 2 months ago
sanity-plugin-social-embed v1.0.0
sanity-plugin-social-embed
This is a Sanity Studio v3 plugin.
Development
Run the following command in sanity studio project
For yarn
npx yalc add --link sanity-plugin-social-embed && yarn install
For npm
npx yalc add sanity-plugin-social-embed && npx yalc link sanity-plugin-social-embed && npm install
Production
Installation
npm install sanity-plugin-social-embed
Usage
Add it as a plugin in sanity.config.ts
(or .js):
import {defineConfig} from 'sanity'
import {socialMedia} from 'sanity-plugin-social-embed'
export default defineConfig({
//...
plugins: [socialMedia({})],
})
License
MIT © Chitranjan Gupta
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.
Sources:
1.0.0
2 months ago