Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Bump dashboard packages to 0.10.0 (#14304)
Damian Legawiec5941aa99eaf6
diff --git a/docs/developer/dashboard/plugins/publishing.mdx b/docs/developer/dashboard/plugins/publishing.mdxindex aa2ee2db76..eed1b6500d 100644--- a/docs/developer/dashboard/plugins/publishing.mdx+++ b/docs/developer/dashboard/plugins/publishing.mdx@@ -15,8 +15,8 @@ Your plugin imports React, the dashboard, Tailwind, i18next, etc., but **you don"peerDependencies": {"react": "^19","react-dom": "^19",- "@spree/dashboard-core": "^0.1.0",- "@spree/dashboard-ui": "^0.1.0",+ "@spree/dashboard-core": "^0.10.0",+ "@spree/dashboard-ui": "^0.10.0","@spree/admin-sdk": "^0.5.0","i18next": "^26","react-i18next": "^17",@@ -27,7 +27,7 @@ Your plugin imports React, the dashboard, Tailwind, i18next, etc., but **you don}```-Use ranges, not exact versions — pin too tightly and consumers can't upgrade the dashboard without you cutting a release. One Developer Preview caveat: for `0.x` versions, `^` only allows patch-level drift (`^0.1.0` matches `0.1.x`, not `0.2.0`), so expect to bump your `@spree/dashboard-*` peers alongside dashboard releases until 1.0. `spree plugin new` scaffolds these ranges for you, matched to the current release.+Use ranges, not exact versions — pin too tightly and consumers can't upgrade the dashboard without you cutting a release. One Developer Preview caveat: for `0.x` versions, `^` only allows patch-level drift (`^0.10.0` matches `0.10.x`, not `0.11.0`), so expect to bump your `@spree/dashboard-*` peers alongside dashboard releases until 1.0. `spree plugin new` scaffolds these ranges for you, matched to the current release.`dependencies` is for things your plugin *uses* that the host *doesn't* — small utilities (e.g., `clsx`, `date-fns` if you need a specific version, your own helper packages). When in doubt, peer-dep it. The trade-off is "user has to install one more thing" vs. "user has two copies of React" — always pay the first cost.diff --git a/packages/cli/templates/plugin/packages/dashboard/package.json.tt b/packages/cli/templates/plugin/packages/dashboard/package.json.ttindex b725db9d07..fc45fbb8af 100644--- a/packages/cli/templates/plugin/packages/dashboard/package.json.tt+++ b/packages/cli/templates/plugin/packages/dashboard/package.json.tt@@ -29,8 +29,8 @@},"peerDependencies": {"@spree/admin-sdk": "^0.5.0",- "@spree/dashboard-core": "^0.1.0",- "@spree/dashboard-ui": "^0.1.0",+ "@spree/dashboard-core": "^0.10.0",+ "@spree/dashboard-ui": "^0.10.0","@tanstack/react-query": "^5","@tanstack/react-router": "^1","i18next": "^26",diff --git a/packages/dashboard-core/package.json b/packages/dashboard-core/package.jsonindex db4aaf3b54..85e014a110 100644--- a/packages/dashboard-core/package.json+++ b/packages/dashboard-core/package.json@@ -1,7 +1,7 @@{"name": "@spree/dashboard-core","license": "MIT",- "version": "0.1.0",+ "version": "0.10.0","description": "Spree Dashboard framework — registries (table, nav, slot, settings-nav), providers (auth, permission, store), admin SDK client, generic infra hooks, and the defineDashboardPlugin extension API. Developer Preview.","author": "Vendo Connect Inc.","homepage": "https://spreecommerce.org",diff --git a/packages/dashboard-ui/package.json b/packages/dashboard-ui/package.jsonindex 81c675543e..e8130de69a 100644--- a/packages/dashboard-ui/package.json+++ b/packages/dashboard-ui/package.json@@ -1,7 +1,7 @@{"name": "@spree/dashboard-ui","license": "MIT",- "version": "0.1.0",+ "version": "0.10.0","description": "Spree Dashboard design system — shadcn primitives, headless composed components, and design tokens. Source-only package; consumers compile via their own Vite/Tailwind setup. Developer Preview.","author": "Vendo Connect Inc.","homepage": "https://spreecommerce.org",diff --git a/packages/dashboard/package.json b/packages/dashboard/package.jsonindex 0d2d9b8d7a..cedd7d5c7f 100644--- a/packages/dashboard/package.json+++ b/packages/dashboard/package.json@@ -1,7 +1,7 @@{"name": "@spree/dashboard","license": "MIT",- "version": "0.1.0",+ "version": "0.10.0","description": "Spree Dashboard app shell — the next-gen React admin for Spree Commerce. Routes, resource hooks, schemas, locales, and the <Dashboard /> component. Source-only package; hosts compile it via @spree/dashboard/vite. Developer Preview.","author": "Vendo Connect Inc.","homepage": "https://spreecommerce.org",