-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Extract page-detect.ts into github-url-detection
#3062
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
cc @Mottie would these be useful to you? https://github.com/sindresorhus/refined-github/blob/2e5c19a4d8fa7db94e775beeac9b8bd610a2fa2b/source/libs/page-detect.ts They already depend on https://github.com/Mottie/github-reserved-names |
👍 |
|
If you want I resorted the imports for you yakov116@defadab and removed the duplicate imports |
I realized it sounds like GitHub Pages and might cause confusion. Maybe |
Co-Authored-By: yakov116 <yakov116@users.noreply.github.com>
Undo, fix
Autofix
It's unrelated to this PR
github-url-detection
|
This is ready to be merged |
fregante/github-url-detection 🎉Here's the clean output that a non-webpack-built module can achieve outside Refined GitHub: https://www.unpkg.com/browse/github-url-detection@1.0.0/esm/index.js This will also speed up our testing and avoid CI testing timeouts. Git history was preserved in the module repository. PRs always welcome. Present Refined GitHub maintainers can ask me to be added to |
As discussed a while back, I'm going to extract the page detection functions into a standalone module: https://github.com/fregante/github-url-detection
Pros
Con
Con alleviator
TODO
github-page-detectionsound good?