refactor(core): add links to remaining migration guides (#33385)

PR Close #33385
This commit is contained in:
Kara Erickson
2019-10-24 15:22:28 -07:00
committed by Andrew Kushnir
parent 0d9be22023
commit a17cc9beee
2 changed files with 9 additions and 0 deletions

View File

@ -17,6 +17,11 @@ import {appendPropertyInAstObject, findPropertyInAstObject, insertPropertyInAstO
*/
export default function(): Rule {
return (tree: Tree, context: SchematicContext) => {
context.logger.info('------ ngcc postinstall migration ------');
context.logger.info('This migration adds an ngcc invocation to npm/yarn\'s ');
context.logger.info('postinstall script. See more info here: ');
context.logger.info('https://v9.angular.io/guide/migration-ngcc');
addPackageJsonScript(
tree, 'postinstall',
'ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points');