Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Discrepancy dev dependencies with NativeScript Angular #1114

Closed
@jessorlisa

Description

@jessorlisa

Is your feature request related to a problem? Please describe.

I am working on a NativeScript Angular project and I am confused about the dev dependencies. When I update the dev dependencies a fixed dependency of @angular/compiler-cli@8.2.0 is added
Output:

$ ./node_modules/.bin/update-ns-webpack --deps
Updating dev dependencies...
Adding dev dependency: @angular/compiler-cli@8.2.0

Updating the dev dependencies for @nativescript/angular results in a less strict requirement:

$ ./node_modules/.bin/update-app-ng-deps
[...]
Updated dependency @angular/compiler-cli to version: ~8.2.0.

Everything seems to be working fine with the latter.

Describe the solution you'd like
$ ./node_modules/.bin/update-ns-webpack --deps adds the same dependencies as $ ./node_modules/.bin/update-app-ng-deps (it does not matter which one).

Describe alternatives you've considered
Ignoring the discrepancy ;)

Additional context

$ tns info
✔ Getting NativeScript components versions information...
✔ Component nativescript has 6.3.1 version and is up to date.
✔ Component @nativescript/core has 6.3.2 version and is up to date.
✔ Component tns-android has 6.3.1 version and is up to date.
✔ Component tns-ios has 6.3.0 version and is up to date.
$ npm ls nativescript-dev-webpack
└── nativescript-dev-webpack@1.4.1 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions