mirror of
https://github.com/pnpm/pnpm.git
synced 2025-12-24 23:58:07 -05:00
5
.changeset/forty-dryers-scream.md
Normal file
5
.changeset/forty-dryers-scream.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/config": patch
|
||||
---
|
||||
|
||||
Packages like @babel/types should be publicly hoisted by default.
|
||||
@@ -148,7 +148,12 @@ export default async (
|
||||
'link-workspace-packages': true,
|
||||
'package-lock': npmDefaults['package-lock'],
|
||||
pending: false,
|
||||
'public-hoist-pattern': ['@types/*', '*eslint*'],
|
||||
'public-hoist-pattern': [
|
||||
// Packages like @types/node, @babel/types
|
||||
// should be publicly hoisted because TypeScript only searches in the root of node_modules
|
||||
'*types*',
|
||||
'*eslint*',
|
||||
],
|
||||
'recursive-install': true,
|
||||
registry: npmDefaults.registry,
|
||||
'save-peer': false,
|
||||
|
||||
Reference in New Issue
Block a user