feat: diff tree from lockfile and new dependency added, example poc#391
feat: diff tree from lockfile and new dependency added, example poc#391
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||
User description
IDEATION Experimental branch for diff'ing dependency changes when adding a new dependency to a project with a lockfile or node_modules
Description
Types of changes
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Checklist:
PR Type
Enhancement
Description
Add dependency tree analysis using npm Arborist library
Implement diff calculation between actual and ideal dependency trees
Extract and report newly added transitive dependencies
Support lockfile-based dependency resolution without node_modules
Diagram Walkthrough
File Walkthrough
deps-analyzer.js
Dependency tree diff analyzer with Arboristlib/deps-analyzer.js
info
package.json
Add Arborist dependencypackage.json
@npmcli/arboristv9.1.8 as new dependency