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.

Dependency graph that shows how constraints (module boundaries) are configured

See original GitHub issue

Description

A “dependency graph” like visualization that reads the main .eslintrc.json or tslint.json files in a workspace and shows how the constraints (module boundaries) are configured.

image

Motivation

When working with multiple tag values, it can become quite hard to keep track of which tag can import from which. A visual representation will make it easier to see the connection between tags. This will also make it possible to identify unused tags and/or unintentional links between libraries (i.e. libraries that can unintentionally import from or be imported in other libraries).

Suggested Implementation

Basic sketch based on the screenshot above (Paint for the win). (The refresh icon signifies that the tag can import other libraries with the same tag)

image

Alternate Implementations

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
LayZeeDKcommented, Dec 22, 2020

We should consider more advanced scenarios such as both type and scope tags and a mix between these in the dependency constraints.

0reactions
dzhavatcommented, Aug 18, 2022

No, no. no. Please keep it active.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enforcing Dependency Constraints Within Service ... - HackMD
This way you will configure dependency graph constraints within your work-space. We can enforce dependency rules by using scope and type lets understand...
Read more >
Enforce Project Boundaries - Nx
Nx comes with a generic mechanism for expressing constraints on project dependencies: tags. First, use your project configuration (in project.json or package.
Read more >
NX Monorepo: Imposing Constraints on Dependency Graph
Nx Monorepo framework helps you to impose constaints on dependency graph within your workspace. You can restrict how your project dependes on another...
Read more >
Enforcing Dependency Constraints ... - DEV Community ‍ ‍
That is something called as 1-dimensional dependency graph. Now In this blog, I will teach you how to enforce dependency rules among the ......
Read more >
Taming Code Organization with Module Boundaries in Nx
Nx ships with enforce-module-boundaries ESLint rule that helps restrict that ... property in your dependency constraints configuration.
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