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

gitpkg.now.sh completely down #58

Closed thecodeassassin closed 2 months ago

thecodeassassin commented 3 months ago

gitpkg.now.sh does not resolve anymore, this breaks a couple packages for us.

jLynx commented 3 months ago

Same here

thecodeassassin commented 3 months ago

We changed all uses of gitpkg.com with:

user/repo#commit-or-tag-or-branch:path/to/subdirectory
jLynx commented 3 months ago

You mean with https://github.com/user/repo#commit-or-tag-or-branch:path/to/subdirectory ?

snowystinger commented 3 months ago

Down for us as well and unfortunately I can't quite seem to get https://github.com/user/repo#commit-or-tag-or-branch:path/to/subdirectory to work, it keeps giving me Couldn't find match for "branch:path/to/subdirectory" in "refs/heads/branch" for "https://github.com/user/repo".

Edit: looks like we have to be on something newer than yarn 1.x... sigh

Edit Edit: ! the service was renamed, you can use gitpkg.vercel.app

jLynx commented 3 months ago

Thanks @snowystinger, replacing the domain with gitpkg.vercel.app worked

thecodeassassin commented 3 months ago

Oh man why was this done?! I figure that someone wanted to migrate it to a free domain and let the old domain expire? But why do that? I'd happily pay the domain renewal fee if I knew this was happening. This issue has caused us hours of additional work.

Btw in your how-to section you are still referencing gitpkg.now.sh.

EqualMa commented 3 months ago

Sorry about this, I will update the docs. Please replace the domain with gitpkg.vercel.app.

gitpkg is deployed on a free platform Vercel. They migrated from .now.sh to .vercel.app years ago. *.now.sh used to correctly redirect to the new domain so the docs of gitpkg were not updated.

d07RiV commented 3 months ago

Front page still provides old links in Yarn/NPM commands

EqualMa commented 3 months ago

The docs are updated in 7f90734b34644792ced5c04ae567cfe8c6649d0f