Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@jetskis/headup
Advanced tools
This is a Sanity Studio v3 plugin.
Some link to the Shopify App
npm install sanity-plugin-headup
Add it as a plugin in sanity.config.ts
(or .js):
import {defineConfig} from 'sanity'
import {headup} from '@jetskis/sanity-plugin-headup'
export default defineConfig({
//...
plugins: [headup({
{
"apiKey": "[keyProvidedFromShopifyApp]",
"store": "yourshopifystore.myshopify.com"
}
})],
})
Then simply update any instance of image
in your sanity schema with type: shopifyImage
.
...,
defineField({
name: 'image',
title: 'Image ',
type: 'shopifyImage',
validation: (Rule) => Rule.required(),
}),
We also support uploading directly to a product image, this is useful if you don't want the client to worry about managing image assets in Shopify at all (You need an image for the cart and emails to be present in Shopify), you can pass options:
options: {
productImage: true,
productId: `store.id` // points to the field with the shopify product Id
},
'store.id' is the shopify product id field on the product content type, this assumes you're using the sanity-connect sync, if you're doing a manual sync make sure you specify the product id location in the document schema.
MIT © Kevin Green
FAQs
Uploads media assets to Shopify
The npm package @jetskis/headup receives a total of 3 weekly downloads. As such, @jetskis/headup popularity was classified as not popular.
We found that @jetskis/headup demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.