8000 GitHub - npeltier/mas: Merch At Scale - a library of web components providing merchandising content to various surfaces.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ mas Public
forked from adobecom/mas

Merch At Scale - a library of web components providing merchandising content to various surfaces.

License

Notifications You must be signed in to change notification settings

npeltier/mas

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Merch At Scale

This project is a library of web components providing merchandising content to various surfaces.

Environments

Feature branch name

Feature branches need to have the name in format MWPW-XXXXXX where XXXXXX is the ticket number in Jira, otherwise IMS client regex check will fail and user will not be able to sign in.

Installation

npm i

Linting

npm run lint

Local development

npm run build
npm run studio

To test your local changes from Milo run in milo root:

aem up --port 6456

and access studio at http://localhost:3000/studio.html?milolibs=local

to test gallery:

  1. shut down npm run studio if you were running it.
npm run gallery

Refer to the corresponding README.md under any of the packages:

  • studio - M@S Studio for creating, updating and publishing merch fragments
  • ost-audit - crawls EDS pages HTML for OST links and generates a CSV report

Nala E2E tests

for initial setup:

npm install
npx playwright install
export IMS_EMAIL=<val>
export IMS_PASS=<val>

Ask colleagues/slack for IMS_EMAIL ad IMS_PASS values, your user might not work as expected because it's not '@adobetest.com' account.

npm run nala local - to run on local npm run nala MWPW-160756 - to run on branch npm run nala MWPW-160756 mode=ui - ui mode

Beware that 'npm run nala' runs node nala/utils/nala.run.js, it's not the script that GH action does. If you want to debug GH action script run sh nala/utils/gh.run.sh

CI/CD

documented in .github/README.md

Troubleshooting

Please reach out to us in #merch-at-scale for any questions.

About

Merch At Scale - a library of web components providing merchandising content to various surfaces.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 69.2%
  • CSS 26.6%
  • HTML 4.1%
  • Shell 0.1%
0