Make sure the Rush tool is installed, following the Building the projects instructions.
Install dependencies for all projects in the monorepo:
# Run this command in the folder where you cloned the TSDoc repo from GitHub $ rush install
Note: After you run
rush install, your repo will be in a “Rush-linked” state, with special symlinks in the node_modules folders. DO NOT run
npm installin this state. If you want to go back to working in standalone mode, first run
rush unlink && rush purge.
Build and test all the projects in the monorepo:
$ rush build
You can also build just the @microsoft/tsdoc library like this:
$ cd ./tsdoc $ npm run build
$ rush change # (The tool will ask you to write a sentence describing your change.)
rush changecommand will create a file under the common/changes folder. Add this file to Git and include in your pull request. Please see Everyday commands for more details about how these files are used.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.