Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: allow snyk node to be used for monorepos #477

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ptzianos
Copy link
Contributor

our current snyk node component can only be used for repositories where the root folder is the one containing the NodeJS code, however it can't be used if the folder structure is any different or if there are multiple subfolder containing NodeJS projects.

this PR fixes this by allowing the user to define multiple paths to be scanned, and uses a better algorithm for deciding which package manager to use to resolve their dependencies. it stores the findings in a way that the parser can use to make sure that it has the full context about where they were discovered

@coveralls
Copy link

Pull Request Test Coverage Report for Build 11890438116

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 40.751%

Totals Coverage Status
Change from base Build 11859828321: 0.0%
Covered Lines: 3485
Relevant Lines: 8552

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants