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 the new registry domain
Jakub Sieradzki3f0d8001a6aa
diff --git a/packages/cli/src/registry/constants.ts b/packages/cli/src/registry/constants.tsindex 632884c65..727727b2c 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 = "https://raw.githubusercontent.com/mercurjs/mercur/new/packages/registry/schema/registry.json";-export const REGISTRY_ITEM_SCHEMA_URL = "https://raw.githubusercontent.com/mercurjs/mercur/new/packages/registry/schema/registry-item.json";+export const REGISTRY_SCHEMA_URL = "http://registry.mercurjs.com/registry.json";+export const REGISTRY_ITEM_SCHEMA_URL = "http://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 d1b056f33..a9d50f7c9 100644--- a/packages/registry/blocks.json+++ b/packages/registry/blocks.json@@ -1,5 +1,5 @@{- "$schema": "https://raw.githubusercontent.com/mercurjs/mercur/new/packages/registry/schema/registry.json",+ "$schema": "http://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 ac2b44aaa..81e5df8cb 100644--- a/packages/registry/r/block-1.json+++ b/packages/registry/r/block-1.json@@ -1,5 +1,5 @@{- "$schema": "https://raw.githubusercontent.com/mercurjs/mercur/new/packages/registry/schema/registry-item.json",+ "$schema": "http://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 9c9da9925..91f080eb4 100644--- a/packages/registry/r/block-2.json+++ b/packages/registry/r/block-2.json@@ -1,5 +1,5 @@{- "$schema": "https://raw.githubusercontent.com/mercurjs/mercur/new/packages/registry/schema/registry-item.json",+ "$schema": "http://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/registry.json b/packages/registry/registry.jsonindex 8b7504544..6d1bb6509 100644--- a/packages/registry/registry.json+++ b/packages/registry/registry.json@@ -1,5 +1,5 @@{- "$schema": "https://raw.githubusercontent.com/mercurjs/mercur/new/packages/registry/public/schema/registry.json",+ "$schema": "http://registry.mercurjs.com/registry.json","name": "@mercurjs","homepage": "https://mercurjs.com","items": [diff --git a/registry.json b/registry.jsonindex cc971e933..f424d1bae 100644--- a/registry.json+++ b/registry.json@@ -15,7 +15,7 @@"type": "array","description": "The registry items.","items": {- "$ref": "https://raw.githubusercontent.com/mercurjs/mercur/new/packages/registry/schema/registry-item.json"+ "$ref": "http://registry.mercurjs.com/registry-item.json"},"minItems": 1,"uniqueItems": truediff --git a/templates/basic/blocks.json b/templates/basic/blocks.jsonindex 8d75fbfe7..242f68637 100644--- a/templates/basic/blocks.json+++ b/templates/basic/blocks.json@@ -1,5 +1,5 @@{- "$schema": "https://raw.githubusercontent.com/mercurjs/mercur/new/packages/registry/schema/registry.json",+ "$schema": "http://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 2bcd0e7a7..e0087a402 100644--- a/templates/registry/README.md+++ b/templates/registry/README.md@@ -200,7 +200,7 @@ The `registry.json` file defines your blocks:```json{- "$schema": "https://raw.githubusercontent.com/mercurjs/mercur/new/packages/registry/public/schema/registry.json",+ "$schema": "http://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 005fca7b0..d158f21f1 100644--- a/templates/registry/blocks.json+++ b/templates/registry/blocks.json@@ -1,5 +1,5 @@{- "$schema": "https://raw.githubusercontent.com/mercurjs/mercur/new/packages/registry/schema/registry.json",+ "$schema": "http://registry.mercurjs.com/registry.json","aliases": {"workflows": "@/workflows","api": "@/api",diff --git a/templates/registry/registry.json b/templates/registry/registry.jsonindex a4106e4ef..50040b882 100644--- a/templates/registry/registry.json+++ b/templates/registry/registry.json@@ -1,5 +1,5 @@{- "$schema": "https://raw.githubusercontent.com/mercurjs/mercur/new/packages/registry/public/schema/registry.json",+ "$schema": "http://registry.mercurjs.com/registry.json","name": "@mercurjs","homepage": "https://mercurjs.com","items": [