pizza-cli icon indicating copy to clipboard operation
pizza-cli copied to clipboard

Feature: parse `package.json` to add project dependencies to insight page

Open jpmcb opened this issue 3 months ago • 0 comments

Type of feature

🍕 Feature

Current behavior

It'd be great to have a feature that would add a projects dependency to an insight page. To start with, parsing a package.json would allow us to "watch" all the dependencies of a project.

Suggested solution

This probably deserves its own RFC, but as a stub, this could exist as something like:

$ pizza parse ./package.json

A few things to consider and edge cases to think about:

  • Insight pages exist within (and as individual entities for) workspaces. Before moving forward with this implementation, we'd need #74 workspaces support in the CLI
  • Being able to denote an existing insight page that a project uses would be useful. Maybe we even think about a ~/.pizzacache (or something) that can denote the associate package json files with a given workspace/insight page

Additional context

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Contributing Docs

  • [X] I agree to follow this project's Contribution Docs

jpmcb avatar Mar 12 '24 16:03 jpmcb