ieedan / jsrepo

♻️ The best way to reuse your code.
https://jsrepo.dev
MIT License
123 stars 7 forks source link

feat: Autodetect default branches for git providers #217

Closed ieedan closed 1 day ago

ieedan commented 1 day ago

GitHub already does this I just hadn't added it to the other GitLab and BitBucket yet.

So now when using gitlab/ieedan/std or bitbucket/ieedan/std it won't just point to a hard coded default branch main and master but will instead lookup the default branch and point to that.

vercel[bot] commented 1 day ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jsrepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 1, 2024 2:00pm
changeset-bot[bot] commented 1 day ago

🦋 Changeset detected

Latest commit: bbbfe79eb68b9a318ab48a1a4457a082a0b90378

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------ | ----- | | jsrepo | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

pkg-pr-new[bot] commented 1 day ago

Open in Stackblitzregistryproject

npm i https://pkg.pr.new/ieedan/jsrepo@217

commit: bbbfe79