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.

fix: update dashboard-sdk exports for cjs-only build

vholikfb14ae3d8a88
diff --git a/bun.lock b/bun.lock
index a8d2dc53c..b2e957574 100644
--- a/bun.lock
+++ b/bun.lock
@@ -38,7 +38,7 @@
},
"packages/admin": {
"name": "@mercurjs/admin",
- "version": "2.0.0-canary.75",
+ "version": "2.0.0-canary.77",
"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.75",
+ "version": "2.0.0-canary.77",
"bin": {
"mercurjs": "./dist/index.js",
},
@@ -137,7 +137,7 @@
},
"packages/client": {
"name": "@mercurjs/client",
- "version": "2.0.0-canary.75",
+ "version": "2.0.0-canary.77",
"dependencies": {
"@tanstack/react-query": "^5.64.2",
"qs": "^6.12.1",
@@ -154,7 +154,7 @@
},
"packages/core-plugin": {
"name": "@mercurjs/core-plugin",
- "version": "2.0.0-canary.75",
+ "version": "2.0.0-canary.77",
"devDependencies": {
"@medusajs/cli": "^2.13.3",
"@medusajs/core-flows": "^2.13.3",
@@ -195,7 +195,7 @@
},
"packages/dashboard-sdk": {
"name": "@mercurjs/dashboard-sdk",
- "version": "2.0.0-canary.75",
+ "version": "2.0.0-canary.77",
"dependencies": {
"@babel/parser": "7.25.6",
"@babel/traverse": "7.25.6",
@@ -212,7 +212,7 @@
},
"packages/dashboard-shared": {
"name": "@mercurjs/dashboard-shared",
- "version": "2.0.0-canary.75",
+ "version": "2.0.0-canary.77",
"dependencies": {
"@ariakit/react": "^0.4.15",
"@babel/runtime": "^7.26.10",
@@ -276,7 +276,7 @@
"@medusajs/ui": "4.1.1",
"@mercurjs/client": "workspace:*",
"@mercurjs/core-plugin": "workspace:*",
- "@mercurjs/dashboard-sdk": "workspace:*",
+ "@mercurjs/dashboard-sdk": "*",
"@mercurjs/dashboard-shared": "workspace:*",
"@mercurjs/vendor": "workspace:*",
"@talkjs/react": "^0.1.11",
@@ -304,7 +304,7 @@
},
"packages/types": {
"name": "@mercurjs/types",
- "version": "2.0.0-canary.75",
+ "version": "2.0.0-canary.77",
"dependencies": {
"@medusajs/types": "2.13.3",
},
@@ -314,7 +314,7 @@
},
"packages/vendor": {
"name": "@mercurjs/vendor",
- "version": "2.0.0-canary.75",
+ "version": "2.0.0-canary.77",
"dependencies": {
"@ariakit/react": "^0.4.15",
"@babel/runtime": "^7.26.10",
diff --git a/packages/dashboard-sdk/package.json b/packages/dashboard-sdk/package.json
index a8aec65b0..14ea0645b 100644
--- a/packages/dashboard-sdk/package.json
+++ b/packages/dashboard-sdk/package.json
@@ -12,8 +12,8 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
- "import": "./dist/index.js",
- "require": "./dist/index.cjs"
+ "require": "./dist/index.cjs",
+ "default": "./dist/index.cjs"
}
},
"files": [
diff --git a/packages/registry/package.json b/packages/registry/package.json
index 945b74516..3098694e4 100644
--- a/packages/registry/package.json
+++ b/packages/registry/package.json
@@ -13,7 +13,7 @@
"@medusajs/framework": "^2.13.3",
"@medusajs/medusa": "^2.13.3",
"@mercurjs/dashboard-shared": "workspace:*",
- "@mercurjs/dashboard-sdk": "workspace:*",
+ "@mercurjs/dashboard-sdk": "*",
"@medusajs/ui": "4.1.1",
"@medusajs/icons": "2.13.3",
"@tanstack/react-query": "5.64.2",