Skip to content

Downgrade non-default builders error to warning #14176

@FrozenPandaz

Description

@FrozenPandaz

Bug, feature request, or proposal:

Feature request for schematics

What is the expected behavior?

Not having the default builders and using the schematics should throw a warning.

Ideally, there would also be an option to silence it.

What is the current behavior?

Having non-default builders throws an error

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.

StackBlitz starter: https://goo.gl/wwnhMV

npx @nrwl/schematics my-proj --no-interactive
cd my-proj
ng g app app1 --unit-test-runner jest --no-interactive
ng add @angular/material

What is the use-case or motivation for changing an existing behavior?

Users should be able to use their own builders at their own risk.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Whichever versions material enforce the builders (6+?)

Is there anything else we should know?

Original Issue:
nrwl/nx#868

Metadata

Metadata

Assignees

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