Skip to content

fix(cli): bundle resolver uses /HEAD/ instead of /main/#487

Merged
melvincarvalho merged 1 commit into
gh-pagesfrom
fix-bundle-resolver-gh-pages
May 18, 2026
Merged

fix(cli): bundle resolver uses /HEAD/ instead of /main/#487
melvincarvalho merged 1 commit into
gh-pagesfrom
fix-bundle-resolver-gh-pages

Conversation

@melvincarvalho

Copy link
Copy Markdown
Contributor

Better than picking either main or gh-pages for the URL shortcuts: /HEAD/ resolves to whichever branch is the repo's default. Works for both solid-apps-style gh-pages default and standard main default.

Verified end-to-end against the just-published solid-apps/bundles (default branch gh-pages): jss install --bundle starter → 4/4 apps installed.

Three one-token swaps:

  • solid-apps/bundles/main/<name>.jsonld/HEAD/<name>.jsonld
  • <org>/<repo>/main/bundle.jsonld<org>/<repo>/HEAD/bundle.jsonld
  • Doc comment refreshed

GitHub's raw URLs resolve /HEAD/ to the repo's default branch
automatically. Works for both gh-pages-default repos (solid-apps
convention) and main-default repos (everyone else's GitHub
default). Better than picking one branch name.

Smoke: `jss install --bundle starter` against
solid-apps/bundles (default branch gh-pages) → 4/4 installed
end-to-end.
@melvincarvalho
melvincarvalho merged commit 1289909 into gh-pages May 18, 2026
1 check passed
@melvincarvalho
melvincarvalho deleted the fix-bundle-resolver-gh-pages branch May 18, 2026 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant