Skip to content

[next] Creating a new shared project with the Angular CLI doesn't work #216

@sis0k0

Description

@sis0k0

Environment
@angular/cli: 8.1.1
@nativescript/schematics: 0.6.1-2019-06-21-160030-02

Describe the bug
Creating a new project shared fails with:

Cannot find module `typescript`

To Reproduce

ng new --collection=@nativescript/schematics my-project --shared

Additional context
The Angular CLI no longer has a dependency on typescript. The project generation schematics in @nativescript/schematics requires a ../util module that requires typescript.

Solution
Prevent the project generation schematic in @nativescript/schematics from requiring typescript.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions