Try another file if there's no index.js
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- web-dev
调研方向
首先跟踪当 package 根目录缺少 index.js 时 package URL 的处理方式,然后检查现有的 fallback 或错误路径。定义围绕 package.json 的 fallback 行为,并将 package 在没有 index.js 时不再生成错误页面视为工作完成。
由索引模型根据 Issue 内容生成。
描述
When I go to https://runpkg.com/myfavoritepackage and there is no index.js inside the package, I get an error page. index.js is a nice default, but perhaps we could fall back to something else such as package.json if it's not there?
- 主要语言
- JavaScript
- 星标
- 307
- 派生
- 9
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
FormidableLabs/runpkg 的其他 Issue
-
bug improvement
难度 4/5 3-5 天 新手友好度 28/100
FormidableLabs/runpkg#183 ·
-
improvement
难度 4/5 3-5 天 新手友好度 35/100
FormidableLabs/runpkg#181 ·
-
Prettier enhancements: feedback/state & options可能重新可做 @kiraarghy 于 2473 天前认领,目前没有进行中的 PR。 未关闭
FormidableLabs/runpkg#176 · 1 条评论 · 已指派 3 人 ·
-
"Contributing" doc可能重新可做 @kiraarghy 于 2473 天前认领,目前没有进行中的 PR。 未关闭
FormidableLabs/runpkg#174 · 1 条评论 · 已指派 2 人 ·
-
难度 3/5 1-2 天 新手友好度 35/100
FormidableLabs/runpkg#172 · 1 条评论 ·
查看 FormidableLabs/runpkg 的全部 Issue
相似的 Issue
-
documentation
难度 2/5 1-3 小时 新手友好度 78/100
PhyberApex/slds-json-schema-renderer#372 ·
维护者通常 1 天内回复
-
usage: a custom provider's balance meters ("…%" in the balance path) ignore the Left/Used switch未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
[BUG] rag: sentence content can cross the reported sentence boundaries可能已有人在做 @LJK-ikun 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
ericcornelissen/depreman#591 ·
维护者通常 1 天内回复
-
bug/1-unconfirmed kind/bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复