Improve JS packaging
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript, typescript
- 领域
- build-system, tooling
调研方向
从 package.json 和现有的 d.ts 文件开始,然后检查当前如何生成和导出 JavaScript 包。验证 exports 和 types 字段,确保声明了依赖项且导出的 JavaScript 不包含捆绑的依赖项,并确认生成的包支持所请求的导入和类型声明。
由索引模型根据 Issue 内容生成。
描述
We need to include some source JS files to aid in importing from NPM.
Tasks:
- Correct
exportsfield inpackage.json - No bundled dependencies in exported js. You can ship multiple/unminified files if you like, I can bundle on my end as long as there's an
importpapertrail. Unminified is way easier to debug. - Dependencies declared in package.json
- Correct
typesfield in package.json - Correct
d.tsfile
- 主要语言
- TypeScript
- 星标
- 674
- 派生
- 107
- 平均合并
- 2 天 1 小时
- 30 天内合并 PR
- 46
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
bug cli service
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
create-element: same editorAlias silent-fallback bug as #201, not covered by that fix可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭generated-by-ai
难度 2/5 1-3 小时 新手友好度 78/100
umbraco/Umbraco-CMS-MCP-Editor#208 · 1 条评论 ·
维护者通常 1 天内回复
-
Table: Space fires onActivate in single-selection mode — the reference doc and the JSDoc disagree未关闭
难度 2/5 1-3 小时 新手友好度 68/100
sidorares/react-x11-components#764 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
backnotprop/plannotator#1840 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
JoviDeCroock/pracht#432 ·
维护者通常 1 天内回复