louislam/uptime-kuma

Typescript functionality?

开放

#2,436 创建于 2022年12月19日

 (1 条评论) (1 个反应) (0 位负责人)JavaScript (7,844 个派生)batch import
A:corefeature-requesthelp wanted

仓库指标

星标
 (86,760 个星标)
PR 合并指标
 (平均合并 6天 15小时) (30 天内合并 21 个 PR)

描述

⚠️ Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find similar feature request

🏷️ Feature Request Type

Other

🔖 Feature description

What is the feeling for enabling typescript support? JSDoc is fine and good, but nothing beats typescript, it should of course be an opt in instead of converting everything to typescript at once.

I spent some time looking into it and it should be quite easy to enable, some Eslint issues was my main issues.

  • I would be willing to spend some more time investigating typescript and creating a PR if people actually want typescript.

EDIT: I see that enabling typescript will be a breaking change as it requires modifications to the current release process and all docker images as they do not use built code, only source code with npm ci for downloading node_modules. So the task is bigger than I thought

贡献者指南