This project is a library of web components providing merchandising content to various surfaces.
npm i
npm run lint
npm run build
aem up
Refer to the corresponding README.md under any of the packages:
- commerce - contains generic commerce-related logic, 'price' and 'checkout-link' web components
- web-components - merch-card, merch-offer-selector and other web components
- studio - M@S Studio for creating, updating and publishing merch fragments
Before each push 'npm run build' is triggered.
- It will build the artifacts in the /libs folder
- If any of the artifacts have an update the hook will stage the changes and commit
- If there are unstaged/uncommitted changes the hook will prevent the push
There is no need to run 'npm run build' manually, but if you run it and commit - no issue (then hook won't do an additional commit).
Please reach out to us in #tacocat-friends
for any questions.