build(aio): update to @angular/cli@6.0.0-rc.2 + project layout update (#23234)

project layout was updated using:
yarn ng update @angular/cli --migrate-only --from=1.7.3

PR Close #23234
This commit is contained in:
Igor Minar
2018-04-06 21:09:12 -07:00
committed by Jason Aden
parent 65e67b3c3a
commit 12a191ef3f
9 changed files with 1013 additions and 711 deletions

View File

@ -1,10 +1,9 @@
const fs = require('fs');
const sh = require('shelljs');
const PATCH_LOCK = 'node_modules/@angular/cli/models/webpack-configs/.patched';
const PATCH_LOCK = 'node_modules/@angular/cli/.patched';
if (!fs.existsSync(PATCH_LOCK)) {
sh.exec('patch -p0 -i tools/cli-patches/webpack-no-global.patch');
sh.touch(PATCH_LOCK);
}