zotero / zotero-connectors

Chrome, Firefox, Edge, and Safari extensions for Zotero
https://www.zotero.org/download/connectors
Other
533 stars 124 forks source link

Lets migrate to Typescript #442

Closed maxsu closed 1 year ago

maxsu commented 1 year ago

Hey Dan,

I would like to help migrate zotero connectors to typescript!

Can you help me build a list of considerations / requirements for this kind of migration?

dstillman commented 1 year ago

Thanks, but we have no current plans to convert most Zotero code to TypeScript.

maxsu commented 1 year ago

@dstillman,

Thank you for your speedy response. I understand the hesitation towards TypeScript.

In light of this, I've been considering an alternative that might address some of the challenges I've faced with the current setup: transitioning to ES6 modules and classes. While not as extensive as TypeScript, this shift could still greatly improve the experience in VS Code, making symbol navigation and onboarding smoother for contributors.

I've thought about starting with the Translator as a low-risk proof of concept. This could offer insights into how ES6 integrates with the Zotero desktop and connector downstream. It's a suggestion I'm excited to explore and would value your input on.

Regardless, my commitment remains firmly to enhancing the connector's reliability. I respect the project's direction and am here to support in the best ways I can.