question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better monorepo support

See original GitHub issue

Many projects these days are using a monorepo structure where the repo has a main package.json file which manage multiple package directories that have their own package.json files.

Generally the main package.json is fairly light on for dependencies, with the sub packages having the bulk.

For example, my workplace shows https://backyourstack.com/ioof-holdings/dependencies, which is a far shot off the full list of dependencies.

It would be great if perhaps you could scan deeper into the folder structure and extract all the package.json files for analysis.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
alessiostallacommented, Oct 22, 2018

Perhaps an optional top-level file could be used to direct your search so you don’t have to recurse. E.g. .backyourstack.yml:

dependencySources:
 - backend/pom.xml
 - frontend/package.json
1reaction
eins78commented, Aug 9, 2018

Similar problem: having several project in 1 repository. Example: A clojure backend with a JS client, each in their own subdirectories https://github.com/leihs/leihs-procure

It doesn’t use any tools like lerna, and the Github API does not expose dependencies (although in some cases they must have the data internally, because they show the “Dependency Graph”), so I don’t see any obvious solution apart from recursing into subfolders (up to a a certain level).

Read more comments on GitHub >

github_iconTop Results From Across the Web

11 Great Tools for a Monorepo in 2021 | Bits and Pieces
Best tools to build a monorepo. Develop, build, and publish packages, and scale development. Discover Lerna, Nx, Rush, Bit, Yarn Workspaces, and more....
Read more >
A curated list of awesome Monorepo tools, software ... - GitHub
Yarn is a JavaScript dependency management tool that supports monorepos through workspaces. ... How to Use Git Shallow Clone to Improve Performance ...
Read more >
Monorepo Explained
We created this resource to help developers understand what monorepos are , what benefits they can bring, and the tools available to make...
Read more >
Monorepo Solutions in 2021 - Level Up Coding
Bit is one of the best tools available for Monorepos out there. It attempts to avoid most of the challenges that appear with...
Read more >
What is monorepo? (and should you use it?) - Semaphore CI
Monorepos can foster rapid development workflows. ... Storage: an open-source extension for Git that adds better support for large files.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found