@empiricalrun/playwright-utils 0.18.20 → 0.18.21

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @empiricalrun/playwright-utils
2
2
 
3
+ ## 0.18.21
4
+
5
+ ### Patch Changes
6
+
7
+ - 769e5f9: fix: imports within playwright utils
8
+
3
9
  ## 0.18.20
4
10
 
5
11
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { FileMap } from "@empiricalrun/r2-uploader/src/types";
1
+ import { FileMap } from "@empiricalrun/r2-uploader";
2
2
  import { AsyncTask } from "./queue";
3
3
  export declare function uploadFiles({ fileList, outputFolder, relativePath, }: {
4
4
  outputFolder: string;
@@ -1 +1 @@
1
- {"version":3,"file":"uploader.d.ts","sourceRoot":"","sources":["../../src/reporter/uploader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAK9D,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAKpC,wBAAsB,WAAW,CAAC,EAChC,QAAQ,EACR,YAAY,EACZ,YAAY,GACb,EAAE;IACD,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAwB1B;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,YAAY,EACZ,YAAiB,GAClB,EAAE;IACD,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,SAAS,CAaZ"}
1
+ {"version":3,"file":"uploader.d.ts","sourceRoot":"","sources":["../../src/reporter/uploader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAmB,MAAM,2BAA2B,CAAC;AAIrE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAKpC,wBAAsB,WAAW,CAAC,EAChC,QAAQ,EACR,YAAY,EACZ,YAAY,GACb,EAAE;IACD,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAwB1B;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,YAAY,EACZ,YAAiB,GAClB,EAAE;IACD,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,SAAS,CAaZ"}
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.createUploadTask = exports.uploadFiles = void 0;
7
- const upload_1 = require("@empiricalrun/r2-uploader/src/upload");
7
+ const r2_uploader_1 = require("@empiricalrun/r2-uploader");
8
8
  const path_1 = __importDefault(require("path"));
9
9
  const logger_1 = require("../logger");
10
10
  const R2_BUCKET_NAME = "test-report";
@@ -16,7 +16,7 @@ async function uploadFiles({ fileList, outputFolder, relativePath, }) {
16
16
  const urls = {};
17
17
  const sourceDir = path_1.default.join(outputFolder, relativePath);
18
18
  const destinationDir = path_1.default.join(process.env.PROJECT_NAME, process.env.TEST_RUN_GITHUB_ACTION_ID, relativePath);
19
- const uploadedfiles = await (0, upload_1.uploadDirectory)({
19
+ const uploadedfiles = await (0, r2_uploader_1.uploadDirectory)({
20
20
  sourceDir,
21
21
  fileList,
22
22
  destinationDir,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/playwright-utils",
3
- "version": "0.18.20",
3
+ "version": "0.18.21",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -43,9 +43,9 @@
43
43
  "playwright-extra": "^4.3.6",
44
44
  "puppeteer-extra-plugin-recaptcha": "^3.6.8",
45
45
  "rimraf": "^6.0.1",
46
- "@empiricalrun/test-gen": "^0.38.44",
47
46
  "@empiricalrun/r2-uploader": "^0.3.7",
48
- "@empiricalrun/llm": "^0.9.28"
47
+ "@empiricalrun/llm": "^0.9.28",
48
+ "@empiricalrun/test-gen": "^0.38.44"
49
49
  },
50
50
  "scripts": {
51
51
  "dev": "tsc --build --watch",