hbstack / hb

The core module of HB framework, which automatically load and compile module's TypeScript and SCSS.
https://hbstack.dev/
MIT License
18 stars 3 forks source link

Hard to maintain modules #95

Closed razonyang closed 1 year ago

razonyang commented 1 year ago

hugo mod get -u doesn't update all latest version for modules if the upstream modules haven't been updated.

Let's say the github.com/hbstack/breadcrumb module latest version is v0.2.1.

$ hugo mod get -u
$ hugo mod graph | grep breadcrumb
github.com/hbstack/meta/recommended@v0.2.10 github.com/hbstack/docs/modules/breadcrumb@v0.1.6
github.com/hbstack/docs/modules/breadcrumb@v0.1.6 github.com/hbstack/breadcrumb@v0.1.1

But after executing hugo mod get -u, the github.com/hbstack/breadcrumb wasn't be updated, since it was imported by github.com/hbstack/docs/modules/breadcrumb as an old version, with this, it makes hard to maintain, which requires to release a new version on github.com/hbstack/docs/modules/breadcrumb and github.com/hbstack/meta/recommended.

razonyang commented 1 year ago

Now we're able to update all modules since Hugo v0.120.0.

hugo mod get -u