Closed jaredallard closed 3 months ago
Latest commit: |
17fbc7c
|
Status: | ✅ Deploy successful! |
Preview URL: | https://2a9a64df.stencil-1wj.pages.dev |
Branch Preview URL: | https://jaredallard-refactor-modules-sreh.stencil-1wj.pages.dev |
Attention: Patch coverage is 72.66667% with 41 lines in your changes missing coverage. Please review. |
Files | Patch % | Lines |
---|---|---|---|
internal/modules/resolver/resolver.go | 82.64% | 14 Missing and 7 partials :warning: | |
internal/git/git.go | 31.03% | 19 Missing and 1 partial :warning: |
:loudspeaker: Thoughts on this report? Let us know!
Adds a module resolver library for the purposes of replacing the current version resolver used by the
modules
package. This does not hook it up yet, but provides us a scalable foundation for resolving versions.Future PR(s) will change
stencil
to default to using versions found in the lockfile, as well as adding astencil upgrade
command to upgrade them.The underlying resolver introduced in this PR supports simple constraint functionality to allow flexibility in its usage in
stencil
, but there is currently no plans to expose this functionality. Tests have been added to ensure that the following behaviour is followed:v1.0.0-alpha.1
againstv1.0.0-beta.1
generally speaking, so we instead only allow pre-release criterias to opt into a specific pre-release track. Released versions till rank higher.