title: Angular 5 -> Angular 6 Rxjs .map() to .pipe(map())
body: <p>I have an Angular 5 project which has many modules and hundreds of components. Since RxJs 6 you have to use</p>
  
  <pre><code>someObservable.pipe(map(...))
  </code></pre>
  
  <p>instead of</p>
  
  <pre><code>someObservable.map(...)
  </code></pre>
  
  <p>I want to migrate this project from Angular 5 to 6, but dont want to change every occurrence of <code>.map()</code> by hand.</p>
  
  <p>The Angular update side suggests</p>
  
  <pre><code>rxjs-5-to-6-migrate -p src/tsconfig.app.json
  </code></pre>
  
  <p>for migrating to rxjs 6, but I am afraid that this can't change my code.</p>
  
  <p>Any suggestions on how to save time and change from <code>.map()</code> to <code>.pipe(map())</code> automatically?</p>