fix(ngcc): rename the executable from ivy-ngcc to ngcc (#33140)

Previously, the executable for the Angular Compatibility Compiler
(`ngcc`) was called `ivy-ngcc`. This would be confusing for users not
familiar with our internal terminology, especially given that we call it
`ngcc` in all our docs and presentations.

This commit renames the executable to `ngcc` and replaces `ivy-ngcc`
with a script that errors with an informative message (prompting the
user to use `ngcc` instead).

Jira issue: [FW-1624](https://angular-team.atlassian.net/browse/FW-1624)

PR Close #33140
This commit is contained in:
George Kalpakas
2019-10-14 12:51:02 +03:00
committed by Miško Hevery
parent 4acf0a09ac
commit 1a34fbce25
6 changed files with 58 additions and 37 deletions

View File

@ -82,7 +82,7 @@ class ExampleBoilerPlate {
if (ivy) {
// We only need the "es2015" bundles as the CLI webpack build does not need
// any other formats for building and serving.
shelljs.exec(`yarn --cwd ${SHARED_PATH} ivy-ngcc --properties es2015`);
shelljs.exec(`yarn --cwd ${SHARED_PATH} ngcc --properties es2015`);
}
exampleFolders.forEach(exampleFolder => {