|
16 | 16 | * path segment in the "$schema" field for all your Rush config files. This will ensure
|
17 | 17 | * correct error-underlining and tab-completion for editors such as VS Code.
|
18 | 18 | */
|
19 |
| - "rushVersion": "5.35.2", |
| 19 | + "rushVersion": "5.44.0", |
20 | 20 |
|
21 | 21 | /**
|
22 | 22 | * The next field selects which package manager should be installed and determines its version.
|
|
26 | 26 | * Specify one of: "pnpmVersion", "npmVersion", or "yarnVersion". See the Rush documentation
|
27 | 27 | * for details about these alternatives.
|
28 | 28 | */
|
29 |
| - "pnpmVersion": "5.13.4", |
| 29 | + "pnpmVersion": "5.15.2", |
30 | 30 |
|
31 | 31 | // "npmVersion": "4.5.0",
|
32 | 32 | // "yarnVersion": "1.9.4",
|
|
100 | 100 | * If true, then `rush install` will use the PNPM workspaces feature to perform the
|
101 | 101 | * install.
|
102 | 102 | *
|
103 |
| - * This feature uses PNPM to peform the entire monorepo install. When using workspaces, Rush will |
| 103 | + * This feature uses PNPM to perform the entire monorepo install. When using workspaces, Rush will |
104 | 104 | * generate a "pnpm-workspace.yaml" file referencing all local projects to install. Rush will
|
105 | 105 | * also generate a "pnpmfile.js" which is used to provide preferred versions support. When install
|
106 | 106 | * is run, this pnpmfile will be used to replace dependency version ranges with a smaller subset
|
|
120 | 120 | *
|
121 | 121 | * Specify a SemVer range to ensure developers use a Node.js version that is appropriate
|
122 | 122 | * for your repo.
|
| 123 | + * |
| 124 | + * LTS schedule: https://nodejs.org/en/about/releases/ |
| 125 | + * LTS versions: https://nodejs.org/en/download/releases/ |
123 | 126 | */
|
124 |
| - // "nodeSupportedVersionRange": ">=12.13.0 <13.0.0", |
125 |
| - "nodeSupportedVersionRange": ">=10.13.0 <11.0.0 || >=12.13.0 <13.0.0 || >=14.0.0 <15.0.0", |
| 127 | + "nodeSupportedVersionRange": ">=12.13.0 <13.0.0 || >=14.15.0 <15.0.0", |
126 | 128 |
|
127 | 129 | /**
|
128 | 130 | * Odd-numbered major versions of Node.js are experimental. Even-numbered releases
|
|
158 | 160 | *
|
159 | 161 | * The Rush developers recommend a "category folder" model, where buildable project folders
|
160 | 162 | * must always be exactly two levels below the repo root. The parent folder acts as the category.
|
161 |
| - * This provides a basic facility for grouping related projects (e.g. "apps", "libaries", |
| 163 | + * This provides a basic facility for grouping related projects (e.g. "apps", "libraries", |
162 | 164 | * "tools", "prototypes") while still encouraging teams to organize their projects into
|
163 | 165 | * a unified taxonomy. Limiting to 2 levels seems very restrictive at first, but if you have
|
164 | 166 | * 20 categories and 20 projects in each category, this scheme can easily accommodate hundreds
|
|
239 | 241 | * They are case-insensitive anchored JavaScript RegExps. Example: ".*@example\.com"
|
240 | 242 | *
|
241 | 243 | * IMPORTANT: Because these are regular expressions encoded as JSON string literals,
|
242 |
| - * RegExp escapes need two backspashes, and ordinary periods should be "\\.". |
| 244 | + * RegExp escapes need two backslashes, and ordinary periods should be "\\.". |
243 | 245 | */
|
244 | 246 | "allowedEmailRegExps": ["[^@]+@users\\.noreply\\.github\\.com"],
|
245 | 247 |
|
|
257 | 259 | * you might configure your system's trigger to look for a special string such as "[skip-ci]"
|
258 | 260 | * in the commit message, and then customize Rush's message to contain that string.
|
259 | 261 | */
|
260 |
| - // "versionBumpCommitMessage": "Applying package updates. [skip-ci]" |
| 262 | + // "versionBumpCommitMessage": "Applying package updates. [skip-ci]", |
| 263 | + /** |
| 264 | + * The commit message to use when committing changes during 'rush version'. |
| 265 | + * |
| 266 | + * For example, if you want to prevent these commits from triggering a CI build, |
| 267 | + * you might configure your system's trigger to look for a special string such as "[skip-ci]" |
| 268 | + * in the commit message, and then customize Rush's message to contain that string. |
| 269 | + */ |
| 270 | + // "changeLogUpdateCommitMessage": "Deleting change files and updating change logs for package updates. [skip-ci]" |
261 | 271 | },
|
262 | 272 |
|
263 | 273 | "repository": {
|
|
322 | 332 | * Installation variants allow you to maintain a parallel set of configuration files that can be
|
323 | 333 | * used to build the entire monorepo with an alternate set of dependencies. For example, suppose
|
324 | 334 | * you upgrade all your projects to use a new release of an important framework, but during a transition period
|
325 |
| - * you intend to maintain compability with the old release. In this situation, you probably want your |
| 335 | + * you intend to maintain compatibility with the old release. In this situation, you probably want your |
326 | 336 | * CI validation to build the entire repo twice: once with the old release, and once with the new release.
|
327 | 337 | *
|
328 | 338 | * Rush "installation variants" correspond to sets of config files located under this folder:
|
|
416 | 426 | // // "shouldPublish": false,
|
417 | 427 | //
|
418 | 428 | // /**
|
| 429 | + // * Facilitates postprocessing of a project's files prior to publishing. |
| 430 | + // * |
| 431 | + // * If specified, the "publishFolder" is the relative path to a subfolder of the project folder. |
| 432 | + // * The "rush publish" command will publish the subfolder instead of the project folder. The subfolder |
| 433 | + // * must contain its own package.json file, which is typically a build output. |
| 434 | + // */ |
| 435 | + // // "publishFolder": "temp/publish", |
| 436 | + // |
| 437 | + // /** |
419 | 438 | // * An optional version policy associated with the project. Version policies are defined
|
420 | 439 | // * in "version-policies.json" file. See the "rush publish" documentation for more info.
|
421 | 440 | // * NOTE: "versionPolicyName" and "shouldPublish" are alternatives; you cannot specify them both.
|
|
0 commit comments