angular-cn/packages/core/schematics/migrations/postinstall-ngcc
Kara Erickson a17cc9beee refactor(core): add links to remaining migration guides (#33385)
PR Close #33385
2019-10-24 16:21:49 -07:00
..
BUILD.bazel
README.md
index.ts refactor(core): add links to remaining migration guides (#33385) 2019-10-24 16:21:49 -07:00

README.md

Postinstall ngcc migration

Automatically adds a postinstall script to package.json to run ngcc. If a postinstall script is already there and does not call ngcc, the call will be prepended.

Before

{
  "scripts": {
    "postinstall": "do-something"
  }
}

After

{
  "scripts": {
    "postinstall": "ngcc ... && do-something"
  }
}