@elastic/synthetics 1.5.2 → 1.6.0
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.
- package/dist/bundles/lib/index.js +186 -192
- package/dist/formatter/javascript.d.ts.map +1 -1
- package/dist/formatter/javascript.js +2 -11
- package/dist/formatter/javascript.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/push/request.d.ts.map +1 -1
- package/dist/push/request.js +1 -0
- package/dist/push/request.js.map +1 -1
- package/dist/reporters/base.d.ts +1 -0
- package/dist/reporters/base.d.ts.map +1 -1
- package/dist/reporters/base.js +2 -0
- package/dist/reporters/base.js.map +1 -1
- package/dist/reporters/build_kite_cli.d.ts +39 -0
- package/dist/reporters/build_kite_cli.d.ts.map +1 -0
- package/dist/reporters/build_kite_cli.js +111 -0
- package/dist/reporters/build_kite_cli.js.map +1 -0
- package/dist/reporters/index.d.ts +1 -1
- package/dist/reporters/index.d.ts.map +1 -1
- package/dist/reporters/index.js +2 -0
- package/dist/reporters/index.js.map +1 -1
- package/package.json +5 -5
- package/src/formatter/javascript.ts +2 -11
- package/src/index.ts +11 -1
- package/src/push/request.ts +1 -0
- package/src/reporters/base.ts +1 -1
- package/src/reporters/build_kite_cli.ts +111 -0
- package/src/reporters/index.ts +7 -1
package/src/reporters/index.ts
CHANGED
|
@@ -33,13 +33,18 @@ import {
|
|
|
33
33
|
JourneyStartResult,
|
|
34
34
|
StepEndResult,
|
|
35
35
|
} from '../common_types';
|
|
36
|
+
import BuildKiteCLIReporter from './build_kite_cli';
|
|
36
37
|
|
|
37
38
|
export type ReporterOptions = {
|
|
38
39
|
fd?: number;
|
|
39
40
|
colors?: boolean;
|
|
40
41
|
dryRun?: boolean;
|
|
41
42
|
};
|
|
42
|
-
export type BuiltInReporterName =
|
|
43
|
+
export type BuiltInReporterName =
|
|
44
|
+
| 'default'
|
|
45
|
+
| 'json'
|
|
46
|
+
| 'junit'
|
|
47
|
+
| 'buildkite-cli';
|
|
43
48
|
export type ReporterInstance = new (opts: ReporterOptions) => Reporter;
|
|
44
49
|
export const reporters: {
|
|
45
50
|
[key in BuiltInReporterName]: ReporterInstance;
|
|
@@ -47,6 +52,7 @@ export const reporters: {
|
|
|
47
52
|
default: BaseReporter,
|
|
48
53
|
json: JSONReporter,
|
|
49
54
|
junit: JUnitReporter,
|
|
55
|
+
'buildkite-cli': BuildKiteCLIReporter,
|
|
50
56
|
};
|
|
51
57
|
|
|
52
58
|
export interface Reporter {
|