EqualMa / gitpkg

use a sub directory of a github repo as yarn / npm dependency directly
https://gitpkg.vercel.app
324 stars 18 forks source link

Take latest commit when querying for a branch #17

Closed dword-design closed 4 years ago

dword-design commented 4 years ago

Currently, when querying via e.g. ?fork, the first commit of that branch (or at least not the lastest) is taken when adding a repo to the package. I think it makes more sense to always take the latest one.

EqualMa commented 4 years ago

Can you give an example? I think the current behavior is taking the latest commit rather than the first.

dword-design commented 4 years ago

Never mind, it was the good ol' Yarn cache. There is an open issue about caching git dependencies.