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
Fix Seller packages build and release on CI
Damian Legawieca9987e6bbab2
diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.ymlindex 97ff19ae8c..c3dd2275ec 100644--- a/.github/workflows/packages.yml+++ b/.github/workflows/packages.yml@@ -472,6 +472,11 @@ jobs:npm install -g npm@latest --prefix="$HOME/.npm-global"echo "$HOME/.npm-global/bin" >> "$GITHUB_PATH"+ # As in the seller job: prepublishOnly compiles the Vite-plugin entries+ # with tsup, so the workspace dependency graph must be built first.+ - name: Build+ run: pnpm turbo build --filter=@spree/dashboard+- name: Publish unpublished versions (dependency order)run: |set -euo pipefail@@ -529,6 +534,14 @@ jobs:npm install -g npm@latest --prefix="$HOME/.npm-global"echo "$HOME/.npm-global/bin" >> "$GITHUB_PATH"+ # Each package's prepublishOnly runs tsup while packing, and tsup bundles+ # its workspace dependencies from their dist/ — @spree/seller-sdk pulls+ # in the private @spree/sdk-core, which nothing has built yet in a fresh+ # checkout. Build the graph first; `--filter` follows ^build, exactly as+ # the SDK and CLI release jobs do.+ - name: Build+ run: pnpm turbo build --filter=@spree/seller-sdk --filter=@spree/seller-dashboard+- name: Publish unpublished versions (dependency order)run: |set -euo pipefaildiff --git a/packages/seller-dashboard/package.json b/packages/seller-dashboard/package.jsonindex c87e0da261..751fbb6847 100644--- a/packages/seller-dashboard/package.json+++ b/packages/seller-dashboard/package.json@@ -4,6 +4,22 @@"license": "MIT","type": "module","description": "Spree marketplace seller panel — the seller-facing counterpart to the admin dashboard.",+ "homepage": "https://spreecommerce.org",+ "author": "Vendo Connect Inc.",+ "keywords": [+ "spree",+ "commerce",+ "ecommerce",+ "marketplace",+ "seller",+ "dashboard",+ "react"+ ],+ "repository": {+ "type": "git",+ "url": "https://github.com/spree/spree.git",+ "directory": "packages/seller-dashboard"+ },"exports": {".": "./src/index.ts","./styles.css": "./src/styles.css",diff --git a/packages/seller-sdk/package.json b/packages/seller-sdk/package.jsonindex a1dbb0bd07..45aa74f921 100644--- a/packages/seller-sdk/package.json+++ b/packages/seller-sdk/package.json@@ -59,7 +59,7 @@"repository": {"type": "git","url": "https://github.com/spree/spree.git",- "directory": "packages/admin-sdk"+ "directory": "packages/seller-sdk"},"homepage": "https://spreecommerce.org","bugs": {