NativeScript / NativeScript/nativescript-cli

Dependencies not clean

未关闭
#5,275 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
JavaScript
星标
1.1k
派生
204
平均合并
1 天 9 小时
30 天内合并 PR
8

描述

Hello,

Currently the dependencies tree from nativescript is not clean but it should be to do automated checks against the NPM tree and having reliable ci/cd.

How to reproduce?

export NG_CLI_ANALYTICS=ci; (npm install -g @angular/cli && npm install -g @nativescript/schematics && cd /tmp && rm -rf check-nativescript && ng new -c=@nativescript/schematics check-nativescript --shared && cd check-nativescript && npm ls && echo 'OK') || (echo "failed"; exit 1)

same command within docker:

docker run -e NG_CLI_ANALYTICS=ci -it scratchy/nativescript-cli:18.04-10.x-6.4.0-28.0.3-1.20.1 bash -c '(npm install -g @angular/cli && npm install -g @nativescript/schematics && cd /tmp && rm -rf check-nativescript && ng new -c=@nativescript/schematics check-nativescript --shared && cd check-nativescript && npm ls && echo 'OK') || (echo 'failed'; exit 1)'

This checks should imo also be hooked to the nativescript internal ci/cd for releasing the framework / checking the nativescript examples ...

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,在本地或引用的 Docker 镜像中运行提供的 npm install、ng new 和 npm ls 复现步骤。跟踪生成的 NativeScript 项目的依赖树,并确定应如何将检查集成到 NativeScript CI/CD 中,以用于框架发布和示例;完成的标准是依赖检查能够可靠通过。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, docker, javascript, node.js
领域
ci-cd, cli, devops
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。