|
| 1 | +# @microsoft/rush-stack |
| 2 | + |
| 3 | +**Rush Stack** is a work in progress to create a reusable toolchain that can be shared by many |
| 4 | +different TypeScript projects in a [Rush](https://rushjs.io) monorepo. **Rush** itself is flexible |
| 5 | +and doesn't impose any limitations for how a project is built. But this flexibility comes at a cost: |
| 6 | +When developers choose popular tools and write a script to invoke them, they often quickly |
| 7 | +find themselves invested in a nontrivial tooling project, with a growing backlog of requests to |
| 8 | +improve the developer experience, performance, scalability, and so forth. **Rush Stack** aims to |
| 9 | +eliminate this hassle, by providing a complete and professional solution for all the common problems such as: |
| 10 | + |
| 11 | +- compiling |
| 12 | +- linting |
| 13 | +- localization |
| 14 | +- *.js bundling and *.d.ts rollups |
| 15 | +- live debugging (with hot module replacement) |
| 16 | +- unit tests |
| 17 | +- publishing |
| 18 | +- documentation |
| 19 | + |
| 20 | +**Rush Stack** is a collaboration between various stakeholders in the Rush community, |
| 21 | +with the following common goals: |
| 22 | + |
| 23 | +- **complete solution**: Rush Stack will support customization and extensibility, but the out-of-box configuration will aim to handle all the most common JavaScript development scenarios (e.g. 80% of projects in an enterprise monorepo) |
| 24 | +- **opinionated approach**: We will bet on specific components (e.g. webpack, Jest, etc) with proven records. |
| 25 | +- **integrated solution**: We'll leverage these bets to ensure that the components integrate properly, and "go deep" to ensure the best possible developer experience. |
| 26 | +- **open architecture**: Whereas previous approaches attempted to encapsulate components behind "task" abstractions that would be easier to use in theory, the **Rush Stack** architecture aims to be easy to understand, easy to debug, and easy to contribute fixes to. |
| 27 | +- **performance tracking**: The toolchain will provide fine-grained diagnostics for tracking build execution and bundle sizes. |
| 28 | +- **multi-phase builds**: The build process will have formalized stages for compiling, type-checking, bundling, unit-tests, which allows downstream projects to start building before upstream projects complete their later stages |
| 29 | +- **multi-machine builds**: Rush Stack will provide a standardized model for sharding builds across multiple VMs. |
| 30 | +- **standardized layouts**: We hope to simplify the onboarding experience when starting with any monorepo that uses Rush Stack, by establishing familiar directory structures and naming conventions. |
| 31 | + |
| 32 | +## Project Status |
| 33 | + |
| 34 | +**Rush Stack** is still in its early phases. If you'd like to participate, please [open an issue](https://github.com/Microsoft/web-build-tools/issues) or join the [web-build-tools Gitter community](https://gitter.im/web-build-tools/web-build-tools). |
0 commit comments