Skip to content

Commit 4b16b18

Browse files
committed
Export internal interface
1 parent 6a9b76a commit 4b16b18

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

apps/rush-lib/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export {
1515
ITryFindRushJsonLocationOptions,
1616
ResolutionStrategy,
1717
PnpmOptionsConfiguration,
18+
IPackageManagerOptions as _IPackageManagerOptions,
1819
IPnpmOptionsJson as _IPnpmOptionsJson,
1920
PnpmStoreOptions,
2021
YarnOptionsConfiguration

common/reviews/api/rush-lib.api.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,14 @@ export class IndividualVersionPolicy extends VersionPolicy {
145145
validate(versionString: string, packageName: string): void;
146146
}
147147

148+
// @internal
149+
export interface _IPackageManagerOptions {
150+
// (undocumented)
151+
environmentVariables?: {
152+
[name: string]: string;
153+
};
154+
}
155+
148156
// @internal
149157
export interface _IPnpmOptionsJson {
150158
pnpmStore?: PnpmStoreOptions;
@@ -295,10 +303,10 @@ export class RushConfiguration {
295303
readonly npmCacheFolder: string;
296304
readonly npmTmpFolder: string;
297305
readonly packageManager: PackageManagerName;
298-
// Warning: (ae-forgotten-export) The symbol "IPackageManagerOptions" needs to be exported by the entry point index.d.ts
306+
// Warning: (ae-incompatible-release-tags) The symbol "packageManagerOptions" is marked as @public, but its signature references "IPackageManagerOptions" which is marked as @internal
299307
//
300308
// (undocumented)
301-
readonly packageManagerOptions: IPackageManagerOptions | undefined;
309+
readonly packageManagerOptions: _IPackageManagerOptions | undefined;
302310
readonly packageManagerToolFilename: string;
303311
readonly packageManagerToolVersion: string;
304312
// @beta

0 commit comments

Comments
 (0)