Skip to content

Angular 13, ng add @briebug/jest-schematic fails due to dependency conflict #134

@poxopox

Description

@poxopox

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. npm install -g @angular/cli@13
  2. ng new -S --style=scss --strict --create-application=false -p=reprepo rep-repo
  3. ng add @briebug/jest-schematic

Expected behavior
A clear and concise description of what you expected to happen.

Add the compatible @angular-builders/jest@^13.3.12 or similar version instead of the latest when using older angular versions.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: [M1 macOS]
  • Node version: [v16.15.0]
  • App type [Angular CLI]
  • Angular version [@angular/core: "13.3.12"]

Additional context
Maybe there's an opportunity for a feature request here? Maybe adding an optional argument to specify the version of angular-builder to install or to force the install.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions