Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

chore: v2.0.0-canary.56

vholik02ab9ea1cff7
diff --git a/bun.lock b/bun.lock
index 77b74b87c..93a933815 100644
--- a/bun.lock
+++ b/bun.lock
@@ -38,7 +38,7 @@
},
"packages/admin": {
"name": "@mercurjs/admin",
- "version": "2.0.0-canary.54",
+ "version": "2.0.0-canary.55",
"dependencies": {
"@ariakit/react": "^0.4.15",
"@babel/runtime": "^7.26.10",
@@ -98,7 +98,7 @@
},
"packages/cli": {
"name": "@mercurjs/cli",
- "version": "2.0.0-canary.54",
+ "version": "2.0.0-canary.55",
"bin": {
"mercurjs": "./dist/index.js",
},
@@ -138,7 +138,7 @@
},
"packages/client": {
"name": "@mercurjs/client",
- "version": "2.0.0-canary.54",
+ "version": "2.0.0-canary.55",
"dependencies": {
"@tanstack/react-query": "^5.64.2",
"qs": "^6.12.1",
@@ -155,7 +155,7 @@
},
"packages/core-plugin": {
"name": "@mercurjs/core-plugin",
- "version": "2.0.0-canary.54",
+ "version": "2.0.0-canary.55",
"devDependencies": {
"@medusajs/cli": "^2.13.3",
"@medusajs/core-flows": "^2.13.3",
@@ -168,11 +168,13 @@
"@mercurjs/types": "workspace:*",
"@swc/core": "^1.7.28",
"@types/cors": "^2.8.17",
+ "@types/express": "^4.17.21",
"@types/multer": "^2.0.0",
"@types/node": "^20.0.0",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.2.25",
"cors": "^2.8.5",
+ "http-proxy-middleware": "^3.0.3",
"multer": "^2.0.2",
"prop-types": "^15.8.1",
"react": "^18.2.0",
@@ -194,7 +196,7 @@
},
"packages/dashboard-sdk": {
"name": "@mercurjs/dashboard-sdk",
- "version": "2.0.0-canary.54",
+ "version": "2.0.0-canary.55",
"dependencies": {
"esbuild-register": "^3.6.0",
},
@@ -208,7 +210,7 @@
},
"packages/dashboard-shared": {
"name": "@mercurjs/dashboard-shared",
- "version": "2.0.0-canary.54",
+ "version": "2.0.0-canary.55",
"dependencies": {
"@ariakit/react": "^0.4.15",
"@babel/runtime": "^7.26.10",
@@ -300,7 +302,7 @@
},
"packages/types": {
"name": "@mercurjs/types",
- "version": "2.0.0-canary.54",
+ "version": "2.0.0-canary.55",
"dependencies": {
"@medusajs/types": "2.13.3",
},
@@ -310,7 +312,7 @@
},
"packages/vendor": {
"name": "@mercurjs/vendor",
- "version": "2.0.0-canary.54",
+ "version": "2.0.0-canary.55",
"dependencies": {
"@ariakit/react": "^0.4.15",
"@babel/runtime": "^7.26.10",
@@ -1692,6 +1694,8 @@
"@types/http-errors": ["@types/[email protected]", "", {}, "sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg=="],
+ "@types/http-proxy": ["@types/[email protected]", "", { "dependencies": { "@types/node": "*" } }, "sha512-ED6LB+Z1AVylNTu7hdzuBqOgMnvG/ld6wGCG8wFnAzKX5uyW2K3WD52v0gnLCTK/VLpXtKckgWuyScYK6cSPaw=="],
+
"@types/istanbul-lib-coverage": ["@types/[email protected]", "", {}, "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w=="],
"@types/istanbul-lib-report": ["@types/[email protected]", "", { "dependencies": { "@types/istanbul-lib-coverage": "*" } }, "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA=="],
@@ -2214,6 +2218,8 @@
"etag": ["[email protected]", "", {}, "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg=="],
+ "eventemitter3": ["[email protected]", "", {}, "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw=="],
+
"events": ["[email protected]", "", {}, "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q=="],
"execa": ["[email protected]", "", { "dependencies": { "@sindresorhus/merge-streams": "^4.0.0", "cross-spawn": "^7.0.6", "figures": "^6.1.0", "get-stream": "^9.0.0", "human-signals": "^8.0.1", "is-plain-obj": "^4.1.0", "is-stream": "^4.0.1", "npm-run-path": "^6.0.0", "pretty-ms": "^9.2.0", "signal-exit": "^4.1.0", "strip-final-newline": "^4.0.0", "yoctocolors": "^2.1.1" } }, "sha512-9Be3ZoN4LmYR90tUoVu2te2BsbzHfhJyfEiAVfz7N5/zv+jduIfLrV2xdQXOHbaD6KgpGdO9PRPM1Y4Q9QkPkA=="],
@@ -2354,6 +2360,10 @@
"http-errors": ["[email protected]", "", { "dependencies": { "depd": "~2.0.0", "inherits": "~2.0.4", "setprototypeof": "~1.2.0", "statuses": "~2.0.2", "toidentifier": "~1.0.1" } }, "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ=="],
+ "http-proxy": ["[email protected]", "", { "dependencies": { "eventemitter3": "^4.0.0", "follow-redirects": "^1.0.0", "requires-port": "^1.0.0" } }, "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ=="],
+
+ "http-proxy-middleware": ["[email protected]", "", { "dependencies": { "@types/http-proxy": "^1.17.15", "debug": "^4.3.6", "http-proxy": "^1.18.1", "is-glob": "^4.0.3", "is-plain-object": "^5.0.0", "micromatch": "^4.0.8" } }, "sha512-GLZZm1X38BPY4lkXA01jhwxvDoOkkXqjgVyUzVxiEK4iuRu03PZoYHhHRwxnfhQMDuaxi3vVri0YgSro/1oWqg=="],
+
"human-signals": ["[email protected]", "", {}, "sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ=="],
"hyperlinker": ["[email protected]", "", {}, "sha512-Ty8UblRWFEcfSuIaajM34LdPXIhbs1ajEX/BBPv24J+enSVaEVY63xQ6lTO9VRYS5LAoghIG0IDJ+p+IPzKUQQ=="],
@@ -2440,6 +2450,8 @@
"is-plain-obj": ["[email protected]", "", {}, "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg=="],
+ "is-plain-object": ["[email protected]", "", {}, "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q=="],
+
"is-relative": ["[email protected]", "", { "dependencies": { "is-unc-path": "^1.0.0" } }, "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA=="],
"is-retry-allowed": ["[email protected]", "", {}, "sha512-XVm7LOeLpTW4jV19QSH38vkswxoLud8sQ57YwJVTPWdiaI9I8keEhGFpBlslyVsgdQy4Opg8QOLb8YRgsyZiQg=="],
@@ -2992,6 +3004,8 @@
"require-in-the-middle": ["[email protected]", "", { "dependencies": { "debug": "^4.3.5", "module-details-from-path": "^1.0.3", "resolve": "^1.22.8" } }, "sha512-gAZ+kLqBdHarXB64XpAe2VCjB7rIRv+mU8tfRWziHRJ5umKsIHN2tLLv6EtMw7WCdP19S0ERVMldNvxYCHnhSQ=="],
+ "requires-port": ["[email protected]", "", {}, "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ=="],
+
"resolve": ["[email protected]", "", { "dependencies": { "is-core-module": "^2.16.1", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, "bin": { "resolve": "bin/resolve" } }, "sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ=="],
"resolve-cwd": ["[email protected]", "", { "dependencies": { "resolve-from": "^5.0.0" } }, "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg=="],
@@ -3964,6 +3978,8 @@
"@types/fs-extra/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-BH7YwL6rA93ReqeQS1c4bsPpcfOmJasG+Fkr6Y59q83f9M1WcBRHR2vM+P9eOisYRcN3ujQoiZY8uk5W+1WL8w=="],
+ "@types/http-proxy/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-BH7YwL6rA93ReqeQS1c4bsPpcfOmJasG+Fkr6Y59q83f9M1WcBRHR2vM+P9eOisYRcN3ujQoiZY8uk5W+1WL8w=="],
+
"@types/jsonfile/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-BH7YwL6rA93ReqeQS1c4bsPpcfOmJasG+Fkr6Y59q83f9M1WcBRHR2vM+P9eOisYRcN3ujQoiZY8uk5W+1WL8w=="],
"@types/jsonwebtoken/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-BH7YwL6rA93ReqeQS1c4bsPpcfOmJasG+Fkr6Y59q83f9M1WcBRHR2vM+P9eOisYRcN3ujQoiZY8uk5W+1WL8w=="],
diff --git a/packages/admin/package.json b/packages/admin/package.json
index 66525d5e9..7c3213c17 100644
--- a/packages/admin/package.json
+++ b/packages/admin/package.json
@@ -1,6 +1,6 @@
{
"name": "@mercurjs/admin",
- "version": "2.0.0-canary.55",
+ "version": "2.0.0-canary.56",
"repository": {
"type": "git",
"url": "https://github.com/mercurjs/mercur",
diff --git a/packages/cli/package.json b/packages/cli/package.json
index 8c85f4bc4..012107104 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@mercurjs/cli",
- "version": "2.0.0-canary.55",
+ "version": "2.0.0-canary.56",
"repository": {
"type": "git",
"url": "https://github.com/mercurjs/mercur",
diff --git a/packages/client/package.json b/packages/client/package.json
index cfc7cd3c6..e2b61ddf4 100644
--- a/packages/client/package.json
+++ b/packages/client/package.json
@@ -1,6 +1,6 @@
{
"name": "@mercurjs/client",
- "version": "2.0.0-canary.55",
+ "version": "2.0.0-canary.56",
"repository": {
"type": "git",
"url": "https://github.com/mercurjs/mercur",
diff --git a/packages/core-plugin/package.json b/packages/core-plugin/package.json
index 2804551f7..00bd26fe3 100644
--- a/packages/core-plugin/package.json
+++ b/packages/core-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@mercurjs/core-plugin",
- "version": "2.0.0-canary.55",
+ "version": "2.0.0-canary.56",
"repository": {
"type": "git",
"url": "https://github.com/mercurjs/mercur",
@@ -50,6 +50,7 @@
"@mercurjs/types": "workspace:*",
"@swc/core": "^1.7.28",
"@types/cors": "^2.8.17",
+ "@types/express": "^4.17.21",
"@types/multer": "^2.0.0",
"@types/node": "^20.0.0",
"@types/react": "^18.3.2",
@@ -63,7 +64,8 @@
"yalc": "^1.0.0-pre.53",
"@medusajs/types": "2.13.3",
"zod": "3.25.76",
- "multer": "^2.0.2"
+ "multer": "^2.0.2",
+ "http-proxy-middleware": "^3.0.3"
},
"peerDependencies": {
"@medusajs/admin-sdk": "^2.13.3",
diff --git a/packages/core-plugin/src/api/middlewares.ts b/packages/core-plugin/src/api/middlewares.ts
index a461535b6..0a8243258 100644
--- a/packages/core-plugin/src/api/middlewares.ts
+++ b/packages/core-plugin/src/api/middlewares.ts
@@ -3,7 +3,6 @@ import { defineMiddlewares } from "@medusajs/medusa"
import { adminMiddlewares } from "./admin/middlewares"
import { storeMiddlewares } from "./store/middlewares"
import { vendorMiddlewares } from "./vendor/middlewares"
-import { serveDashboardMiddleware } from "./utils/serve-dashboard"
import { MedusaNextFunction, MedusaRequest, MedusaResponse } from "@medusajs/framework"
import { MercurModules } from "@mercurjs/types"
import VendorUIModuleService from "../modules/vendor-ui/services/vendor-ui-module-service"
@@ -19,11 +18,11 @@ export default defineMiddlewares({
middlewares: [(req: MedusaRequest, res: MedusaResponse, next: MedusaNextFunction) => {
const service = req.scope.resolve<VendorUIModuleService>(MercurModules.VENDOR_UI)
const options = service.getOptions()
- const path = options.path!
- if (options.disable || !req.baseUrl.startsWith(path)) {
+ if (options.disable) {
return next()
}
- return serveDashboardMiddleware({ path: path, mode: service.getServingMode(), appDir: options.appDir, viteUrl: service.getViteDevServerUrl() })(req, res)
+ const app = service.getApp()
+ app(req, res, next)
}],
},
],
diff --git a/packages/core-plugin/src/api/utils/serve-dashboard.ts b/packages/core-plugin/src/api/utils/serve-dashboard.ts
deleted file mode 100644
index b5494afe6..000000000
--- a/packages/core-plugin/src/api/utils/serve-dashboard.ts
+++ /dev/null
@@ -1,161 +0,0 @@
-import http from "node:http"
-import fs from "node:fs"
-import path from "node:path"
-import type { IncomingMessage, ServerResponse } from "node:http"
-import type { MedusaRequest, MedusaResponse } from "@medusajs/framework/http"
-import type { ServingMode } from "../../utils/dashboard/dashboard-base"
-
-const MIME_TYPES: Record<string, string> = {
- ".html": "text/html",
- ".js": "application/javascript",
- ".mjs": "application/javascript",
- ".css": "text/css",
- ".json": "application/json",
- ".png": "image/png",
- ".jpg": "image/jpeg",
- ".jpeg": "image/jpeg",
- ".gif": "image/gif",
- ".svg": "image/svg+xml",
- ".ico": "image/x-icon",
- ".woff": "font/woff",
- ".woff2": "font/woff2",
- ".ttf": "font/ttf",
- ".eot": "application/vnd.ms-fontobject",
- ".map": "application/json",
- ".webp": "image/webp",
- ".txt": "text/plain",
-}
-
-function getMimeType(filePath: string): string {
- const ext = path.extname(filePath).toLowerCase()
- return MIME_TYPES[ext] || "application/octet-stream"
-}
-
-function sanitizePath(relativePath: string): string | null {
- const normalized = path.normalize(relativePath)
- if (normalized.includes("..")) {
- return null
- }
- return normalized
-}
-
-export function proxyRequest(
- req: IncomingMessage,
- res: ServerResponse,
- viteUrl: string,
- targetPath: string
-): void {
- const url = new URL(targetPath, viteUrl)
-
- const proxyReq = http.request(
- {
- hostname: url.hostname,
- port: url.port,
- path: url.pathname + url.search,
- method: req.method,
- headers: {
- ...req.headers,
- host: url.host,
- },
- },
- (proxyRes) => {
- res.writeHead(proxyRes.statusCode || 502, proxyRes.headers)
- proxyRes.pipe(res)
- }
- )
-
- proxyReq.on("error", () => {
- res.writeHead(502, { "Content-Type": "text/plain" })
- res.end("Vite dev server unavailable")
- })
-
- req.pipe(proxyReq)
-}
-
-export function serveStaticFile(
- appDir: string,
- relativePath: string,
- res: ServerResponse
-): boolean {
- const safe = sanitizePath(relativePath)
- if (!safe) {
- res.writeHead(400, { "Content-Type": "text/plain" })
- res.end("Bad request")
- return true
- }
-
- const filePath = path.join(appDir, safe)
- if (!fs.existsSync(filePath) || fs.statSync(filePath).isDirectory()) {
- return false
- }
-
- const mimeType = getMimeType(filePath)
- const isAsset = /\.(js|css|mjs|woff2?|ttf|eot|png|jpe?g|gif|svg|webp|ico)$/.test(filePath)
-
- res.writeHead(200, {
- "Content-Type": mimeType,
- ...(isAsset
- ? { "Cache-Control": "public, max-age=31536000, immutable" }
- : { "Cache-Control": "no-cache" }),
- })
-
- fs.createReadStream(filePath).pipe(res)
- return true
-}
-
-export function serveSpaFallback(appDir: string, res: ServerResponse): boolean {
- const indexPath = path.join(appDir, "index.html")
- if (!fs.existsSync(indexPath)) {
- return false
- }
-
- res.writeHead(200, {
- "Content-Type": "text/html",
- "Cache-Control": "no-cache",
- })
- fs.createReadStream(indexPath).pipe(res)
- return true
-}
-
-export function serveDefaultPage(res: ServerResponse): void {
- res.writeHead(200, {
- "Content-Type": "text/html",
- "Cache-Control": "no-cache",
- })
- res.end('Dashboard not built')
-}
-
-
-export function serveDashboardMiddleware({ path, mode, appDir, viteUrl }: { path: string, mode: ServingMode, appDir: string, viteUrl: string }) {
- return async (req: MedusaRequest, res: MedusaResponse) => {
- const url = req.url || "/"
- const relativePath = url.replace(new RegExp(`^${path}`), "") || "/"
-
- switch (mode) {
- case "vite-proxy": {
- proxyRequest(req, res, viteUrl, relativePath)
- return
- }
-
- case "static": {
- // Try serving the exact file first
- if (relativePath !== "/" && serveStaticFile(appDir, relativePath, res)) {
- return
- }
- // SPA fallback for non-asset routes
- if (serveSpaFallback(appDir, res)) {
- return
- }
- // Fall through to default page if index.html disappeared
- serveDefaultPage(res)
- return
- }
-
- case "default-page":
- default: {
- serveDefaultPage(res)
- return
- }
- }
- }
-}
diff --git a/packages/core-plugin/src/utils/dashboard/dashboard-base.ts b/packages/core-plugin/src/utils/dashboard/dashboard-base.ts
index 1e17b9748..4ffe6e792 100644
--- a/packages/core-plugin/src/utils/dashboard/dashboard-base.ts
+++ b/packages/core-plugin/src/utils/dashboard/dashboard-base.ts
@@ -1,6 +1,8 @@
import http from "node:http"
import fs from "node:fs"
import path from "node:path"
+import express from "express"
+import { createProxyMiddleware } from "http-proxy-middleware"
import { DashboardModuleOptions } from "@mercurjs/types"
import { Logger } from "@medusajs/medusa"
@@ -11,6 +13,7 @@ export abstract class DashboardBase {
protected readonly logger: Logger
protected servingMode_: ServingMode = "default-page"
protected lastDetectionTime_: number = 0
+ protected app_: express.Express
protected abstract readonly appName: string
private static readonly REDETECT_THROTTLE_MS = 5000
@@ -32,7 +35,8 @@ export abstract class DashboardBase {
async onApplicationStart(): Promise<void> {
await this.detectServingMode()
if (!this.options_.disable) {
- this.logger.info(`${this.appName} URL → http://localhost:${this.options_.viteDevServerPort}${this.options_.path}`)
+ this.app_ = this.createApp()
+ this.logger.info(`${this.appName} URL → http://localhost:9000${this.options_.path}`)
}
}
@@ -79,13 +83,68 @@ export abstract class DashboardBase {
getViteDevServerUrl(): string {
const host = this.options_.viteDevServerHost ?? "localhost"
- const port = this.options_.viteDevServerPort ?? 5174
+ const port = this.options_.viteDevServerPort
return `http://${host}:${port}`
}
+ getApp(): express.Express {
+ return this.app_
+ }
+
+ private createApp(): express.Express {
+ const app = express()
+ const route = this.options_.path!
+
+ const proxyMiddleware = createProxyMiddleware({
+ target: this.getViteDevServerUrl(),
+ pathRewrite: {
+ [`^${route}`]: "/",
+ },
+ })
+
+ const staticServer = express.Router()
+ staticServer.use(express.static(this.options_.appDir))
+ staticServer.use((_req, res) => {
+ const indexPath = path.join(this.options_.appDir, "index.html")
+ if (fs.existsSync(indexPath)) {
+ res.sendFile(path.resolve(indexPath))
+ } else {
+ this.sendDefaultPage(res)
+ }
+ })
+
+ app.use(route, async (req, res, next) => {
+ await this.maybeRedetect()
+
+ switch (this.servingMode_) {
+ case "vite-proxy": {
+ proxyMiddleware(req, res, next)
+ return
+ }
+
+ case "static": {
+ staticServer(req, res, next)
+ return
+ }
+
+ case "default-page":
+ default: {
+ this.sendDefaultPage(res)
+ return
+ }
+ }
+ })
+
+ return app
+ }
+
+ private sendDefaultPage(res: express.Response): void {
+ res.status(200).type("html").send("Dashboard not built")
+ }
+
private checkViteDevServer(): Promise<boolean> {
const host = this.options_.viteDevServerHost ?? "localhost"
- const port = this.options_.viteDevServerPort ?? 5174
+ const port = this.options_.viteDevServerPort
return new Promise((resolve) => {
const req = http.request(
diff --git a/packages/dashboard-sdk/package.json b/packages/dashboard-sdk/package.json
index 38fea2284..0edb55e54 100644
--- a/packages/dashboard-sdk/package.json
+++ b/packages/dashboard-sdk/package.json
@@ -1,6 +1,6 @@
{
"name": "@mercurjs/dashboard-sdk",
- "version": "2.0.0-canary.55",
+ "version": "2.0.0-canary.56",
"repository": {
"type": "git",
"url": "https://github.com/mercurjs/mercur",
diff --git a/packages/dashboard-shared/package.json b/packages/dashboard-shared/package.json
index 5e909cd46..831b1963b 100644
--- a/packages/dashboard-shared/package.json
+++ b/packages/dashboard-shared/package.json
@@ -1,6 +1,6 @@
{
"name": "@mercurjs/dashboard-shared",
- "version": "2.0.0-canary.55",
+ "version": "2.0.0-canary.56",
"repository": {
"type": "git",
"url": "https://github.com/mercurjs/mercur",
diff --git a/packages/types/package.json b/packages/types/package.json
index 8bada038b..26b94503f 100644
--- a/packages/types/package.json
+++ b/packages/types/package.json
@@ -1,6 +1,6 @@
{
"name": "@mercurjs/types",
- "version": "2.0.0-canary.55",
+ "version": "2.0.0-canary.56",
"repository": {
"type": "git",
"url": "https://github.com/mercurjs/mercur",
diff --git a/packages/vendor/package.json b/packages/vendor/package.json
index 69fa94e58..79edcd95e 100644
--- a/packages/vendor/package.json
+++ b/packages/vendor/package.json
@@ -1,6 +1,6 @@
{
"name": "@mercurjs/vendor",
- "version": "2.0.0-canary.55",
+ "version": "2.0.0-canary.56",
"repository": {
"type": "git",
"url": "https://github.com/mercurjs/mercur",