@pnpm/config
Advanced tools
Comparing version 11.2.7 to 11.3.0
# @pnpm/config | ||
## 11.3.0 | ||
### Minor Changes | ||
- 092f8dd83: New setting added: workspace-root. | ||
### Patch Changes | ||
- 767212f4e: Packages like @babel/types should be publicly hoisted by default. | ||
## 11.2.7 | ||
@@ -4,0 +14,0 @@ |
@@ -102,2 +102,3 @@ import { Project, ProjectsGraph, Registries } from '@pnpm/types'; | ||
ignoreWorkspaceRootCheck: boolean; | ||
workspaceRoot: boolean; | ||
} | ||
@@ -104,0 +105,0 @@ export interface ConfigWithDeprecatedSettings extends Config { |
@@ -103,2 +103,3 @@ "use strict"; | ||
'workspace-packages': [String, Array], | ||
'workspace-root': Boolean, | ||
}, npmTypes.types); | ||
@@ -152,3 +153,8 @@ exports.default = async (opts) => { | ||
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, | ||
@@ -155,0 +161,0 @@ registry: npmDefaults.registry, |
{ | ||
"name": "@pnpm/config", | ||
"version": "11.2.7", | ||
"version": "11.3.0", | ||
"description": "Gets configuration options for pnpm", | ||
@@ -47,8 +47,8 @@ "main": "lib/index.js", | ||
"@types/mz": "^2.7.1", | ||
"@types/ramda": "^0.27.14", | ||
"@types/ramda": "^0.27.15", | ||
"@types/which": "^1.3.2", | ||
"mz": "^2.7.0", | ||
"tempy": "^0.6.0" | ||
"tempy": "^0.7.0" | ||
}, | ||
"funding": "https://opencollective.com/pnpm" | ||
} |
30179
532