Illustrates a sample monorepo configuration for use with the Rush tool
Перейти к файлу
Pete Gonzalez a9caf17f5e node \git\rushstack\apps\rush-lib\lib\start update 2020-06-29 12:43:19 -07:00
apps/my-app node \git\rushstack\apps\rush-lib\lib\start update 2020-06-29 12:43:19 -07:00
common node \git\rushstack\apps\rush-lib\lib\start update 2020-06-29 12:43:19 -07:00
libraries/my-controls node \git\rushstack\apps\rush-lib\lib\start update 2020-06-29 12:43:19 -07:00
tools/my-toolchain Add an example implementation for "my-bulk-command" 2019-06-17 21:04:17 -07:00
.gitattributes rush init --overwrite-existing --rush-example-repo 2020-03-12 16:07:31 -07:00
.gitignore rush init --overwrite-existing --rush-example-repo 2020-06-14 18:41:12 -07:00
.travis.yml Sync with "rush init --overwrite-existing --rush-example-repo" from Rush 5.6.1 2019-03-17 21:59:45 -07:00
LICENSE Initial commit 2018-09-11 14:37:41 -07:00
README.md Update README.md 2018-10-02 11:11:24 +02:00
rush.json Enable workspaces 2020-06-26 16:11:41 -07:00

README.md

Example Rush Monorepo

This template is part of the documentation of the Rush tool. It contains documented templates for all the standard Rush configuration files. It also includes three barebones projects that illustrate some dependency relationships in a Rush repo:

  • apps/my-app: The web application
  • libraries/my-controls: A control library used by the application
  • tools/my-toolchain: A NodeJS build tool used to compile the other projects

(These projects are NOT meant to provide a realistic toolchain.)

Building this repo

To build the projects in this repo, try these shell commands:

npm install -g @microsoft/rush
rush install
rush build

For more information, see the documentation at: https://rushjs.io/

Contributing

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.

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.