adobe / commerce-events

MIT License
6 stars 7 forks source link

Adobe Commerce Events

A monorepo for Adobe Commerce Events packages. This repo is using turborepo to manage packages.

Getting Started

This turborepo uses Yarn as a package manager. Install yarn if you haven't already by running npm install -g yarn.

Develop

To develop all apps and packages, run the following command:

cd commerce-events
yarn dev

This runs all packages and examples at the same time. The newer examples are using NextJS to make sure we cover use cases for modern package development. Under the old-examples, we are using parcel to just quickly host static files and test our amd/umd scripts.

Under the dev script, our built files are hosted at:

Release process

QA

Merging a change to the main branch triggers a github action that builds and deploys the latest code to QA: https://cdn.jsdelivr.net/npm/@adobe/magento-storefront-event-collector@qa/dist/index.js.

Production

Release steps:

Creating a new release tag triggers a github action that builds and deploys the latest code to Prod: https://cdn.jsdelivr.net/npm/@adobe/magento-storefront-event-collector/dist/index.js.

NPM Packages

Name NPM Namespace version
storefront-events-sdk @adobe/magento-storefront-events-sdk 1.x
storefront-events-collector @adobe/magento-storefront-event-collector 1.x