@pnpm/config
Advanced tools
Comparing version 20.0.0 to 20.1.0
@@ -155,3 +155,3 @@ import { type Project, type ProjectManifest, type ProjectsGraph, type Registries } from '@pnpm/types'; | ||
changedFilesIgnorePattern?: string[]; | ||
rootProjectManifestDir?: string; | ||
rootProjectManifestDir: string; | ||
rootProjectManifest?: ProjectManifest; | ||
@@ -158,0 +158,0 @@ userConfig: Record<string, string>; |
@@ -1,2 +0,2 @@ | ||
import { type AllowedDeprecatedVersions, type PackageExtension, type PeerDependencyRules, type ProjectManifest } from '@pnpm/types'; | ||
import { type SupportedArchitectures, type AllowedDeprecatedVersions, type PackageExtension, type PeerDependencyRules, type ProjectManifest } from '@pnpm/types'; | ||
export interface OptionsFromRootManifest { | ||
@@ -12,3 +12,4 @@ allowedDeprecatedVersions?: AllowedDeprecatedVersions; | ||
peerDependencyRules?: PeerDependencyRules; | ||
supportedArchitectures?: SupportedArchitectures; | ||
} | ||
export declare function getOptionsFromRootManifest(manifestDir: string, manifest: ProjectManifest): OptionsFromRootManifest; |
@@ -34,2 +34,7 @@ "use strict"; | ||
} | ||
const supportedArchitectures = { | ||
os: manifest.pnpm?.supportedArchitectures?.os ?? ['current'], | ||
cpu: manifest.pnpm?.supportedArchitectures?.cpu ?? ['current'], | ||
libc: manifest.pnpm?.supportedArchitectures?.libc ?? ['current'], | ||
}; | ||
const settings = { | ||
@@ -43,2 +48,3 @@ allowedDeprecatedVersions, | ||
patchedDependencies, | ||
supportedArchitectures, | ||
}; | ||
@@ -45,0 +51,0 @@ if (onlyBuiltDependencies) { |
{ | ||
"name": "@pnpm/config", | ||
"version": "20.0.0", | ||
"version": "20.1.0", | ||
"description": "Gets configuration options for pnpm", | ||
@@ -45,5 +45,5 @@ "main": "lib/index.js", | ||
"@pnpm/matcher": "5.0.0", | ||
"@pnpm/pnpmfile": "5.0.14", | ||
"@pnpm/read-project-manifest": "5.0.7", | ||
"@pnpm/types": "9.3.0" | ||
"@pnpm/pnpmfile": "5.0.15", | ||
"@pnpm/read-project-manifest": "5.0.8", | ||
"@pnpm/types": "9.4.0" | ||
}, | ||
@@ -55,5 +55,5 @@ "devDependencies": { | ||
"symlink-dir": "^5.2.0", | ||
"@pnpm/config": "20.0.0", | ||
"@pnpm/prepare": "0.0.82", | ||
"@pnpm/test-fixtures": "0.1.12" | ||
"@pnpm/config": "20.1.0", | ||
"@pnpm/prepare": "0.0.83", | ||
"@pnpm/test-fixtures": "0.1.13" | ||
}, | ||
@@ -60,0 +60,0 @@ "funding": "https://opencollective.com/pnpm", |
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
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
70719
1023
+ Added@pnpm/core-loggers@9.0.4(transitive)
+ Added@pnpm/fetcher-base@15.0.3(transitive)
+ Added@pnpm/hooks.types@1.0.4(transitive)
+ Added@pnpm/lockfile-types@5.1.3(transitive)
+ Added@pnpm/pnpmfile@5.0.15(transitive)
+ Added@pnpm/read-project-manifest@5.0.8(transitive)
+ Added@pnpm/resolver-base@10.0.4(transitive)
+ Added@pnpm/store-controller-types@17.1.0(transitive)
+ Added@pnpm/types@9.4.0(transitive)
+ Added@pnpm/write-project-manifest@5.0.4(transitive)
- Removed@pnpm/core-loggers@9.0.3(transitive)
- Removed@pnpm/fetcher-base@15.0.2(transitive)
- Removed@pnpm/hooks.types@1.0.3(transitive)
- Removed@pnpm/lockfile-types@5.1.2(transitive)
- Removed@pnpm/pnpmfile@5.0.14(transitive)
- Removed@pnpm/read-project-manifest@5.0.7(transitive)
- Removed@pnpm/resolver-base@10.0.3(transitive)
- Removed@pnpm/store-controller-types@17.0.1(transitive)
- Removed@pnpm/types@9.3.0(transitive)
- Removed@pnpm/write-project-manifest@5.0.3(transitive)
Updated@pnpm/pnpmfile@5.0.15
Updated@pnpm/types@9.4.0