NativeScript / NativeScript/nativescript-cli
ns test init should be aware of being run on an Nx workspace app
未关闭
还没有人认领这个 Issue。
feature
- 主要语言
- JavaScript
- 星标
- 1.1k
- 派生
- 204
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 8
描述
Is your feature request related to a problem? Please describe.
When running ns test init inside the folder of an Nx NativeScript app I wish I would not need to manually update the project.json file to include the test target
Describe the solution you'd like
ns test init should search for a file called project.json in app's root folder and update its content with the default test target configuration (i.e., no coverage, default options for Android and iOS)
Describe alternatives you've considered
No response
Anything else?
No response
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- I agree to follow this project's Code of Conduct
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 ns test init 命令的入口开始,检查它如何构建测试配置。找到应用根目录中的 project.json,添加默认的无覆盖率 Android/iOS test target,并验证该命令可以更新 Nx NativeScript 应用,而无需手动编辑。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- cli, mobile-dev
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100