Prerequisite: select the consumer project in the Livt Project view.
Understand the three states
livt.tomldeclares which packages the project requests.livt.lockrecords the concrete resolved graph..livt/depsmaterializes that graph locally and must not be edited.
Add and synchronize a package
- Choose Add Dependency from the project or Dependencies node.
- Select the package and reviewed version.
- Choose Update Lock File.
- Choose Sync Dependencies.
- Validate the project and run affected tests.
[dependencies]
"Livt.IO" = "<selected-version>"
Use a local project during coordinated development
[dependencies]
"Device.Protocol" = { path = "../device-protocol" }
Use project-relative paths so a shared workspace remains portable. Before publishing, replace private local paths with registry selections that consumers can resolve.
Interpret dependency diagnostics
An unsynchronized but valid dependency is recoverable project state and is shown as a warning. A malformed declaration, unavailable package selection, or invalid local project is an error. Synchronization removes the warning when local state agrees with the manifest and lock file.
Warning settings declared by a dependency apply to that dependency's source. Use -W all only when deliberately auditing warnings across the complete graph.
To publish your own reusable project, continue with Packages and Reuse.