EyeServer icon indicating copy to clipboard operation
EyeServer copied to clipboard

Refactor to depend on EyeJs?

Open mielvds opened this issue 2 years ago • 4 comments

A while ago, I splitted off the eye wrapper to modernize it and use it in some other project: https://github.com/mielvds/EyeJs Back then, the logical follow-up was to create a PR that would remove this logic and import the EyeJs package (not sure that's the best name either), but I never got to it.

I'm opening this issue to not forget about it and also to check whether this is actually desired.

mielvds avatar Dec 06 '22 15:12 mielvds

Happy to make you a package owner. My original idea was that EyeServer would just expose both: https://github.com/eyereasoner/EyeServer/blob/36b3e87fd263af122c8af6ab54ea681eeaab6734/package.js#L1-L2

But I'm not strongly opinionated either way. And also squatted https://www.npmjs.com/org/eyereasoner for us just in case.

RubenVerborgh avatar Dec 16 '22 08:12 RubenVerborgh

Nice move!

Joining packages makes total sense, it was just a necessity at the time. but then this repo would need a total upgrade and transform to typescript?

mielvds avatar Dec 16 '22 15:12 mielvds

True; let's leave that as future work 🙂 Or we can already start with having Eye as TypeScript and upgrade the rest later.

RubenVerborgh avatar Jan 03 '23 22:01 RubenVerborgh

My plan was to make the Eye.js api backwards-compatible (reinstate the callbacks and such) so this repo wouldn't need any code changes and leave it at that for the time being

mielvds avatar Jan 04 '23 07:01 mielvds