sfpowerscripts icon indicating copy to clipboard operation
sfpowerscripts copied to clipboard

'validate' to identify incorrect transitive dependencies

Open azlam-abdulsalam opened this issue 2 years ago • 0 comments

sfdx-project.json is the manifest which determines the packages in a particular project, dependencies of each packages and deployment order. As projects grow, the complexity of this manifest grows (3K+ lines in some projects) making it incomprehensible.

To simplify the management of above and prevent errors be detected late in the cycle , this work item aims to do the following Using a linter like approach, break validate and provide warning to the user on unlocked packages missing transitive dependencies, error such as this are currently only detected during build stage

This can be based on the work done by @Rocko1204 in https://github.com/Rocko1204/packaging-helper-cli

Refer to https://github.com/dxatscale/dxatscale-issue-registry/issues/18 for motivation

azlam-abdulsalam avatar Feb 23 '22 00:02 azlam-abdulsalam