@testream/dotnet-reporter 0.4.6 → 0.5.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.
@@ -1,34 +1,6 @@
1
- import { CTRFReport, UploadResult, detectCIContext } from '@jira-test-manager/shared-types';
2
- /**
3
- * Logger interface for output
4
- */
5
- export interface Logger {
6
- info(message: string): void;
7
- warning(message: string): void;
8
- error(message: string): void;
9
- }
10
- /**
11
- * Default console logger
12
- */
13
- export declare const defaultLogger: Logger;
14
- export interface UploadToApiOptions {
15
- report: CTRFReport;
16
- projectKey: string;
17
- apiKey: string;
18
- commitSha?: string;
19
- branch?: string;
20
- repositoryUrl?: string;
21
- buildName?: string;
22
- buildNumber?: string;
23
- buildUrl?: string;
24
- testEnvironment?: string;
25
- appName?: string;
26
- appVersion?: string;
27
- testType?: string;
28
- logger?: Logger;
29
- }
1
+ import { UploadResult, detectCIContext, UploadTestRunOptions } from '@jira-test-manager/shared-types';
30
2
  /**
31
3
  * Upload CTRF report to Testream API
32
4
  */
33
- export declare function uploadToApi(options: UploadToApiOptions): Promise<UploadResult>;
5
+ export declare function uploadToApi(options: UploadTestRunOptions): Promise<UploadResult>;
34
6
  export declare const detectGitContext: typeof detectCIContext;
@@ -1 +1 @@
1
- {"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/jira-test-manager/jira-test-manager/packages/dotnet-reporter/src/uploader.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAGV,YAAY,EACZ,eAAe,EAChB,MAAM,iCAAiC,CAAC;AAQzC;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,MAI3B,CAAC;AAEF,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,UAAU,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IAGf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAsB,WAAW,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,YAAY,CAAC,CA0KpF;AAGD,eAAO,MAAM,gBAAgB,wBAAkB,CAAC"}
1
+ {"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/jira-test-manager/jira-test-manager/packages/dotnet-reporter/src/uploader.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,eAAe,EAEf,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AAEzC;;GAEG;AACH,wBAAsB,WAAW,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,YAAY,CAAC,CAetF;AAGD,eAAO,MAAM,gBAAgB,wBAAkB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testream/dotnet-reporter",
3
- "version": "0.4.6",
3
+ "version": "0.5.0",
4
4
  "description": "CLI to upload .NET test results (xUnit, NUnit, MSTest) to Testream",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -46,6 +46,7 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@jira-test-manager/shared-types": "*",
49
+ "@types/glob": "^8.1.0",
49
50
  "@types/node": "^20.10.6",
50
51
  "@typescript-eslint/eslint-plugin": "^6.17.0",
51
52
  "@typescript-eslint/parser": "^6.17.0",