Alright, so in response to a few issues that have been piling up, I've finally gotten around to the linking overhaul that's been badly needed.
In this PR I've addressed several issues that relate to links within community package's readme's.
The major ability added in this PR is that we are now easily able to modify any links within a readme, to fix them as needed. But otherwise here's a list of what's new in this PR
Properly supports shorthand string author assignment within the author field of a package.json
Resolves any links pointing to https://atom.io/packages/... => https://web.pulsar-edit.dev/packages/...
Supports both GitHub Shorthand within the repository field of the package.json and GitHub assumed shorthand. As these are both valid repo declarations according to NPM
Additionally resolves any links pointing to https://flight-manual.atom.io/ to point to the Web Archive of the Flight Manual, while keeping the rest of the link to still resolve properly.
Like we already do for images, any local, or current directory links found within a page, are resolved against the GitHub repo of the package, such as ./LICENSE.md => https://github.com/pulsar-edit/package-frontend/LICENSE.md
Feel free to provide any feedback as felt needed, otherwise this, and other approved PRs will be hopefully merged soon and the updates pushed to prod.
Alright, so in response to a few issues that have been piling up, I've finally gotten around to the linking overhaul that's been badly needed.
In this PR I've addressed several issues that relate to links within community package's readme's.
The major ability added in this PR is that we are now easily able to modify any links within a readme, to fix them as needed. But otherwise here's a list of what's new in this PR
author
field of apackage.json
https://atom.io/packages/...
=>https://web.pulsar-edit.dev/packages/...
repository
field of thepackage.json
and GitHub assumed shorthand. As these are both valid repo declarations according to NPMhttps://flight-manual.atom.io/
to point to the Web Archive of the Flight Manual, while keeping the rest of the link to still resolve properly../LICENSE.md
=>https://github.com/pulsar-edit/package-frontend/LICENSE.md
Feel free to provide any feedback as felt needed, otherwise this, and other approved PRs will be hopefully merged soon and the updates pushed to prod.
Resolves #35 Resolves #95 Resolves #92