Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion apps/rush/src/RushVersionSelector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ export class RushVersionSelector {
// different implementations of the same version of the same package.
// This was needed for: https://github.com/microsoft/rushstack/issues/691
commonRushConfigFolder: configuration ? configuration.commonRushConfigFolder : undefined,
suppressOutput: true
suppressOutput: true,
// Filter out npm-incompatible properties (e.g. pnpm-specific settings) from .npmrc
// since this installation always uses npm regardless of the repo's package manager.
filterNpmIncompatibleProperties: true
});

console.log(`Successfully installed Rush version ${version} in ${expectedRushPath}.`);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@microsoft/rush",
"comment": "Filter npm-incompatible properties from .npmrc when installing rush-lib via npm, to eliminate spurious \"Unknown env config\" and \"Unknown project config\" warnings.",
"type": "none"
}
],
"packageName": "@microsoft/rush"
}
Loading