Skip to content

ExaForce/commerce-events

 
 

Repository files navigation

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:

  • sdk - http://localhost:8080/index.js
  • collector - http://localhost:8081/index.js

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:

  • create a PR with a version bump in the package.json and package-lock.json in the package(s) you're releasing (example PR here)

  • once the PR is approved and merged, create a new release tag for the repo

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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.5%
  • JavaScript 2.5%