NativeScript / NativeScript/nativescript-cli
Dependencies not clean
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
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 ...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the provided npm install, ng new, and npm ls reproduction locally or in the referenced Docker image. Trace the generated NativeScript project's dependency tree and determine how the check should be integrated into NativeScript CI/CD for framework releases and examples; done means the dependency check passes reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, docker, javascript, node.js
- Domain
- ci-cd, cli, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100