You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
. The architect command in question might have nothing to do with Angular. For example, it could be a custom webpack build or a tslint check. This compatibility check should be moved to the following builders:
@angular-dekvit/build-angular:browser
@angular-devkit/build-angular:dev-server
@angular-devkit/build-angular:server
@angular-devkit/build-angular:app-shell
.etc
The following builders do not require this check:
@angular-devkit/build-angular:karma
@angular-devkit/build-angular:tslint
@angular-devkit/build-angular:protractor
@angular-devkit/build-angular:karma
🔬 Minimal Reproduction
Create a custom builder and try to use it with the @angular/cli in a project which does not have @angular/core installed.
🐞 Bug report
Command (mark with an
x
)All Architect Commands in
@angular/cli
Is this a regression?
Nope
Description
The Version compatibility check is called for every single architect command at this line here:
angular-cli/packages/angular/cli/models/architect-command.ts
Line 279 in 5ec27db
@angular-dekvit/build-angular:browser
@angular-devkit/build-angular:dev-server
@angular-devkit/build-angular:server
@angular-devkit/build-angular:app-shell
The following builders do not require this check:
@angular-devkit/build-angular:karma
@angular-devkit/build-angular:tslint
@angular-devkit/build-angular:protractor
@angular-devkit/build-angular:karma
🔬 Minimal Reproduction
Create a custom builder and try to use it with the
@angular/cli
in a project which does not have@angular/core
installed.https://github.com/FrozenPandaz/reacttest/tree/versionbug
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
This is needed to improve non-angular support in
@nrwl/nx
. 🙏cc @alexeagle
The text was updated successfully, but these errors were encountered: