@stablyai/playwright 0.2.1 → 1.0.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/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +13 -5
package/dist/index.cjs
CHANGED
|
@@ -39,10 +39,10 @@ __export(index_exports, {
|
|
|
39
39
|
});
|
|
40
40
|
module.exports = __toCommonJS(index_exports);
|
|
41
41
|
var import_playwright_base = require("@stablyai/playwright-base");
|
|
42
|
-
var playwright = __toESM(require("@
|
|
42
|
+
var playwright = __toESM(require("@playwright/test"));
|
|
43
43
|
var import_playwright_base2 = require("@stablyai/playwright-base");
|
|
44
44
|
var import_playwright_base3 = require("@stablyai/playwright-base");
|
|
45
|
-
__reExport(index_exports, require("@
|
|
45
|
+
__reExport(index_exports, require("@playwright/test"), module.exports);
|
|
46
46
|
(0, import_playwright_base2.augmentBrowserType)(playwright.chromium);
|
|
47
47
|
(0, import_playwright_base2.augmentBrowserType)(playwright.firefox);
|
|
48
48
|
(0, import_playwright_base2.augmentBrowserType)(playwright.webkit);
|
|
@@ -53,6 +53,6 @@ __reExport(index_exports, require("@stablyai/internal-playwright-test"), module.
|
|
|
53
53
|
augmentLocator,
|
|
54
54
|
augmentPage,
|
|
55
55
|
setApiKey,
|
|
56
|
-
...require("@
|
|
56
|
+
...require("@playwright/test")
|
|
57
57
|
});
|
|
58
58
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import \"@stablyai/playwright-base\";\nimport * as playwright from \"@
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import \"@stablyai/playwright-base\";\nimport * as playwright from \"@playwright/test\";\nimport { augmentBrowserType } from \"@stablyai/playwright-base\";\n\naugmentBrowserType(playwright.chromium);\naugmentBrowserType(playwright.firefox);\naugmentBrowserType(playwright.webkit);\n\nexport {\n augmentBrowser,\n augmentBrowserContext,\n augmentLocator,\n augmentPage,\n setApiKey,\n} from \"@stablyai/playwright-base\";\nexport * from \"@playwright/test\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAO;AACP,iBAA4B;AAC5B,IAAAA,0BAAmC;AAMnC,IAAAA,0BAMO;AACP,0BAAc,6BAfd;AAAA,IAIA,4CAA8B,mBAAQ;AAAA,IACtC,4CAA8B,kBAAO;AAAA,IACrC,4CAA8B,iBAAM;","names":["import_playwright_base"]}
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
2
|
import "@stablyai/playwright-base";
|
|
3
|
-
import * as playwright from "@
|
|
3
|
+
import * as playwright from "@playwright/test";
|
|
4
4
|
import { augmentBrowserType } from "@stablyai/playwright-base";
|
|
5
5
|
import {
|
|
6
6
|
augmentBrowser,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
augmentPage,
|
|
10
10
|
setApiKey
|
|
11
11
|
} from "@stablyai/playwright-base";
|
|
12
|
-
export * from "@
|
|
12
|
+
export * from "@playwright/test";
|
|
13
13
|
augmentBrowserType(playwright.chromium);
|
|
14
14
|
augmentBrowserType(playwright.firefox);
|
|
15
15
|
augmentBrowserType(playwright.webkit);
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import \"@stablyai/playwright-base\";\nimport * as playwright from \"@
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import \"@stablyai/playwright-base\";\nimport * as playwright from \"@playwright/test\";\nimport { augmentBrowserType } from \"@stablyai/playwright-base\";\n\naugmentBrowserType(playwright.chromium);\naugmentBrowserType(playwright.firefox);\naugmentBrowserType(playwright.webkit);\n\nexport {\n augmentBrowser,\n augmentBrowserContext,\n augmentLocator,\n augmentPage,\n setApiKey,\n} from \"@stablyai/playwright-base\";\nexport * from \"@playwright/test\";\n"],"mappings":";AAAA,OAAO;AACP,YAAY,gBAAgB;AAC5B,SAAS,0BAA0B;AAMnC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,cAAc;AAXd,mBAA8B,mBAAQ;AACtC,mBAA8B,kBAAO;AACrC,mBAA8B,iBAAM;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stablyai/playwright",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Drop-in Playwright replacement with Stably augmentations",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
|
-
"import":
|
|
10
|
-
|
|
9
|
+
"import": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"default": "./dist/index.mjs"
|
|
12
|
+
},
|
|
13
|
+
"require": {
|
|
14
|
+
"types": "./dist/index.d.cts",
|
|
15
|
+
"default": "./dist/index.cjs"
|
|
16
|
+
}
|
|
11
17
|
}
|
|
12
18
|
},
|
|
13
19
|
"types": "dist/index.d.ts",
|
|
@@ -15,8 +21,10 @@
|
|
|
15
21
|
"dist"
|
|
16
22
|
],
|
|
17
23
|
"dependencies": {
|
|
18
|
-
"@stablyai/
|
|
19
|
-
|
|
24
|
+
"@stablyai/playwright-base": "1.0.0"
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"@playwright/test": "^1.52.0"
|
|
20
28
|
},
|
|
21
29
|
"scripts": {
|
|
22
30
|
"build": "tsup"
|