IronCoreLabs / IronCoreLabs/recrypt-node-binding

Introduce Typescript build process, generate types

未关闭
#76 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
24
派生
6
平均合并
2 天 50 分钟
30 天内合并 PR
2

描述

Now that there is a manually written `index.js` as the entrypoint, we're duplicating a lot of work between `index.js` and `index.d.ts` that is error prone. Write an `index.ts` that replaces both in the repo, and a build process that produces both of the original files for NPM packaging.

贡献指南

这个仓库没有索引到贡献指南

调研方向

从现有的 index.js 和 index.d.ts 入口文件开始,然后确定如何让 index.ts 替换它们,同时保持 package 接口不变。围绕为 NPM 打包生成这两个原始文件来定义构建流程;当生成的输出与 package 所需的入口点一致时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
node.js, typescript
领域
build-system
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。