Skip to content

Commit 687817d

Browse files
committed
Improve the phrasing around the granularity feature.
1 parent fc22316 commit 687817d

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

‎apps/rush-lib/assets/rush-init/rush.json‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@
6464
/*[LINE "HYPOTHETICAL"]*/ "resolutionStrategy": "fast",
6565

6666
/**
67-
* This is the mode for tracking external dependencies to detect if a project needs to be rebuilt
68-
* during an incremental build.
69-
*
70-
* If set to "project," track individual projects' dependencies when detecting if a project needs
67+
* This defines the granularity by which external dependencies are tracked to detect if a project needs
7168
* to be rebuilt during an incremental build.
7269
*
73-
* If set to "repository," rebuild all projects when any dependencies across the repository are changed
74-
* during an incremental build.
70+
* If set to "project," Rush will track only the individual project's direct and indirect dependencies when
71+
* detecting if a project needs to be rebuilt.
72+
*
73+
* If set to "repository," all projects will be rebuilt if any external dependencies anywhere in the repository
74+
* are changed.
7575
*
7676
* If unset, defaults to "project."
7777
*/

‎apps/rush-lib/src/api/RushConfiguration.ts‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,14 +189,14 @@ export class PnpmOptionsConfiguration {
189189
public readonly resolutionStrategy: ResolutionStrategy;
190190

191191
/**
192-
* This is the mode for tracking external dependencies to detect if a project needs to be rebuilt
193-
* during an incremental build.
194-
*
195-
* If set to "project," track individual projects' dependencies when detecting if a project needs
192+
* This defines the granularity by which external dependencies are tracked to detect if a project needs
196193
* to be rebuilt during an incremental build.
197194
*
198-
* If set to "repository," rebuild all projects when any dependencies across the repository are changed
199-
* during an incremental build.
195+
* If set to "project," Rush will track only the individual project's direct and indirect dependencies when
196+
* detecting if a project needs to be rebuilt.
197+
*
198+
* If set to "repository," all projects will be rebuilt if any external dependencies anywhere in the repository
199+
* are changed.
200200
*
201201
* If unset, defaults to "project."
202202
*

‎apps/rush-lib/src/schemas/rush.schema.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"enum": ["fewer-dependencies", "fast"]
6868
},
6969
"incrementalBuildDependencyGranularity": {
70-
"description": "This is the mode for tracking external dependencies to detect if a project needs to be rebuilt during an incremental build.",
70+
"description": "Defines the granularity by which external dependencies are tracked to detect if a project needs to be rebuilt during an incremental build.",
7171
"type": "string",
7272
"enum": ["project", "repository"]
7373
}

0 commit comments

Comments
 (0)