Support customizable variables in templates
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript, react-native
- 领域
- cli
调研方向
没有指定文件、测试或入口点。首先定位 CLI 的模板处理和提问代码,然后确定模板元数据在哪里读取。完成的标准是:模板可以在 JSON 中定义自定义问题,CLI 会提出这些问题并应用回答,而没有 JSON 的模板保持不变。
由索引模型根据 Issue 内容生成。
描述
Hey, this is a feature request and I would possibly want to work on it as I'm looking for simple stuff to do on my free time.
Basically what I'm suggesting is adding to the cli the ability to ask some questions defined by the template maker to customize the template. The questions would be defined in a json that would live inside the template's folder.
Here are few examples :
- A firebase template could ask for apiKey, authDomain, databaseURL, ...
- Another template could ask for a primaryColor, secondaryColor, ...
- Many more applications
No json would mean no customization.
Let me know if you think something like this would be useful
- 主要语言
- JavaScript
- 星标
- 13.2k
- 派生
- 1.3k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
expo/create-react-native-app 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
expo/create-react-native-app#947 ·
-
难度 4/5 3-5 天 新手友好度 10/100
expo/create-react-native-app#946 ·
-
难度 4/5 3-5 天 新手友好度 30/100
expo/create-react-native-app#945 ·
-
难度 4/5 3-5 天 新手友好度 20/100
expo/create-react-native-app#931 · 14 条评论 ·
-
难度 3/5 1-2 天 新手友好度 25/100
expo/create-react-native-app#929 ·
查看 expo/create-react-native-app 的全部 Issue
相似的 Issue
-
bug data-types
难度 2/5 1-3 小时 新手友好度 88/100
ClickHouse/clickhouse-js#1293 ·
维护者通常 1 天内回复
-
area: tests help wanted size/s
难度 2/5 1-3 小时 新手友好度 92/100
DahanItamar/DockNest#368 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
-
good first issue
难度 2/5 1-3 小时 新手友好度 76/100