File tree Expand file tree Collapse file tree
libraries/rush-lib/src/logic/pnpm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1191,6 +1191,8 @@ export class PnpmOptionsConfiguration extends PackageManagerOptionsConfiguration
11911191 static loadFromJsonFileOrThrow(jsonFilePath : string , commonTempFolder : string ): PnpmOptionsConfiguration ;
11921192 // @internal (undocumented)
11931193 static loadFromJsonObject(json : _IPnpmOptionsJson , commonTempFolder : string ): PnpmOptionsConfiguration ;
1194+ // @deprecated (undocumented)
1195+ get minimumReleaseAge(): number | undefined ;
11941196 readonly minimumReleaseAgeExclude: string [] | undefined ;
11951197 readonly minimumReleaseAgeMinutes: number | undefined ;
11961198 readonly pnpmLockfilePolicies: IPnpmLockfilePolicies | undefined ;
Original file line number Diff line number Diff line change @@ -314,6 +314,13 @@ export class PnpmOptionsConfiguration extends PackageManagerOptionsConfiguration
314314 */
315315 public readonly minimumReleaseAgeMinutes : number | undefined ;
316316
317+ /**
318+ * @deprecated Use {@link PnpmOptionsConfiguration.minimumReleaseAgeMinutes} instead.
319+ */
320+ public get minimumReleaseAge ( ) : number | undefined {
321+ return this . minimumReleaseAgeMinutes ;
322+ }
323+
317324 /**
318325 * List of package names or patterns that are excluded from the minimumReleaseAge check.
319326 * These packages will always install the newest version immediately, even if minimumReleaseAgeMinutes is set.
You can’t perform that action at this time.
0 commit comments