Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Commit

Permalink
fix: add new option for monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
mathild3r committed Dec 10, 2021
1 parent ce2e688 commit f45db67
Show file tree
Hide file tree
Showing 85 changed files with 1,821 additions and 1,074 deletions.
Binary file modified .DS_Store
Binary file not shown.
5 changes: 2 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: PNPM-PR-Snyk-Check

on:
pull_request:
types: [opened,reopened,synchronized]
push:
branches:
- master
- '*'

jobs:
pnpm_snyk_check:
Expand All @@ -20,6 +18,7 @@ jobs:
snykToken: ${{ secrets.SNYK_TOKEN }}
pnpmLockfilePath: "./test/fixtures/pnpm_simple"
snykOrganization: "playground"
manifestfilePath: "./test/fixtures/pnpm_simple"
IncludeDev: "true"


3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ GitHub action using snyk-pnpm-depTree-api-tool to convert a pnpm lockfile into a
## `pnpmLockfilePath`
**Required** The root path of the project to test.

## `manifestfilePath`
**Optional** The path to the manifest file (if different from the lockfile)

## `includeDev`
**Optional** Include dev dependencies while building the depGraph. True or false - default = false

Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ inputs:
description: 'Path to pnpm lock file'
required: true
default: '.'
manifestfilePath:
description: 'Path to manifest file'
required: false
default: ''
IncludeDev:
description: 'Include devDependencies when building the depGraph'
required: true
Expand Down
3 changes: 3 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

69 changes: 35 additions & 34 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 17 additions & 1 deletion node_modules/@arcanis/slice-ansi/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 20 additions & 4 deletions node_modules/@arcanis/slice-ansi/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions node_modules/@arcanis/slice-ansi/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/@types/emscripten/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 42 additions & 13 deletions node_modules/@types/emscripten/index.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f45db67

Please sign in to comment.