You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d808469
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/rush-lib/src/schemas/rush.schema.json
+25-11Lines changed: 25 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -3,31 +3,26 @@
3
3
"title": "Rush main config File",
4
4
"description": "The main configuration file for the Rush multi-project build tool. See http://rushjs.io for details.",
5
5
"type": "object",
6
-
7
6
"properties": {
8
7
"$schema": {
9
8
"description": "Part of the JSON Schema standard, this optional keyword declares the URL of the schema that the file conforms to. Editors may download the schema and use it to perform syntax highlighting.",
10
9
"type": "string"
11
10
},
12
-
13
11
"npmVersion": {
14
12
"description": "If specified, selects NPM as the package manager and specifies the deterministic version to be installed by Rush.",
"description": "The version of the Rush tool that will be used to build this repository.",
33
28
"type": "string",
@@ -60,9 +55,22 @@
60
55
"environmentVariables": {
61
56
"description": "Enviroment variables for the package manager",
62
57
"type": "object",
63
-
"additionalProperties": {
64
-
"type": "string"
65
-
}
58
+
"additionalProperties": {
59
+
"type": "object",
60
+
"properties": {
61
+
"value": {
62
+
"type": "string"
63
+
}
64
+
},
65
+
"additionalProperties": {
66
+
"type": "boolean",
67
+
"properties": {
68
+
"override": {
69
+
"type": "boolean"
70
+
}
71
+
}
72
+
}
73
+
}
66
74
}
67
75
}
68
76
},
@@ -73,7 +81,10 @@
73
81
"pnpmStore": {
74
82
"description": "Specifies the location of the PNPM store. There are two possible values:\n\n\"local\" - use the \"pnpm-store\" folder in the current configured temp folder: \"common/temp/pnpm-store\" by default.\n\"global\" - use PNPM's global store, which has the benefit of being shared across multiple repo folders, but the disadvantage of less isolation for builds (e.g. bugs or incompatibilities when two repos use different releases of PNPM)\n\nIn all cases, the store path will be overridden by the environment variable RUSH_PNPM_STORE_PATH.\n\nThe default value is \"local\".",
75
83
"type": "string",
76
-
"enum": ["local", "global"]
84
+
"enum": [
85
+
"local",
86
+
"global"
87
+
]
77
88
},
78
89
"strictPeerDependencies": {
79
90
"description": "If true, then Rush will add the \"--strict-peer-dependencies\" option when invoking PNPM. This causes \"rush install\" to fail if there are unsatisfied peer dependencies, which is an invalid state that can cause build failures or incompatible dependency versions. (For historical reasons, JavaScript package managers generally do not treat this invalid state as an error.) The default value is false.",
@@ -82,7 +93,10 @@
82
93
"resolutionStrategy": {
83
94
"description": "Configures the strategy used to select versions during installation. This feature requires PNPM version 3.1 or newer. It corresponds to the \"--resolution-strategy\" command-line option for PNPM. Possible values are \"fast\" and \"fewer-dependencies\". PNPM's default is \"fast\", but this may be incompatible with certain packages, for example the \"@types\" packages from DefinitelyTyped. Rush's default is \"fewer-dependencies\", which causes PNPM to avoid installing a newer version if an already installed version can be reused; this is more similar to NPM's algorithm.",
0 commit comments