feat: adding gh changelog/releases to npmx#1233
feat: adding gh changelog/releases to npmx#1233WilcoSp wants to merge 96 commits intonpmx-dev:mainfrom
Conversation
…md -> html does need to change)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
excludes changelog releases due to needing api calls
|
I've just fixed how the changelog is resolved for vite and other monorepos with changelog.md but the repository.directory does need to be defined, else it'll be the same as the already existing behavior. |
|
I've also noticed with at least Turkish & Czech that "view on npm" & "view on github" can differ, so the "view on {site}" that I've made might not work. I'll ask in the i18n channel in discord what the best solution will be as it'll also be needed for other git providers. for changelog in pr 2 but it's also needed for the package page when readme.md can't be loaded. |
… back releases title's will now use slugify instead of encodeUri to fix issues with encoding
|
I've merged the main branch and updated to use "common.view_on.*" translations. unless issues are found I won't add more to this PR and leave it to review & to merge into main |
|
I wanted to have a look, but I'm not sure in what env to check. I looked at:
I'm not sure how previews are working by PR in vercel. Maybe there is a latest link to be used? |
|
@jycouet I advice using https://npmxdev-git-fork-wilcosp-feat-changelog-1-npmx.vercel.app/package-changes/svelte/v/5.53.8 for the changelogs not showing it might be an issue with ungh.cc which is atm the github ap that's being used |
…ageHeader component
giving a msg when loading changelogs failed
…rkdown & if loading them doesn't go well there is now a error msg instead of a blank screen
|
because of the update there is an issue when not giving a version, I'll fix this tomorrow. also suggested from discord, I'll also going to change that the sticky header will also be one with toc, not the one with github |



This pr will add the possibility to view the changelog.md & releases from a package's github repo within npmx.
This will make it easier to see the changelogs while not needing to leave npmx and allowing quicker access.
This pr is the first pr of #501
Preview here
While I was making this PR antfu also made this pr #1368 and here my comment from his pr