Integration
Svelte Commerce on commercetools
Version-based optimistic concurrency is modelled throughout, and everything is wired against the /me endpoints so nothing runs unscoped.
Coverage
21 of 43 storefront services are wired to a real commercetools endpoint.
Env wiring is not shipped — you add the branch.
$ npm uninstall @misiki/litekart-connector
$ npm i @misiki/commercetools-connector
$ npm run devSetup
1 · Point the config at the connector
// kitcommerce.config.ts
export * as services from '@misiki/commercetools-connector'2 · Set the environment
# .env
PUBLIC_COMMERCETOOLS_API_URL=# Not yet read by init.ts — add this branch yourselfWhat to know
- Env wiring is not shipped: add a branch to
src/lib/core/connectors/init.ts. - Every mutation carries
{ version, actions: [] }. - Country, currency, page and vendor have no wired equivalent.
Full guide with troubleshooting, store identity and per-service behaviour: docs/COMMERCETOOLS.md