This repository has been archived by the owner on Mar 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
rush.json
140 lines (127 loc) · 4.26 KB
/
rush.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush.schema.json",
"rushVersion": "5.5.2",
"pnpmVersion": "2.15.1",
"pnpmOptions": {
"strictPeerDependencies": false
},
"nodeSupportedVersionRange": ">=8.9.4 <11.0.0",
"approvedPackagesPolicy": {
"reviewCategories": ["production", "tools", "docs"]
},
"projectFolderMaxDepth": 3,
"gitPolicy": {
/**
* Work at a big company? Tired of finding Git commits at work with unprofessional Git
* emails such as "[email protected]"? Rush can validate people's Git email address
* before they get started.
*
* Define a list of regular expressions describing allowable e-mail patterns for Git commits.
* They are case-insensitive anchored JavaScript RegExps. Example: ".*@example\.com"
*
* IMPORTANT: Because these are regular expressions encoded as JSON string literals,
* RegExp escapes need two backspashes, and ordinary periods should be "\\.".
*/
"allowedEmailRegExps": ["[^@][email protected]"],
/**
* When Rush reports that the address is malformed, the notice can include an example
* of a recommended email. Make sure it conforms to one of the allowedEmailRegExps
* expressions.
*/
"sampleEmail": "[email protected]"
},
"repository": {
/**
* This setting is sometimes needed when using "rush change" with multiple Git remotes.
* It specifies the remote url for the official Git repository. If this URL is provided,
* "rush change" will use it to find the right remote to compare against.
*/
// "url": "https://github.com/Microsoft/rush-example"
},
"eventHooks": {
"preRushInstall": [
// "common/scripts/pre-rush-install.js"
],
"postRushInstall": [],
"preRushBuild": [],
"postRushBuild": []
},
/**
* Rush can collect anonymous telemetry about everyday developer activity such as
* success/failure of installs, builds, and other operations. You can use this to identify
* problems with your toolchain or Rush itself. THIS TELEMETRY IS NOT SHARED WITH MICROSOFT.
* It is written into JSON files in the common/temp folder. It's up to you to write scripts
* that read these JSON files and do something with them. These scripts are typically registered
* in the "eventHooks" section.
*/
// "telemetryEnabled": false,
"projects": [
{
"packageName": "just-task",
"projectFolder": "packages/just-task",
"reviewCategory": "production",
"versionPolicyName": "RepoPolicy"
},
{
"packageName": "create-just",
"projectFolder": "packages/create-just",
"reviewCategory": "production",
"shouldPublish": true
},
{
"packageName": "just-stack-monorepo",
"projectFolder": "packages/just-stack-monorepo",
"reviewCategory": "production",
"shouldPublish": true
},
{
"packageName": "just-stack-uifabric",
"projectFolder": "packages/just-stack-uifabric",
"reviewCategory": "production",
"shouldPublish": true
},
{
"packageName": "just-stack-single-lib",
"projectFolder": "packages/just-stack-single-lib",
"reviewCategory": "production",
"shouldPublish": true
},
{
"packageName": "just-scripts",
"projectFolder": "packages/just-scripts",
"reviewCategory": "production",
"shouldPublish": true
},
{
"packageName": "just-scripts-utils",
"projectFolder": "packages/just-scripts-utils",
"reviewCategory": "production",
"shouldPublish": true
},
{
"packageName": "just-task-docs",
"projectFolder": "packages/documentation/website",
"reviewCategory": "docs",
"shouldPublish": false
},
{
"packageName": "example-lib",
"projectFolder": "packages/example-lib",
"reviewCategory": "docs",
"shouldPublish": false
},
{
"packageName": "just-task-scripts",
"projectFolder": "scripts",
"reviewCategory": "tools",
"shouldPublish": false
}
// {
// "packageName": "just-stack-web-lib",
// "projectFolder": "packages/just-stack-web-lib",
// "reviewCategory": "production",
// "versionPolicyName": "RepoPolicy",
// "shouldPublish": false
// }
]
}