* cleanup(angular): move the angular cli migration generator from @nrwl/workspace to @nrwl/angular * cleanup(angular): support merged packages (cli, tao, nx) * cleanup(angular): update make-angular-cli-faster to support packages consolidation
22 lines
389 B
JavaScript
22 lines
389 B
JavaScript
#!/usr/bin/env node
|
|
|
|
import * as yargsParser from 'yargs-parser';
|
|
import {
|
|
Args,
|
|
makeAngularCliFaster,
|
|
} from './utilities/make-angular-cli-faster';
|
|
|
|
const args = yargsParser(process.argv, {
|
|
string: ['version'],
|
|
boolean: ['verbose'],
|
|
});
|
|
|
|
makeAngularCliFaster(args as Args)
|
|
.then(() => {
|
|
process.exit(0);
|
|
})
|
|
.catch((e) => {
|
|
console.log(e);
|
|
process.exit(1);
|
|
});
|