Dependency graph that shows how constraints (module boundaries) are configured
See original GitHub issueDescription
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.
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)
Alternate Implementations
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:8 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We should consider more advanced scenarios such as both
type
andscope
tags and a mix between these in the dependency constraints.No, no. no. Please keep it active.