Skip to content

feat: add project graph command#27

Open
ShadowDog007 wants to merge 1 commit into
mainfrom
feat/project-graph
Open

feat: add project graph command#27
ShadowDog007 wants to merge 1 commit into
mainfrom
feat/project-graph

Conversation

@ShadowDog007

Copy link
Copy Markdown
Owner

No description provided.

Comment thread src/cli/GraphCommand.ts
}

logGraph(options: GraphCommandOptions, level: number, ...graphNodes: ProjectGraph[]) {
const prefix = `${' '.repeat(level)}=> `;

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to find a better way to display this.

Comment thread src/models/Project.ts
/**
* Graph of project dependencies
*/
readonly graph: ProjectGraph;

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Find a way to separate this from the interface used by processors so they don't all need to worry about it.

relativeCsprojPaths.map(dep => this.projectReferenceCache.get(join(dirname(match), dep)))
);
// TODO is this really needed?
// const transitiveDependencies = await Promise.all(

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Transitive dependencies should already be covered by the flattener processor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant