Skip to content

Commit

Permalink
Merge pull request #237 from snyk/fix/OSM-1924/pnpm-send-peer-deps-op…
Browse files Browse the repository at this point in the history
…tion

fix: [OSM-1924] send peerDeps option
  • Loading branch information
gemaxim authored Jul 24, 2024
2 parents 91b3e6c + 2eb6337 commit 92593aa
Show file tree
Hide file tree
Showing 13 changed files with 15,960 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/dep-graph-builders/pnpm/parse-project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const parsePnpmProject = async (
): Promise<DepGraph> => {
const {
includeDevDeps,
includePeerDeps,
includeOptionalDeps,
strictOutOfSync,
pruneWithinTopLevelDeps,
Expand All @@ -37,6 +38,7 @@ export const parsePnpmProject = async (
{
includeDevDeps,
strictOutOfSync,
includePeerDeps,
includeOptionalDeps,
pruneWithinTopLevelDeps,
},
Expand Down
2 changes: 2 additions & 0 deletions lib/dep-graph-builders/pnpm/parse-workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export const parsePnpmWorkspace = async (
const scannedProjects: ScannedNodeProject[] = [];
const {
includeDevDeps,
includePeerDeps,
includeOptionalDeps,
strictOutOfSync,
pruneWithinTopLevelDeps,
Expand Down Expand Up @@ -88,6 +89,7 @@ export const parsePnpmWorkspace = async (
pkgJson,
{
includeDevDeps,
includePeerDeps,
strictOutOfSync,
includeOptionalDeps,
pruneWithinTopLevelDeps,
Expand Down
1 change: 1 addition & 0 deletions lib/dep-graph-builders/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export type PnpmWorkspaceArgs = {
export type PnpmProjectParseOptions = {
includeDevDeps: boolean;
includeOptionalDeps: boolean;
includePeerDeps?: boolean;
strictOutOfSync: boolean;
pruneWithinTopLevelDeps: boolean;
};
Expand Down
Loading

0 comments on commit 92593aa

Please sign in to comment.