@microsoft/rush
A professional solution for consolidating all your JavaScript projects in one Git repo
Last updated 3 days ago by odspnpm .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @microsoft/rush -g
SYNC missed versions from official npm registry.

@microsoft/rush

rush
      https://rushjs.io

Rush makes life easier for JavaScript developers who build and publish many NPM packages at once. If you're looking to consolidate all your projects into a single repo, you came to the right place! Rush is a fast, professional solution for managing this scenario. It gives you:

  • A single NPM install: In one step, Rush installs all the dependencies for all your projects into a common folder. This is not just a "package.json" file at the root of your repo (which might set you up to accidentally require() a sibling's dependencies). Instead, Rush uses symlinks to reconstruct an accurate "node_modules" folder for each project, without any of the limitations or glitches that seem to plague other approaches.

    This algorithm supports the PNPM, NPM, and Yarn package managers.

  • Automatic local linking: Inside a Rush repo, all your projects are automatically symlinked to each other. When you make a change, you can see the downstream effects without publishing anything, and without any npm link headaches. If you don't want certain projects to get linked, that's supported, too.

  • Fast builds: Rush detects your dependency graph and builds your projects in the right order. If two packages don't directly depend on each other, Rush parallelizes their build as separate NodeJS processes (and shows live console output in a readable order). In practice this multi-process approach can yield more significant speedups than all those async functions in your single-threaded Gulpfile.

  • Subset and incremental builds: If you only plan to work with a few projects from your repo, rush rebuild --to <project> does a clean build of just your upstream dependencies. After you make changes, rush rebuild --from <project> does a clean build of only the affected downstream projects. And if your toolchain is package-deps-hash enabled, rush build delivers a powerful cross-project incremental build (that also supports subset builds).

  • Cyclic dependencies: If you have hammers that build hammer-factory-factories, Rush has you covered! When a package indirectly depends on an older version of itself, projects in the cycle use the last published version, whereas other projects still get the latest bits.

  • Bulk publishing: When it's time to do a release, Rush can detect which packages have changes, automatically bump all the appropriate version numbers, and run npm publish in each folder. If you like, configure your server to automatically run rush publish every hour.

  • Changelog tracking: Whenever a PR is created, you can require developers to provide a major/minor/patch log entry for the affected projects. During publishing, these changes will be automatically aggregated into a nicely formatted CHANGELOG.md file.

  • Enterprise policies: Want to review new libraries before developers add them to package.json, but avoid hassling people about already approved cases? Want to enforce that all your projects depend on the same library version numbers? Are unprofessional personal e-mail addresses accidentally showing up in your company's Git history? Rush can help maintain a consistent ecosystem when you've got many developers and many projects in the mix.

  • Lots more! Rush was created by the platform team for Microsoft SharePoint. We build hundreds of production NPM packages every day, from internal and public Git repositories, for third party SDKs and live services with millions of users. If there's an important package management problem that needs solvin', it's likely to end up as a feature for Rush.

3 Minute Demo

See Rush in action! From your shell, install the tool like this:

$ npm install -g @microsoft/rush

For command-line help, do this:

$ rush -h

To see Rush build some real projects, try running these commands: :-)

$ git clone https://github.com/Microsoft/web-build-tools
$ cd web-build-tools
$ rush install
$ rush install  # <-- instantaneous!
$ rush rebuild
$ rush build    # <-- instantaneous!

(If you don't have a GitHub account set up, you can use rush install --bypass-policy.)

Getting Started

For more details and support resources, please visit: https://rushjs.io

Current Tags

  • 5.0.0-dev.25                                ...           dev (9 months ago)
  • 5.6.2                                ...           latest (3 days ago)

97 Versions

  • 5.6.2                                ...           3 days ago
  • 5.6.1                                ...           7 days ago
  • 5.6.0                                ...           10 days ago
  • 5.5.4                                ...           3 months ago
  • 5.5.3                                ...           4 months ago
  • 5.5.2                                ...           5 months ago
  • 5.5.1                                ...           5 months ago
  • 5.4.0                                ...           5 months ago
  • 5.3.4                                ...           5 months ago
  • 5.3.3                                ...           5 months ago
  • 5.3.2                                ...           6 months ago
  • 5.3.1                                ...           6 months ago
  • 5.3.0                                ...           6 months ago
  • 5.2.1                                ...           6 months ago
  • 5.2.0                                ...           6 months ago
  • 5.1.0                                ...           7 months ago
  • 5.0.6                                ...           7 months ago
  • 5.0.5                                ...           7 months ago
  • 5.0.4                                ...           7 months ago
  • 5.0.3                                ...           7 months ago
  • 5.0.2                                ...           7 months ago
  • 5.0.0                                ...           9 months ago
  • 5.0.0-dev.25                                ...           9 months ago
  • 5.0.0-dev.24                                ...           9 months ago
  • 5.0.0-dev.23                                ...           9 months ago
  • 5.0.0-dev.22                                ...           10 months ago
  • 4.3.3                                ...           10 months ago
  • 5.0.0-dev.21                                ...           10 months ago
  • 5.0.0-dev.20                                ...           10 months ago
  • 5.0.0-dev.19                                ...           10 months ago
  • 5.0.0-dev.18                                ...           10 months ago
  • 5.0.0-dev.17                                ...           10 months ago
  • 5.0.0-dev.16                                ...           a year ago
  • 5.0.0-dev.15                                ...           a year ago
  • 5.0.0-dev.14                                ...           a year ago
  • 5.0.0-dev.13                                ...           a year ago
  • 5.0.0-dev.12                                ...           a year ago
  • 5.0.0-dev.11                                ...           a year ago
  • 5.0.0-dev.10                                ...           a year ago
  • 5.0.0-dev.9                                ...           a year ago
  • 5.0.0-dev.8                                ...           a year ago
  • 5.0.0-dev.7                                ...           a year ago
  • 5.0.0-dev.6                                ...           a year ago
  • 5.0.0-dev.5                                ...           a year ago
  • 5.0.0-dev.4                                ...           a year ago
  • 5.0.0-dev.3                                ...           a year ago
  • 5.0.0-dev.2                                ...           a year ago
  • 5.0.0-dev.1                                ...           a year ago
  • 4.3.2                                ...           a year ago
  • 4.3.1                                ...           a year ago
  • 4.3.0                                ...           a year ago
  • 4.2.5                                ...           a year ago
  • 4.2.4                                ...           a year ago
  • 4.2.3                                ...           a year ago
  • 4.2.2                                ...           a year ago
  • 4.2.1                                ...           a year ago
  • 4.2.0                                ...           a year ago
  • 4.1.1                                ...           a year ago
  • 4.1.0                                ...           a year ago
  • 4.0.1                                ...           a year ago
  • 4.0.0                                ...           a year ago
  • 3.0.20                                ...           a year ago
  • 3.0.19                                ...           a year ago
  • 3.0.18                                ...           a year ago
  • 3.0.17                                ...           2 years ago
  • 3.0.16                                ...           2 years ago
  • 3.0.15                                ...           2 years ago
  • 3.0.14                                ...           2 years ago
  • 3.0.12                                ...           2 years ago
  • 3.0.11                                ...           2 years ago
  • 3.0.10                                ...           2 years ago
  • 3.0.9                                ...           2 years ago
  • 3.0.8                                ...           2 years ago
  • 3.0.7                                ...           2 years ago
  • 3.0.6                                ...           2 years ago
  • 3.0.5                                ...           2 years ago
  • 3.0.4                                ...           2 years ago
  • 3.0.3                                ...           2 years ago
  • 3.0.2                                ...           2 years ago
  • 3.0.1                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 2.5.0                                ...           2 years ago
  • 2.4.0                                ...           2 years ago
  • 2.3.1                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 2.2.1 [deprecated]           ...           2 years ago
  • 2.2.0 [deprecated]           ...           2 years ago
  • 1.8.3                                ...           2 years ago
  • 1.8.2                                ...           2 years ago
  • 1.8.1                                ...           2 years ago
  • 1.8.0                                ...           2 years ago
  • 1.7.0                                ...           2 years ago
  • 1.5.1                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.4.1                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 0.0.0                                ...           2 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 258
Last Day 0
Last Week 138
Last Month 382
Dependencies (4)
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |