@angular-devkit/architect-cli 0.1401.3 → 0.1402.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/architect.js +12 -16
  2. package/package.json +4 -5
package/bin/architect.js CHANGED
@@ -38,7 +38,6 @@ const node_2 = require("@angular-devkit/core/node");
38
38
  const ansiColors = __importStar(require("ansi-colors"));
39
39
  const fs_1 = require("fs");
40
40
  const path = __importStar(require("path"));
41
- const operators_1 = require("rxjs/operators");
42
41
  const yargs_parser_1 = __importStar(require("yargs-parser"));
43
42
  const progress_1 = require("../src/progress");
44
43
  function findUp(names, from) {
@@ -135,23 +134,20 @@ async function _executeTarget(parentLogger, workspace, root, argv, registry) {
135
134
  });
136
135
  // Wait for full completion of the builder.
137
136
  try {
138
- const { success } = await run.output
139
- .pipe((0, operators_1.tap)((result) => {
140
- if (result.success) {
141
- parentLogger.info(colors.green('SUCCESS'));
142
- }
143
- else {
144
- parentLogger.info(colors.red('FAILURE'));
145
- }
146
- parentLogger.info('Result: ' + JSON.stringify({ ...result, info: undefined }, null, 4));
147
- parentLogger.info('\nLogs:');
148
- logs.forEach((l) => parentLogger.next(l));
149
- logs.splice(0);
150
- }))
151
- .toPromise();
137
+ const result = await run.output.toPromise();
138
+ if (result.success) {
139
+ parentLogger.info(colors.green('SUCCESS'));
140
+ }
141
+ else {
142
+ parentLogger.info(colors.red('FAILURE'));
143
+ }
144
+ parentLogger.info('Result: ' + JSON.stringify({ ...result, info: undefined }, null, 4));
145
+ parentLogger.info('\nLogs:');
146
+ logs.forEach((l) => parentLogger.next(l));
147
+ logs.splice(0);
152
148
  await run.stop();
153
149
  bars.terminate();
154
- return success ? 0 : 1;
150
+ return result.success ? 0 : 1;
155
151
  }
156
152
  catch (err) {
157
153
  parentLogger.info(colors.red('ERROR'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-devkit/architect-cli",
3
- "version": "0.1401.3",
3
+ "version": "0.1402.0-next.2",
4
4
  "description": "Angular Architect CLI",
5
5
  "homepage": "https://github.com/angular/angular-cli",
6
6
  "experimental": true,
@@ -19,13 +19,12 @@
19
19
  "tooling"
20
20
  ],
21
21
  "dependencies": {
22
- "@angular-devkit/architect": "0.1401.3",
23
- "@angular-devkit/core": "14.1.3",
22
+ "@angular-devkit/architect": "0.1402.0-next.2",
23
+ "@angular-devkit/core": "14.2.0-next.2",
24
24
  "ansi-colors": "4.1.3",
25
25
  "progress": "2.0.3",
26
- "rxjs": "6.6.7",
27
26
  "symbol-observable": "4.0.0",
28
- "yargs-parser": "21.0.1"
27
+ "yargs-parser": "21.1.1"
29
28
  },
30
29
  "repository": {
31
30
  "type": "git",