Skip to content

Commit ea79bda

Browse files
authored
Merge pull request microsoft#851 from Microsoft/pgonzal/fix-rush-init-typo
[rush] Fix an incorrect default in the "rush init" template
2 parents 0f0530a + e7276eb commit ea79bda

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,12 @@
6161

6262
/**
6363
* If you would like the version specifiers for your dependencies to be consistent, then
64-
* uncomment this line. Note this is effectively like running "rush check" before the following:
64+
* uncomment this line. This is effectively similar to running "rush check" before any
65+
* of the following commands:
66+
*
6567
* rush install, rush update, rush link, rush version, rush publish
66-
* In some cases you may want this turned on, but need to allow some packages to use a different
68+
*
69+
* In some cases you may want this turned on, but need to allow certain packages to use a different
6770
* version. In those cases, you will need to add an entry to the "allowedAlternateVersions"
6871
* section of the common-versions.json.
6972
*/
@@ -87,7 +90,7 @@
8790
* that brings people together, and maybe also identifies poor coding practices (e.g. file
8891
* references that reach into other project's folders without using NodeJS module resolution).
8992
*
90-
* The defaults are projectFolderMinDepth=2 and projectFolderMaxDepth=2.
93+
* The defaults are projectFolderMinDepth=1 and projectFolderMaxDepth=2.
9194
*
9295
* To remove these restrictions, you could set projectFolderMinDepth=1
9396
* and set projectFolderMaxDepth to a large number.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "Fix an incorrect default in the \"rush init\" template comments",
5+
"packageName": "@microsoft/rush",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@microsoft/rush",
10+
"email": "pgonzal@users.noreply.github.com"
11+
}

0 commit comments

Comments
 (0)