@pnpm/config
Advanced tools
Comparing version 11.5.0 to 11.6.0
# @pnpm/config | ||
## 11.6.0 | ||
### Minor Changes | ||
- f591fdeeb: New option added: `node-linker`. When `node-linker` is set to `pnp`, pnpm will create a `.pnp.js` file. | ||
## 11.5.0 | ||
@@ -4,0 +10,0 @@ |
@@ -102,2 +102,3 @@ import { Project, ProjectsGraph, Registries } from '@pnpm/types'; | ||
symlink: boolean; | ||
enablePnp?: boolean; | ||
registries: Registries; | ||
@@ -104,0 +105,0 @@ ignoreWorkspaceRootCheck: boolean; |
@@ -69,2 +69,3 @@ "use strict"; | ||
'network-concurrency': Number, | ||
'node-linker': ['pnp'], | ||
'npm-path': String, | ||
@@ -365,2 +366,3 @@ offline: Boolean, | ||
} | ||
pnpmConfig.enablePnp = pnpmConfig['nodeLinker'] === 'pnp'; | ||
return { config: pnpmConfig, warnings }; | ||
@@ -367,0 +369,0 @@ }; |
{ | ||
"name": "@pnpm/config", | ||
"version": "11.5.0", | ||
"version": "11.6.0", | ||
"description": "Gets configuration options for pnpm", | ||
@@ -25,3 +25,3 @@ "main": "lib/index.js", | ||
"engines": { | ||
"node": ">=10.14" | ||
"node": ">=10.16" | ||
}, | ||
@@ -28,0 +28,0 @@ "author": "Zoltan Kochan <z@kochan.io> (https://www.kochan.io/)", |
30900
545