@angular-devkit/architect-cli
Advanced tools
+11
-14
@@ -80,4 +80,4 @@ #!/usr/bin/env node | ||
| status: update.status || '', | ||
| name: ((update.target ? _targetStringFromTarget(update.target) : update.builder.name) | ||
| + ' '.repeat(80)).substr(0, 40), | ||
| name: ((update.target ? _targetStringFromTarget(update.target) : update.builder.name) + | ||
| ' '.repeat(80)).substr(0, 40), | ||
| }; | ||
@@ -108,3 +108,4 @@ if (update.status !== undefined) { | ||
| try { | ||
| const { success } = await run.output.pipe(operators_1.tap(result => { | ||
| const { success } = await run.output | ||
| .pipe(operators_1.tap(result => { | ||
| if (result.success) { | ||
@@ -120,3 +121,4 @@ parentLogger.info(core_1.terminal.green('SUCCESS')); | ||
| logs.splice(0); | ||
| })).toPromise(); | ||
| })) | ||
| .toPromise(); | ||
| await run.stop(); | ||
@@ -148,12 +150,7 @@ bars.terminate(); | ||
| const currentPath = process.cwd(); | ||
| const configFileNames = [ | ||
| 'angular.json', | ||
| '.angular.json', | ||
| 'workspace.json', | ||
| '.workspace.json', | ||
| ]; | ||
| const configFileNames = ['angular.json', '.angular.json', 'workspace.json', '.workspace.json']; | ||
| const configFilePath = findUp(configFileNames, currentPath); | ||
| if (!configFilePath) { | ||
| logger.fatal(`Workspace configuration file (${configFileNames.join(', ')}) cannot be found in ` | ||
| + `'${currentPath}' or in parent directories.`); | ||
| logger.fatal(`Workspace configuration file (${configFileNames.join(', ')}) cannot be found in ` + | ||
| `'${currentPath}' or in parent directories.`); | ||
| return 3; | ||
@@ -169,8 +166,8 @@ } | ||
| } | ||
| main(process.argv.slice(2)) | ||
| .then(code => { | ||
| main(process.argv.slice(2)).then(code => { | ||
| process.exit(code); | ||
| }, err => { | ||
| // tslint:disable-next-line: no-console | ||
| console.error('Error: ' + err.stack || err.message || err); | ||
| process.exit(-1); | ||
| }); |
+3
-3
| { | ||
| "name": "@angular-devkit/architect-cli", | ||
| "version": "0.801.0-beta.3", | ||
| "version": "0.801.0-rc.0", | ||
| "description": "Angular Architect CLI", | ||
@@ -21,4 +21,4 @@ "experimental": true, | ||
| "dependencies": { | ||
| "@angular-devkit/architect": "0.801.0-beta.3", | ||
| "@angular-devkit/core": "8.1.0-beta.3", | ||
| "@angular-devkit/architect": "0.801.0-rc.0", | ||
| "@angular-devkit/core": "8.1.0-rc.0", | ||
| "@types/progress": "^2.0.3", | ||
@@ -25,0 +25,0 @@ "minimist": "1.2.0", |
12092
0.17%271
-1.09%+ Added
+ Added
- Removed
- Removed