Skip to content

Commit 8022897

Browse files
authored
Merge pull request #459 from iclanton/bump-rushstack-projects
Bump rushstack dependencies.
1 parent cc1dbc6 commit 8022897

25 files changed

Lines changed: 1300 additions & 865 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ temp/
110110
lib/
111111
lib-amd/
112112
lib-es6/
113+
lib-esm/
113114
lib-esnext/
114115
lib-commonjs/
115116
lib-shim/

api-demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"devDependencies": {
1313
"tsdoc-build-rig": "workspace:*",
14-
"@rushstack/heft": "1.1.1",
14+
"@rushstack/heft": "1.2.5",
1515
"eslint": "~9.25.1"
1616
},
1717
"scripts": {
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "",
5+
"type": "none",
6+
"packageName": "@microsoft/tsdoc-config"
7+
}
8+
],
9+
"packageName": "@microsoft/tsdoc-config",
10+
"email": "iclanton@users.noreply.github.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "",
5+
"type": "none",
6+
"packageName": "@microsoft/tsdoc"
7+
}
8+
],
9+
"packageName": "@microsoft/tsdoc",
10+
"email": "iclanton@users.noreply.github.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "",
5+
"type": "none",
6+
"packageName": "eslint-plugin-tsdoc"
7+
}
8+
],
9+
"packageName": "eslint-plugin-tsdoc",
10+
"email": "iclanton@users.noreply.github.com"
11+
}

common/config/rush/.npmrc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +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/
2628

27-
# This seemed to interfere with authentication for publishing:
28-
# always-auth=false
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:
33+
always-auth=false

common/config/rush/.npmrc-publish

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
2020
#
2121

22+
# Explicitly specify the NPM registry that "rush publish" will use by default:
2223
registry=https://registry.npmjs.org/
23-
always-auth=true
24-
//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
24+
25+
# Provide an authentication token for the above registry URL:
26+
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}

common/config/rush/command-line.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,14 @@
119119
// "enableParallelism": false,
120120
//
121121
// /**
122+
// * Controls whether weighted operations can start when the total weight would exceed the limit
123+
// * but is currently below the limit. This setting only applies when "enableParallelism" is true
124+
// * and operations have a "weight" property configured in their rush-project.json "operationSettings".
125+
// * Choose true (the default) to favor parallelism. Choose false to strictly stay under the limit.
126+
// */
127+
// "allowOversubscription": false,
128+
//
129+
// /**
122130
// * Normally projects will be processed according to their dependency order: a given project will not start
123131
// * processing the command until all of its dependencies have completed. This restriction doesn't apply for
124132
// * certain operations, for example a "clean" task that deletes output files. In this case

common/config/rush/experiments.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Rush features. More documentation is available on the Rush website: https://rushjs.io
44
*/
55
{
6-
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/experiments.schema.json"
6+
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/experiments.schema.json",
77

88
/**
99
* By default, 'rush install' passes --no-prefer-frozen-lockfile to 'pnpm install'.
@@ -116,5 +116,13 @@
116116
* subspace. This is useful for large product groups who work in separate subspaces and generally prefer to consume
117117
* each other's packages via the NPM registry.
118118
*/
119-
// "exemptDecoupledDependenciesBetweenSubspaces": false
119+
// "exemptDecoupledDependenciesBetweenSubspaces": false,
120+
121+
/**
122+
* If true, when running on macOS, Rush will omit AppleDouble files (._*) from build cache archives
123+
* when a companion file exists in the same directory. AppleDouble files are automatically created by
124+
* macOS to store extended attributes on filesystems that don't support them, and should generally not
125+
* be included in the shared build cache.
126+
*/
127+
"omitAppleDoubleFilesFromBuildCache": true
120128
}

common/config/rush/pnpm-config.json

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,38 @@
6767
*/
6868
// "autoInstallPeers": false,
6969

70+
/**
71+
* The minimum number of minutes that must pass after a version is published before pnpm will install it.
72+
* This setting helps reduce the risk of installing compromised packages, as malicious releases are typically
73+
* discovered and removed within a short time frame.
74+
*
75+
* For example, the following setting ensures that only packages released at least one day ago can be installed:
76+
*
77+
* "minimumReleaseAge": 1440
78+
*
79+
* (SUPPORTED ONLY IN PNPM 10.16.0 AND NEWER)
80+
*
81+
* PNPM documentation: https://pnpm.io/settings#minimumreleaseage
82+
*
83+
* The default value is 0 (disabled).
84+
*/
85+
// "minimumReleaseAge": 1440,
86+
87+
/**
88+
* An array of package names or patterns to exclude from the minimumReleaseAge check.
89+
* This allows certain trusted packages to be installed immediately after publication.
90+
* Patterns are supported using glob syntax (e.g., "@myorg/*" to exclude all packages from an organization).
91+
*
92+
* For example:
93+
*
94+
* "minimumReleaseAgeExclude": ["webpack", "react", "@myorg/*"]
95+
*
96+
* (SUPPORTED ONLY IN PNPM 10.16.0 AND NEWER)
97+
*
98+
* PNPM documentation: https://pnpm.io/settings#minimumreleaseageexclude
99+
*/
100+
// "minimumReleaseAgeExclude": ["@myorg/*"],
101+
70102
/**
71103
* If true, then Rush will add the `--strict-peer-dependencies` command-line parameter when
72104
* invoking PNPM. This causes `rush update` to fail if there are unsatisfied peer dependencies,
@@ -265,6 +297,29 @@
265297
// "fsevents"
266298
],
267299

300+
/**
301+
* The `globalOnlyBuiltDependencies` setting specifies which dependencies are permitted to run
302+
* build scripts (`preinstall`, `install`, and `postinstall` lifecycle events). This is the inverse
303+
* of `globalNeverBuiltDependencies`. In PNPM 10.x, build scripts are disabled by default for
304+
* security, so this setting is required to explicitly permit specific packages to run their
305+
* build scripts. The settings are written to the `onlyBuiltDependencies` field of the
306+
* `pnpm-workspace.yaml` file that is generated by Rush during installation.
307+
*
308+
* (SUPPORTED ONLY IN PNPM 10.1.0 AND NEWER)
309+
*
310+
* PNPM documentation: https://pnpm.io/settings#onlybuiltdependencies
311+
*
312+
* Example:
313+
* "globalOnlyBuiltDependencies": [
314+
* "esbuild",
315+
* "playwright",
316+
* "@swc/core"
317+
* ]
318+
*/
319+
// "globalOnlyBuiltDependencies": [
320+
// "esbuild"
321+
// ],
322+
268323
/**
269324
* The `globalIgnoredOptionalDependencies` setting suppresses the installation of optional NPM
270325
* dependencies specified in the list. This is useful when certain optional dependencies are

0 commit comments

Comments
 (0)