Skip to content

Commit

Permalink
Allow any version of @types/node to satisfy peer dependencies (#24656)
Browse files Browse the repository at this point in the history
* Allow any version of @types/node to satisfy peer dependencies (#24644)

- Fixes #24635
- Reverts #24636, an earlier fix to #24635
- Adds @types/node to globalPeerDependencyRules.allowAny
- pnpm-config.json was introduced with Rush 5.79.0
  - Settings should be migrated from rush.json to pnpm-config.json
  - Setting "resolutionStrategy" was removed in Rush 5.47.0

* lock file and artifacts

---------

Co-authored-by: Mike Harder <[email protected]>
  • Loading branch information
2 people authored and EmmaZhu committed Feb 24, 2023
1 parent b854036 commit 33536fe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion common/config/rush/pnpm-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@
"globalPeerDependencyRules": {
// "ignoreMissing": ["@eslint/*"],
// "allowedVersions": { "react": "17" },
// "allowAny": ["@babel/*"]
"allowAny": [
"@types/node"
]
>>>>>>> 70aced8bcc (Allow any version of @types/node to satisfy peer dependencies (#24656))
},
/**
* The `globalPackageExtension` setting provides a way to patch arbitrary package.json fields
Expand Down

0 comments on commit 33536fe

Please sign in to comment.