spree-typescript-sdk
Installation
SKILL.md
Spree TypeScript SDK (@spree/sdk)
Before writing code
Fetch live docs:
- Fetch https://spreecommerce.org/docs/developer/sdk/quickstart for the SDK's current API surface.
- Inspect the SDK's source / README on GitHub (likely under https://github.com/spree/sdk or as part of the
storefrontrepo) for resource names and parameter shapes. - Check the npm registry page for
@spree/sdkfor the current version aligned to your Spree backend release. - Read the v5.4 announcement (https://spreecommerce.org/announcing-spree-commerce-5-4/) for the SDK's release context.
- For the Next.js usage pattern, fetch https://spreecommerce.org/docs/developer/storefront/nextjs/quickstart.