@qawolf/ci-sdk
Advanced tools
Comparing version 0.11.0 to 0.12.0
@@ -0,1 +1,6 @@ | ||
# v0.12.0 | ||
- Define a more restrictive `LogDriver` interface for easy integration with GHA | ||
`core` interface. | ||
# v0.11.0 | ||
@@ -2,0 +7,0 @@ |
@@ -11,5 +11,5 @@ "use strict"; | ||
}, | ||
error(message) { | ||
console.error(message); | ||
error(message, error) { | ||
console.error(message, error); | ||
}, | ||
}; |
@@ -8,5 +8,5 @@ export const defaultLogDriver = { | ||
}, | ||
error(message) { | ||
console.error(message); | ||
error(message, error) { | ||
console.error(message, error); | ||
}, | ||
}; |
export interface LogDriver { | ||
info(...messages: unknown[]): void; | ||
warn(...messages: unknown[]): void; | ||
error(...messages: unknown[]): void; | ||
info(message: string): void; | ||
warn(message: string): void; | ||
error(message: string, error?: unknown): void; | ||
} | ||
@@ -6,0 +6,0 @@ export type FetchDriver = typeof fetch; |
{ | ||
"name": "@qawolf/ci-sdk", | ||
"version": "0.11.0", | ||
"version": "0.12.0", | ||
"description": "A simple SDK for interacting with QAWolf in CI scripts.", | ||
@@ -17,3 +17,4 @@ "type": "module", | ||
"test": "jest", | ||
"prepare": "npm run build" | ||
"prepare": "npm run build", | ||
"publish": "./scripts/publish.sh" | ||
}, | ||
@@ -20,0 +21,0 @@ "keywords": [], |
42361