Question – should the output be 1 file per package?

未关闭
#164 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
领域
tooling

调研方向

首先检查 issue 中描述的当前输出工作流:每个组件对应一个模块/文件,另加 DistTypes.res。确定对于大型代码库,包级文件和 namespacing 应如何工作,然后记录或实现已达成一致的方法。当模块冲突问题得到明确解决,并且预期的输出结构得到规定时,即可视为完成。

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

描述

Hey, love this. We'd really like to bring into use at https://github.com/rohea.

However, we have always written bindings as 1 file per package. This is really beneficial for namespacing. I can't see how you would avoid module name conflicts in a large codebase with this lib's current approach of producing 1 module/file per component, and an extra one for types called DistTypes.res. Am I missing some expected part of the workflow?

主要语言
ReScript
星标
11
派生
0
平均合并
7 小时 27 分钟
30 天内合并 PR
6

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

juspay/rescript-bindgen 的其他 Issue

查看 juspay/rescript-bindgen 的全部 Issue

相似的 Issue

更多 DevTools Issue

把新 issue 发到你的邮箱

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