@epilot/pricing
v5.6.7
Published
Pricing Library
Downloads
21,238
Maintainers
Keywords
Readme
Pricing Library
A library that provides pricing utility operations for Pricing Entities within the epilot 360 Platform, such as calculation of price item totals and aggregated totals. The purpose of this library is to provide support for common pricing concerns to all our APIs, micro-frontends and epilot Journeys.
Interactive Playground - WIP
Explore the library's capabilities live in your browser — configure tariffs, bundle products, and see real-time price calculations.
Getting Started
Install the package:
yarn add @epilot/pricingnpm install --save @epilot/pricingpnpm add @epilot/pricingReleasing
This project uses Changesets for versioning and publishing.
Adding a changeset
When you make a change that should be released, run:
pnpm changesetFollow the prompts to select the semver bump type (patch, minor, major) and describe your change.
Release workflow
- Create a feature branch and add your changeset(s) alongside your code changes.
- Open a PR to
main— CI runs tests as usual. - When the PR is merged, the Release workflow detects pending changesets and opens a "Version Packages" PR that bumps
package.jsonversion and updates the changelog. - When the Version Packages PR is merged, the Release workflow publishes the new version to npm and creates a git tag.
⚠️ Disclaimer
This library is made available as an open source contribution to the community to ensure that all our clients and integrators can have the flexibility to build their own custom frontends and integrations with our platform [^1].
However, this library is not intended to be used as a standalone product and it is not supported by epilot as such. If you have any questions or need help with this library, please contact our team.
[^1]: With love & dedication by :heart: tauro.
