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
fix(dashboard-sdk): simplify optimizeDeps config
vholikd80a1ba0021f
diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex d5a8f7369..612d3b55c 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/cli",- "version": "2.0.0-canary.13",+ "version": "2.0.0-canary.14","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/client/package.json b/packages/client/package.jsonindex ed2b5c534..6ab57e2ee 100644--- a/packages/client/package.json+++ b/packages/client/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/client",- "version": "2.0.0-canary.13",+ "version": "2.0.0-canary.14","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/core-plugin/package.json b/packages/core-plugin/package.jsonindex 26ad36ccf..b4d98b625 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.13",+ "version": "2.0.0-canary.14","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/dashboard-sdk/package.json b/packages/dashboard-sdk/package.jsonindex 50b0eafd0..44646e759 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.13",+ "version": "2.0.0-canary.14","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/dashboard-sdk/src/plugin.ts b/packages/dashboard-sdk/src/plugin.tsindex 0fb29176b..a0fc33535 100644--- a/packages/dashboard-sdk/src/plugin.ts+++ b/packages/dashboard-sdk/src/plugin.ts@@ -50,12 +50,7 @@ export function dashboardPlugin(): Vite.Plugin {"__BACKEND_URL__": JSON.stringify(config.backendUrl),},optimizeDeps: {- exclude: ['@mercurjs/vendor', 'virtual:mercur/config'],- include: [- 'react-fast-compare',- 'use-sync-external-store/shim',- 'use-sync-external-store/shim/with-selector',- ],+ exclude: ['virtual:mercur/config'],},}},diff --git a/packages/dashboard-shared/package.json b/packages/dashboard-shared/package.jsonindex 4313c05f3..776c7b689 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.13",+ "version": "2.0.0-canary.14","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",@@ -23,7 +23,7 @@"build": "tsup"},"dependencies": {- "@mercurjs/client": "2.0.0-canary.13",+ "@mercurjs/client": "2.0.0-canary.14","@ariakit/react": "^0.4.15","@babel/runtime": "^7.26.10","@dnd-kit/core": "^6.1.0",diff --git a/packages/types/package.json b/packages/types/package.jsonindex 5f5033310..0d9c65333 100644--- a/packages/types/package.json+++ b/packages/types/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/types",- "version": "2.0.0-canary.13",+ "version": "2.0.0-canary.14","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",diff --git a/packages/vendor/package.json b/packages/vendor/package.jsonindex 7f526682e..98765eb9e 100644--- a/packages/vendor/package.json+++ b/packages/vendor/package.json@@ -1,6 +1,6 @@{"name": "@mercurjs/vendor",- "version": "2.0.0-canary.13",+ "version": "2.0.0-canary.14","repository": {"type": "git","url": "https://github.com/mercurjs/mercur",@@ -29,8 +29,8 @@"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"},"dependencies": {- "@mercurjs/dashboard-shared": "2.0.0-canary.13",- "@mercurjs/client": "2.0.0-canary.13",+ "@mercurjs/dashboard-shared": "2.0.0-canary.14",+ "@mercurjs/client": "2.0.0-canary.14","@ariakit/react": "^0.4.15","@babel/runtime": "^7.26.10","@dnd-kit/core": "^6.1.0",diff --git a/templates/basic/apps/vendor/package.json b/templates/basic/apps/vendor/package.jsonindex cdb5306a9..a06388827 100644--- a/templates/basic/apps/vendor/package.json+++ b/templates/basic/apps/vendor/package.json@@ -11,15 +11,15 @@},"dependencies": {"@medusajs/icons": "^2.13.0",- "@mercurjs/dashboard-sdk": "2.0.0-canary.13",- "@mercurjs/vendor": "2.0.0-canary.13",+ "@mercurjs/dashboard-sdk": "2.0.0-canary.14",+ "@mercurjs/vendor": "2.0.0-canary.14","react": "^18.0.0","react-dom": "^18.0.0","react-i18next": "13.5.0","@tanstack/react-query": "5.64.2","@medusajs/ui": "4.1.1","react-router-dom": "6.30.3",- "@mercurjs/client": "2.0.0-canary.13",+ "@mercurjs/client": "2.0.0-canary.14","@acme/api": "*","@tanstack/react-table": "8.20.5"},diff --git a/templates/basic/packages/api/package.json b/templates/basic/packages/api/package.jsonindex 76e10b9b6..4ebd89358 100644--- a/templates/basic/packages/api/package.json+++ b/templates/basic/packages/api/package.json@@ -36,8 +36,8 @@"@medusajs/admin-shared": "^2.13.0","@medusajs/medusa": "^2.13.0","@medusajs/draft-order": "2.13.0",- "@mercurjs/core-plugin": "2.0.0-canary.13",- "@mercurjs/types": "2.0.0-canary.13",+ "@mercurjs/core-plugin": "2.0.0-canary.14",+ "@mercurjs/types": "2.0.0-canary.14","zod": "3.25.76"},"devDependencies": {