File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
packages/schematics/angular/migrations/update-10 Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -52,14 +52,22 @@ export default function (): Rule {
5252
5353 // Check for @angular -devkit/schematics and @angular-devkit/core
5454 for ( const name of [ '@angular-devkit/schematics' , '@angular-devkit/core' ] ) {
55- const current = getPackageJsonDependency ( host , name ) ;
56- if ( current ) {
55+ if ( getPackageJsonDependency ( host , name ) ) {
5756 context . logger . info (
5857 `Package "${ name } " found in the workspace package.json. ` +
5958 'This package typically does not need to be installed manually. ' +
6059 'If it is not being used by project code, it can be removed from the package.json.' ,
6160 ) ;
6261 }
6362 }
63+
64+ if ( getPackageJsonDependency ( host , 'rxjs-compat' ) ) {
65+ context . logger . info (
66+ `Package "rxjs-compat" found in the workspace package.json. ` +
67+ 'This package typically was used during migration from RxJs version 5 to 6 during the Angular 5 ' +
68+ 'timeframe and may no longer be needed.\n' +
69+ 'Read more about this: https://rxjs-dev.firebaseapp.com/guide/v6/migration' ,
70+ ) ;
71+ }
6472 } ;
6573}
You can’t perform that action at this time.
0 commit comments