arethetypeswrong / arethetypeswrong/arethetypeswrong.github.io
question: is there a way to validate packages with mixed dual ESM/CJS and ESM-only subpackage exports?
未关闭
- 主要语言
- TypeScript
- 星标
- 1.6k
- 派生
- 65
- PR 合并指标
- 30 天内没有已合并 PR
描述
For example, this simple one https://github.com/userquin/unbuild-cts-issue/pull/1 or https://github.com/unocss/unocss/blob/main/packages-presets/unocss/package.json (https://arethetypeswrong.github.io/?p=unocss%4066.0.0).
I'm interested in the cli, we use `attr` at UnoCSS.
Thx for this great package.
贡献指南
这个仓库没有索引到贡献指南
调研方向
从 CLI 和 issue 中提到的 `attr` 用法开始,然后使用已发布的 web analyzer 重现链接的 unbuild pull request 和 UnoCSS package.json 中的案例。明确是否应支持带有 ESM-only 子包 exports 的混合 dual ESM/CJS 包,以及什么验证结果才算完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- node.js, typescript
- 领域
- cli, tooling
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100