Skip to content

Commit 906b805

Browse files
authored
Merge pull request #25 from octogonz/main
Upgrade to Rush 5.153.2
2 parents 93b79e3 + 7528adf commit 906b805

7 files changed

Lines changed: 148 additions & 80 deletions

File tree

common/config/rush/.npmrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,12 @@
2222
#
2323
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
2424
#
25+
26+
# Explicitly specify the NPM registry that "rush install" and "rush update" will use by default:
2527
registry=https://registry.npmjs.org/
28+
29+
# Optionally provide an authentication token for the above registry URL (if it is a private registry):
30+
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
31+
32+
# Change this to "true" if your registry requires authentication for read-only operations:
2633
always-auth=false

common/config/rush/.npmrc-publish

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,9 @@
1818
#
1919
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
2020
#
21+
22+
# Explicitly specify the NPM registry that "rush publish" will use by default:
23+
registry=https://registry.npmjs.org/
24+
25+
# Provide an authentication token for the above registry URL:
26+
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}

common/config/rush/experiments.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,20 @@
102102
/**
103103
* When using cobuilds, this experiment allows uncacheable operations to benefit from cobuild orchestration without using the build cache.
104104
*/
105-
// "allowCobuildWithoutCache": true
105+
// "allowCobuildWithoutCache": true,
106+
107+
/**
108+
* By default, rush perform a full scan of the entire repository. For example, Rush runs `git status` to check for local file changes.
109+
* When this toggle is enabled, Rush will only scan specific paths, significantly speeding up Git operations.
110+
*/
111+
// "enableSubpathScan": true,
112+
113+
/**
114+
* Rush has a policy that normally requires Rush projects to specify `workspace:*` in package.json when depending
115+
* on other projects in the workspace, unless they are explicitly declared as `decoupledLocalDependencies`
116+
* in rush.json. Enabling this experiment will remove that requirement for dependencies belonging to a different
117+
* subspace. This is useful for large product groups who work in separate subspaces and generally prefer to consume
118+
* each other's packages via the NPM registry.
119+
*/
120+
// "exemptDecoupledDependenciesBetweenSubspaces": false
106121
}

common/config/rush/pnpm-config.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
/**
22
* This configuration file provides settings specific to the PNPM package manager.
33
* More documentation is available on the Rush website: https://rushjs.io
4+
*
5+
* Rush normally looks for this file in `common/config/rush/pnpm-config.json`. However,
6+
* if `subspacesEnabled` is true in subspaces.json, then Rush will instead first look
7+
* for `common/config/subspaces/<name>/pnpm-config.json`. (If the file exists in both places,
8+
* then the file under `common/config/rush` is ignored.)
49
*/
510
{
611
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/pnpm-config.schema.json",
@@ -167,7 +172,7 @@
167172
// * Enables the "disallowInsecureSha1" policy. The default value is false.
168173
// */
169174
// "enabled": true,
170-
//
175+
//
171176
// /**
172177
// * In rare cases, a private NPM registry may continue to serve SHA1 hashes for very old
173178
// * package versions, perhaps due to a caching issue or database migration glitch. To avoid
@@ -272,9 +277,9 @@
272277
*
273278
* PNPM documentation: https://pnpm.io/package_json#pnpmignoredoptionaldependencies
274279
*/
275-
"globalIgnoredOptionalDependencies": [
280+
//"globalIgnoredOptionalDependencies": [
276281
// "fsevents"
277-
],
282+
//],
278283

279284
/**
280285
* The `globalAllowedDeprecatedVersions` setting suppresses installation warnings for package

common/scripts/install-run-rush.js

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/scripts/install-run.js

Lines changed: 99 additions & 64 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rush.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* path segment in the "$schema" field for all your Rush config files. This will ensure
1717
* correct error-underlining and tab-completion for editors such as VS Code.
1818
*/
19-
"rushVersion": "5.141.2",
19+
"rushVersion": "5.153.2",
2020

2121
/**
2222
* The next field selects which package manager should be installed and determines its version.

0 commit comments

Comments
 (0)