@ngx-next/task-runner
Advanced tools
Comparing version 0.7.139-next.73 to 0.7.139-next.74
import * as Listr from 'listr'; | ||
import { Observable } from 'rxjs'; | ||
export declare class NgxTaskRunner { | ||
formatOutput(output: string): string; | ||
formatTitle(label: string, output: string): string; | ||
@@ -5,0 +6,0 @@ run(tasks: NgxTask[]): Promise<any>; |
@@ -7,2 +7,6 @@ "use strict"; | ||
class NgxTaskRunner { | ||
formatOutput(output) { | ||
output.replace('\n', '\n | '); | ||
return output; | ||
} | ||
formatTitle(label, output) { | ||
@@ -20,3 +24,3 @@ return `${label} \n ${output} \n`; | ||
.catch(err => observer.error(new Error(err))); | ||
}).pipe(operators_1.map((res) => this.formatTitle(title, res))); | ||
}).pipe(operators_1.map((res) => this.formatTitle(title, this.formatOutput(res)))); | ||
} | ||
@@ -23,0 +27,0 @@ taskList(tasks) { |
{ | ||
"name": "@ngx-next/task-runner", | ||
"version": "0.7.139-next.73", | ||
"version": "0.7.139-next.74", | ||
"dependencies": { | ||
"@ngx-next/logger": "0.7.139-next.73", | ||
"@ngx-next/logger": "0.7.139-next.74", | ||
"listr": "0.14.3" | ||
@@ -7,0 +7,0 @@ }, |
Sorry, the diff of this file is not supported yet
6140
41
+ Added@ngx-next/logger@0.7.139-next.74(transitive)
- Removed@ngx-next/logger@0.7.139-next.73(transitive)