The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.
TypeScript b2b-marketplacecomposable-commerceecommerceenterpriseheadless-commercemarketplacemedusamedusajsmulti-vendortypescript
chore: update schema URLs to use HTTPS for improved security
Jakub Sieradzkid4f69717898a
diff --git a/packages/cli/src/registry/constants.ts b/packages/cli/src/registry/constants.tsindex 727727b2c..fb7de18e3 100644--- a/packages/cli/src/registry/constants.ts+++ b/packages/cli/src/registry/constants.ts@@ -1,8 +1,8 @@import type { z } from "zod";import type { registryConfigSchema } from "./schema";-export const REGISTRY_SCHEMA_URL = "http://registry.mercurjs.com/registry.json";-export const REGISTRY_ITEM_SCHEMA_URL = "http://registry.mercurjs.com/registry-item.json";+export const REGISTRY_SCHEMA_URL = "https://registry.mercurjs.com/registry.json";+export const REGISTRY_ITEM_SCHEMA_URL = "https://registry.mercurjs.com/registry-item.json";// Registry URL can be customized via environment variable// Supports branch names: https://raw.githubusercontent.com/{owner}/{repo}/{branch}/packages/registry/registrydiff --git a/packages/registry/blocks.json b/packages/registry/blocks.jsonindex a9d50f7c9..219f9d82d 100644--- a/packages/registry/blocks.json+++ b/packages/registry/blocks.json@@ -1,5 +1,5 @@{- "$schema": "http://registry.mercurjs.com/registry.json",+ "$schema": "https://registry.mercurjs.com/registry.json","aliases": {"workflows": "@/workflows","api": "@/api",diff --git a/packages/registry/r/block-1.json b/packages/registry/r/block-1.jsonindex 81e5df8cb..66d28cc35 100644--- a/packages/registry/r/block-1.json+++ b/packages/registry/r/block-1.json@@ -1,5 +1,5 @@{- "$schema": "http://registry.mercurjs.com/registry-item.json",+ "$schema": "https://registry.mercurjs.com/registry-item.json","name": "block-1","description": "A block with a test module, product-test link, and API route.","dependencies": [],diff --git a/packages/registry/r/block-2.json b/packages/registry/r/block-2.jsonindex 91f080eb4..7bf28afa7 100644--- a/packages/registry/r/block-2.json+++ b/packages/registry/r/block-2.json@@ -1,5 +1,5 @@{- "$schema": "http://registry.mercurjs.com/registry-item.json",+ "$schema": "https://registry.mercurjs.com/registry-item.json","name": "block-2","description": "A block with a sample module, product-sample link, workflow, and API route.","dependencies": [],diff --git a/packages/registry/r/registry.json b/packages/registry/r/registry.jsonindex 8b7504544..295b05bf4 100644--- a/packages/registry/r/registry.json+++ b/packages/registry/r/registry.json@@ -1,5 +1,5 @@{- "$schema": "https://raw.githubusercontent.com/mercurjs/mercur/new/packages/registry/public/schema/registry.json",+ "$schema": "https://registry.mercurjs.com/registry.json","name": "@mercurjs","homepage": "https://mercurjs.com","items": [diff --git a/packages/registry/registry.json b/packages/registry/registry.jsonindex 6d1bb6509..295b05bf4 100644--- a/packages/registry/registry.json+++ b/packages/registry/registry.json@@ -1,5 +1,5 @@{- "$schema": "http://registry.mercurjs.com/registry.json",+ "$schema": "https://registry.mercurjs.com/registry.json","name": "@mercurjs","homepage": "https://mercurjs.com","items": [diff --git a/registry.json b/registry.jsonindex f424d1bae..a88bbb294 100644--- a/registry.json+++ b/registry.json@@ -15,7 +15,7 @@"type": "array","description": "The registry items.","items": {- "$ref": "http://registry.mercurjs.com/registry-item.json"+ "$ref": "https://registry.mercurjs.com/registry-item.json"},"minItems": 1,"uniqueItems": truediff --git a/templates/basic/blocks.json b/templates/basic/blocks.jsonindex 242f68637..66ef4dab4 100644--- a/templates/basic/blocks.json+++ b/templates/basic/blocks.json@@ -1,5 +1,5 @@{- "$schema": "http://registry.mercurjs.com/registry.json",+ "$schema": "https://registry.mercurjs.com/registry.json","aliases": {"workflows": "packages/api/src/workflows","links": "packages/api/src/links",diff --git a/templates/registry/README.md b/templates/registry/README.mdindex e0087a402..bbf226e88 100644--- a/templates/registry/README.md+++ b/templates/registry/README.md@@ -200,7 +200,7 @@ The `registry.json` file defines your blocks:```json{- "$schema": "http://registry.mercurjs.com/registry.json",+ "$schema": "https://registry.mercurjs.com/registry.json","name": "@your-org","homepage": "https://your-site.com","items": [diff --git a/templates/registry/blocks.json b/templates/registry/blocks.jsonindex d158f21f1..9f37838df 100644--- a/templates/registry/blocks.json+++ b/templates/registry/blocks.json@@ -1,5 +1,5 @@{- "$schema": "http://registry.mercurjs.com/registry.json",+ "$schema": "https://registry.mercurjs.com/registry.json","aliases": {"workflows": "@/workflows","api": "@/api",diff --git a/templates/registry/registry.json b/templates/registry/registry.jsonindex 50040b882..bf4e7a007 100644--- a/templates/registry/registry.json+++ b/templates/registry/registry.json@@ -1,5 +1,5 @@{- "$schema": "http://registry.mercurjs.com/registry.json",+ "$schema": "https://registry.mercurjs.com/registry.json","name": "@mercurjs","homepage": "https://mercurjs.com","items": [