Downgrade non-default builders error to warning
See original GitHub issueBug, 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: https://github.com/nrwl/nx/issues/868
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
GCC: Use -Werror but downgrade a specific error to a warning ...
An example: I'm using -Wall -Werror and -Werror . This means unused static functions break the build. Clearly (?) unused functions are Bad,...
Read more >24082: Layer's symbol will be downgraded—ArcGIS Pro
The server downgrades the symbol to a symbol that is supported. Change the layer's symbology. Remove the layer if it is not needed....
Read more >8 Downgrading Oracle Database to an Earlier Release
If the downgrade for a component fails, then an ORA-39709 error is displayed. The SQL*Plus session terminates without downgrading the Oracle Database data ......
Read more >NuGet Warning NU1605 - Microsoft Learn
Detected package downgrade: 'PackageB' from 4.0.0 to 3.5.0. Reference the package directly from the project to select a different version.
Read more >How to fix "The following module is missing from the file ...
If you see a PHP warning such as "The following module is missing from the ... No thought at all to dumping this...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I see, reading the
config
for a builder sounds very reasonable, but I’m afraid that this is out-of-scope for our Material schematics.Maybe we can work on some public API (maybe there already is one, not too sure yet), and then we can consider using that API in order to check if there is a
styles
option available.This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.