- Getting Set up
- Building Samples and Packages
- Running a Sample or Storybook
- Testing your changes
- Writing unit tests
- Submitting a PR
- Having your changes published
-
Install Node.js (16.19.0 and above).
-
(Recommended) Install Visual Studio Code (Stable Build).
-
Install Rush, in a terminal of your choosing, run:
npm i -g @microsoft/rush
Clone the repo: https://github.com/Azure/communication-ui-library
# HTTPS
git clone https://github.com/Azure/communication-ui-library.git
# SSH
git clone [email protected]:Azure/communication-ui-library.git
Navigate to your cloned repo and install dependencies for all packages and samples:
# navigate to the repository
cd communication-ui-library/
# install dependencies
rush update
note: this may take a long time the first time it runs
If you are running into issues such as "Filename too long" when setting up the repo. e.g
error: cannot stat 'packages/react-composites/tests/browser/snapshots/stable/tests/browser/callwithchat/CallWithChatComposite.test.ts-snapshots/call-with-chat-more-drawer-new-selected-microphone-screen-Mobile-Android-Portrait-linux.png': Filename too long
We suggest running this command
git config --system core.longpaths true
or without --system
git config core.longpaths true