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 {
52
52
53
53
// Check for @angular -devkit/schematics and @angular-devkit/core
54
54
for ( const name of [ '@angular-devkit/schematics' , '@angular-devkit/core' ] ) {
55
- const current = getPackageJsonDependency ( host , name ) ;
56
- if ( current ) {
55
+ if ( getPackageJsonDependency ( host , name ) ) {
57
56
context . logger . info (
58
57
`Package "${ name } " found in the workspace package.json. ` +
59
58
'This package typically does not need to be installed manually. ' +
60
59
'If it is not being used by project code, it can be removed from the package.json.' ,
61
60
) ;
62
61
}
63
62
}
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
+ }
64
72
} ;
65
73
}
You can’t perform that action at this time.
0 commit comments