lip icon indicating copy to clipboard operation
lip copied to clipboard

[Feature]: Save complete packet information when writing lock

Open harry-xi opened this issue 5 months ago • 1 comments

Is your feature request related to a problem? Please describe.

Currently, we have specifically cleaned up some information when writing to PackageLock, such as info, which requires us to rely on Lip.View to obtain the complete package manifest file.

Describe the solution you'd like

Retaining this information allows us to obtain package information locally with certainty, which provides considerable convenience while avoiding potential problems caused by changes in remote sources.

Describe alternatives you've considered

As mentioned earlier, reuse the package descriptor to obtain the complete manifest file via Lip.View.

Deficiencies in the plan

This is a breaking change, and the old packageLock will cause different behavior.

harry-xi avatar Jul 12 '25 05:07 harry-xi

In addition, a significant drawback of Lip.View is that it requires the entire package to obtain the PackageManifest, which can result in slow responses when the package is large and there is no cache.

harry-xi avatar Jul 12 '25 14:07 harry-xi