rgst-io / stencil

📒 A modern living-template engine for evolving repositories
https://stencil.rgst.io
Apache License 2.0
4 stars 1 forks source link

feat!: use new resolver, remove stenciltest, --frozen-lockfile #94

Closed jaredallard closed 2 weeks ago

jaredallard commented 2 weeks ago

Uses the new versions resolver under the hood for the version field in the modules list.

Supports constraints and branches.

Future PR will add 'back' frozen lockfile in the sense that it'll be the default, and stencil upgrade will upgrade versions. If a module explictly requests a version it can do so by not opting to use a constraint, but by default a version == pin inside of a manifest.

Major versions prompting has also been removed.

cloudflare-pages[bot] commented 2 weeks ago

Deploying stencil with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8cb7fe7
Status: âœ…  Deploy successful!
Preview URL: https://9b482293.stencil-1wj.pages.dev
Branch Preview URL: https://jaredallard-refactor-modules-bc20.stencil-1wj.pages.dev

View logs

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 72.82609% with 50 lines in your changes missing coverage. Please review. Files Patch % Lines
internal/modules/resolver/version.go 0.00% 24 Missing :warning:
internal/modules/resolver/criteria.go 65.85% 11 Missing and 3 partials :warning:
internal/modules/module.go 73.68% 3 Missing and 2 partials :warning:
internal/modules/modules.go 96.62% 2 Missing and 1 partial :warning:
internal/modules/resolver/resolver.go 0.00% 3 Missing :warning:
internal/cmd/stencil/stencil.go 0.00% 1 Missing :warning:

:loudspeaker: Thoughts on this report? Let us know!

jaredallard commented 2 weeks ago

Reminder that this PR will not land in main since I'm using the jaredallard/refactor/modules branch to stage these changes until it's been tested thoroughly by me and stencil upgrade is done.