@rushstack/rush-sdk 5.85.1 → 5.86.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/rush-lib.d.ts +28 -0
  2. package/package.json +2 -2
@@ -1317,6 +1317,10 @@ export declare interface _IPnpmOptionsJson extends IPackageManagerOptionsJsonBas
1317
1317
  * {@inheritDoc PnpmOptionsConfiguration.globalAllowedDeprecatedVersions}
1318
1318
  */
1319
1319
  globalAllowedDeprecatedVersions?: Record<string, string>;
1320
+ /**
1321
+ * {@inheritDoc PnpmOptionsConfiguration.globalPatchedDependencies}
1322
+ */
1323
+ globalPatchedDependencies?: Record<string, string>;
1320
1324
  /**
1321
1325
  * {@inheritDoc PnpmOptionsConfiguration.unsupportedPackageJsonSettings}
1322
1326
  */
@@ -2174,6 +2178,9 @@ export declare class PhasedCommandHooks {
2174
2178
  */
2175
2179
  export declare class PnpmOptionsConfiguration extends PackageManagerOptionsConfigurationBase {
2176
2180
  private static _jsonSchema;
2181
+ private _json;
2182
+ private _jsonFilename;
2183
+ private _globalPatchedDependencies;
2177
2184
  /**
2178
2185
  * The method used to resolve the store used by PNPM.
2179
2186
  *
@@ -2304,11 +2311,26 @@ export declare class PnpmOptionsConfiguration extends PackageManagerOptionsConfi
2304
2311
  * strategy that is known to provide a good experience for large teams with lots of projects.
2305
2312
  */
2306
2313
  readonly unsupportedPackageJsonSettings: unknown | undefined;
2314
+ /**
2315
+ * (GENERATED BY RUSH-PNPM PATCH-COMMIT) When modifying this property, make sure you know what you are doing.
2316
+ *
2317
+ * The `globalPatchedDependencies` is added/updated automatically when you run pnpm patch-commit
2318
+ * command. It is a dictionary where the key should be the package name and exact version. The value
2319
+ * should be a relative path to a patch file.
2320
+ *
2321
+ * PNPM documentation: https://pnpm.io/package_json#pnpmpatcheddependencies
2322
+ */
2323
+ get globalPatchedDependencies(): Record<string, string> | undefined;
2307
2324
  private constructor();
2308
2325
  /** @internal */
2309
2326
  static loadFromJsonFileOrThrow(jsonFilename: string, commonTempFolder: string): PnpmOptionsConfiguration;
2310
2327
  /** @internal */
2311
2328
  static loadFromJsonObject(json: _IPnpmOptionsJson, commonTempFolder: string): PnpmOptionsConfiguration;
2329
+ /**
2330
+ * Updates patchedDependencies field of the PNPM options in the common/config/rush/pnpm-config.json file.
2331
+ */
2332
+ updateGlobalPatchedDependencies(patchedDependencies: Record<string, string> | undefined): void;
2333
+ get jsonFilename(): string | undefined;
2312
2334
  }
2313
2335
 
2314
2336
  /**
@@ -3255,6 +3277,12 @@ export declare class RushConstants {
3255
3277
  * The filename (".pnpmfile.cjs") used to add custom configuration to PNPM (PNPM version 6.x and later).
3256
3278
  */
3257
3279
  static readonly pnpmfileV6Filename: string;
3280
+ /**
3281
+ * The folder name used to store patch files for pnpm
3282
+ * Example: `C:\MyRepo\common\config\pnpm-patches`
3283
+ * Example: `C:\MyRepo\common\temp\patches`
3284
+ */
3285
+ static readonly pnpmPatchesFolderName: string;
3258
3286
  /**
3259
3287
  * The filename ("shrinkwrap.yaml") used to store state for pnpm
3260
3288
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/rush-sdk",
3
- "version": "5.85.1",
3
+ "version": "5.86.0",
4
4
  "description": "An API for interacting with the Rush engine",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,7 +17,7 @@
17
17
  "tapable": "2.2.1"
18
18
  },
19
19
  "devDependencies": {
20
- "@microsoft/rush-lib": "5.85.1",
20
+ "@microsoft/rush-lib": "5.86.0",
21
21
  "@rushstack/eslint-config": "3.1.1",
22
22
  "@rushstack/heft": "0.48.8",
23
23
  "@rushstack/heft-node-rig": "1.11.8",