Welcome to the Teams client library monorepo! For breaking changes, please refer to our changelog in the <root>/packages/teams-js
directory. This repository contains the core teams-js package as well as tools and applications for analyzing and testing.
The following guide references steps to build the entire project including TeamsJS and all of the included apps. For guidelines on just building an individual app please look at the Apps.
- Clone this repository
git clone https://github.com/OfficeDev/microsoft-teams-library-js.git
- Run
pnpm install
from repo root - Run
pnpm build
from repo root - To run Unit tests, run
pnpm test
Please look through our Contributing Guide for important details on how to submit a pull request and contribute to this repository.
NOTE: Make sure pnpm@7.30.1
is installed as a global tool, by running npm install -g pnpm@7.30.1
.
TIP: whenever building or testing the Teams client library, you can run pnpm build
or pnpm test
from the packages/teams-js
directory.
This JavaScript library is part of the Microsoft Teams developer platform. See full library reference documentation.
Contain the core exports for the repository.
Used to integrate custom services and applications with Teams, Outlook, and Office.
The apps folder contains applications used to test various aspects of the library.
React application used to locally test the loading times of the library.
Application used to test the functionality of the various library APIs.
Application used to ensure library changes do not break server-side rendering capabilities.
If you would like to locally generate reference documentation for TeamsJS v2, simply utilize the script pnpm run docs
either from the monorepo root or inside the teams-js project root (packages/teams-js
). This should output the generated documentation to packages/teams-js/docs
.
We strongly welcome and encourage contributions to this project. Please read the contributor's guide which contains important information.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.