Skip to content

Commit c618bdc

Browse files
authored
chore: Update build dependencies (#101)
1 parent 385ff86 commit c618bdc

15 files changed

Lines changed: 2333 additions & 569 deletions
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/**
2+
* This configuration file specifies NPM dependency version selections that affect all projects
3+
* in a Rush repo. For full documentation, please see https://rushjs.io
4+
*/
5+
{
6+
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/common-versions.schema.json",
7+
8+
/**
9+
* A table that specifies a "preferred version" for a dependency package. The "preferred version"
10+
* is typically used to hold an indirect dependency back to a specific version, however generally
11+
* it can be any SemVer range specifier (e.g. "~1.2.3"), and it will narrow any (compatible)
12+
* SemVer range specifier. See the Rush documentation for details about this feature.
13+
*/
14+
"preferredVersions": {
15+
16+
/**
17+
* When someone asks for "^1.0.0" make sure they get "1.2.3" when working in this repo,
18+
* instead of the latest version.
19+
*/
20+
// "some-library": "1.2.3"
21+
"glob": "7.2.3",
22+
"form-data": "^2.5.5"
23+
},
24+
25+
/**
26+
* The "rush check" command can be used to enforce that every project in the repo must specify
27+
* the same SemVer range for a given dependency. However, sometimes exceptions are needed.
28+
* The allowedAlternativeVersions table allows you to list other SemVer ranges that will be
29+
* accepted by "rush check" for a given dependency.
30+
*
31+
* IMPORTANT: THIS TABLE IS FOR *ADDITIONAL* VERSION RANGES THAT ARE ALTERNATIVES TO THE
32+
* USUAL VERSION (WHICH IS INFERRED BY LOOKING AT ALL PROJECTS IN THE REPO).
33+
* This design avoids unnecessary churn in this file.
34+
*/
35+
"allowedAlternativeVersions": {
36+
37+
/**
38+
* For example, allow some projects to use an older TypeScript compiler
39+
* (in addition to whatever "usual" version is being used by other projects in the repo):
40+
*/
41+
"typescript": [
42+
"^3.9.2"
43+
]
44+
}
45+
}

0 commit comments

Comments
 (0)