@pnpm/config
Advanced tools
Comparing version 2.2.0 to 2.3.0-0
@@ -53,2 +53,4 @@ "use strict"; | ||
'shamefully-flatten': Boolean, | ||
'shared-workspace-shrinkwrap': Boolean, | ||
'shrinkwrap-directory': path, | ||
'shrinkwrap-only': Boolean, | ||
@@ -96,4 +98,6 @@ 'side-effects-cache': Boolean, | ||
'package-lock': npmDefaults['package-lock'], | ||
'pending': false, | ||
'prefix': npmDefaults.prefix, | ||
'registry': npmDefaults.registry, | ||
'shared-workspace-shrinkwrap': false, | ||
'shrinkwrap': npmDefaults.shrinkwrap, | ||
@@ -151,2 +155,5 @@ 'sort': true, | ||
} | ||
if (pnpmConfig.sharedWorkspaceShrinkwrap && !pnpmConfig.shrinkwrapDirectory) { | ||
pnpmConfig.shrinkwrapDirectory = pnpmConfig.workspacePrefix; | ||
} | ||
pnpmConfig.packageManager = packageManager; | ||
@@ -153,0 +160,0 @@ if (pnpmConfig.only === 'prod' || pnpmConfig.only === 'production' || !pnpmConfig.only && pnpmConfig.production) { |
@@ -66,2 +66,5 @@ export interface PnpmConfigs extends Record<string, any> { | ||
strictPeerDependencies: boolean; | ||
pending: boolean; | ||
shrinkwrapDirectory?: string; | ||
sharedWorkspaceShrinkwrap: boolean; | ||
} |
{ | ||
"name": "@pnpm/config", | ||
"version": "2.2.0", | ||
"version": "2.3.0-0", | ||
"description": "Gets configs for pnpm", | ||
@@ -15,2 +15,3 @@ "main": "lib/index.js", | ||
"test-with-preview": "npm run lint && preview && ts-node test && mos t", | ||
"pretest": "npm config rm fetch-retry-maxtimeout", | ||
"test": "npm run lint && npm run tsc && pnpm link . && ts-node test && mos t" | ||
@@ -54,2 +55,4 @@ }, | ||
"tslint": "^5.8.0", | ||
"tslint-config-standard": "8.0.1", | ||
"tslint-eslint-rules": "5.4.0", | ||
"typescript": "^3.0.0" | ||
@@ -56,0 +59,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19360
256
15
2