analyze_project_dependencies
Analyze package.json for platform components that should be optionalDependencies set to version "instance" when adding or changing instance-backed dependencies before snc ui-component deploy --fa.
Instructions
Analyzes a Next Experience UI component project package.json for platform components that should be declared as optionalDependencies with the version set to "instance". Use this when adding or changing instance-backed platform dependencies, including preparation for eventual deployment with snc ui-component deploy --fa, regardless of the local preview workflow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packageJsonPath | Yes | Path to the target project package.json, absolute or relative to the current working directory. | |
| plannedComponentTags | No | Optional list of planned platform component tags, such as now-button or now-modal. |