@endora-commerce/mod-carts
v0.103.1
Published
Shopping cart aggregation, pricing, lifecycle, and approval gate.
Downloads
1,024
Readme
@endora-commerce/mod-carts
Shopping cart aggregation, pricing, lifecycle, and approval gate.
What this is
An Endora Commerce module package. Its module id is carts — the identity of record in the platform's registries, in its migrations and in its setting, permission and translation codes.
A module is not imported by application code. The platform discovers the extension packages an instance has installed, reads the manifest on the root subpath and composes the module from it, so installing this package and starting the instance is the whole integration.
Entry points
| Import | Contents |
| --- | --- |
| @endora-commerce/mod-carts | the module manifest — its id, version, dependencies, settings and activation |
| @endora-commerce/mod-carts/admin | the Admin UI contribution: the screens, navigation and palette actions it adds |
| @endora-commerce/mod-carts/backend | the composition root the platform calls, with the entities, services, routes and workers it registers |
| @endora-commerce/mod-carts/migrations | the module’s own schema migrations, in the order the platform runs them |
| @endora-commerce/mod-carts/ports | type-only — the port interfaces other modules resolve this one through |
| @endora-commerce/mod-carts/tailwind.css | the Tailwind source declaration for the admin code above |
Depends on
Everything below is a peer dependency, so the application resolves exactly one copy of each — two copies of a host or of React are a runtime failure rather than a type error. An entry marked optional is needed only by the layers that use it.
Endora packages
@endora-commerce/admin-kit— optional@endora-commerce/contracts@endora-commerce/platform
Third-party
@fastify/cookie^11@mikro-orm/core^6@mikro-orm/migrations^6@mikro-orm/postgresql^6fastify^5.11.0ioredis^5lucide-react^1 — optionalreact^19 — optionalreact-router-dom^7 — optionalzod^4
What the tarball carries
dist/— the compiled JavaScript and its type declarationsi18n/— the translation bundles this package ships (en,pl), loaded by the platformdocs/— the package’s own pages in the Endora Commerce documentation sitetailwind.css— the Tailwind source declaration
Install
pnpm add @endora-commerce/mod-cartsLicence
MIT — the text is in LICENSE, beside this file.
