@stablyai/playwright 0.1.0 → 0.1.2

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.d.mts CHANGED
@@ -1,3 +1,3 @@
1
1
  import "@stablyai/playwright-base";
2
2
  export { augmentBrowser, augmentBrowserContext, augmentLocator, augmentPage, setApiKey } from '@stablyai/playwright-base';
3
- export * from 'playwright';
3
+ export * from '@stablyai/internal-playwright-test';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import "@stablyai/playwright-base";
2
2
  export { augmentBrowser, augmentBrowserContext, augmentLocator, augmentPage, setApiKey } from '@stablyai/playwright-base';
3
- export * from 'playwright';
3
+ export * from '@stablyai/internal-playwright-test';
package/dist/index.js 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("playwright"));
42
+ var playwright = __toESM(require("@stablyai/internal-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("playwright"), module.exports);
45
+ __reExport(index_exports, require("@stablyai/internal-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("playwright"), module.exports);
53
53
  augmentLocator,
54
54
  augmentPage,
55
55
  setApiKey,
56
- ...require("playwright")
56
+ ...require("@stablyai/internal-playwright-test")
57
57
  });
58
58
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import '@stablyai/playwright-base';\nimport * as playwright from 'playwright';\n\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';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAO;AACP,iBAA4B;AAE5B,IAAAA,0BAAmC;AAMnC,IAAAA,0BAMO;AACP,0BAAc,uBAhBd;AAAA,IAKA,4CAA8B,mBAAQ;AAAA,IACtC,4CAA8B,kBAAO;AAAA,IACrC,4CAA8B,iBAAM;","names":["import_playwright_base"]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import \"@stablyai/playwright-base\";\nimport * as playwright from \"@stablyai/internal-playwright-test\";\n\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 \"@stablyai/internal-playwright-test\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAO;AACP,iBAA4B;AAE5B,IAAAA,0BAAmC;AAMnC,IAAAA,0BAMO;AACP,0BAAc,+CAhBd;AAAA,IAKA,4CAA8B,mBAAQ;AAAA,IACtC,4CAA8B,kBAAO;AAAA,IACrC,4CAA8B,iBAAM;","names":["import_playwright_base"]}
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 "playwright";
3
+ import * as playwright from "@stablyai/internal-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 "playwright";
12
+ export * from "@stablyai/internal-playwright-test";
13
13
  augmentBrowserType(playwright.chromium);
14
14
  augmentBrowserType(playwright.firefox);
15
15
  augmentBrowserType(playwright.webkit);
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import '@stablyai/playwright-base';\nimport * as playwright from 'playwright';\n\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';\n"],"mappings":";AAAA,OAAO;AACP,YAAY,gBAAgB;AAE5B,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":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import \"@stablyai/playwright-base\";\nimport * as playwright from \"@stablyai/internal-playwright-test\";\n\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 \"@stablyai/internal-playwright-test\";\n"],"mappings":";AAAA,OAAO;AACP,YAAY,gBAAgB;AAE5B,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,18 +1,21 @@
1
1
  {
2
2
  "name": "@stablyai/playwright",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Drop-in Playwright replacement with Stably augmentations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
+ "files": [
8
+ "dist"
9
+ ],
7
10
  "dependencies": {
8
- "@stablyai/playwright-base": "^0.1.0"
11
+ "@stablyai/internal-playwright-test": "^0.1.1",
12
+ "@stablyai/playwright-base": "latest"
9
13
  },
10
14
  "devDependencies": {
11
15
  "tsup": "^8.5.0"
12
16
  },
13
17
  "peerDependencies": {
14
- "playwright": "^1.44.0",
15
- "zod": "^3.0.0"
18
+ "zod": "^3.25.0 || ^4.0.0"
16
19
  },
17
20
  "scripts": {
18
21
  "build": "pnpm exec tsup --config tsup.config.ts"
package/src/index.ts DELETED
@@ -1,17 +0,0 @@
1
- import '@stablyai/playwright-base';
2
- import * as playwright from 'playwright';
3
-
4
- import { augmentBrowserType } from '@stablyai/playwright-base';
5
-
6
- augmentBrowserType(playwright.chromium);
7
- augmentBrowserType(playwright.firefox);
8
- augmentBrowserType(playwright.webkit);
9
-
10
- export {
11
- augmentBrowser,
12
- augmentBrowserContext,
13
- augmentLocator,
14
- augmentPage,
15
- setApiKey,
16
- } from '@stablyai/playwright-base';
17
- export * from 'playwright';
package/tsconfig.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.base.json",
3
- "compilerOptions": {
4
- "rootDir": "src",
5
- "outDir": "dist"
6
- },
7
- "include": ["src"],
8
- "exclude": ["dist", "node_modules"]
9
- }
package/tsup.config.ts DELETED
@@ -1,16 +0,0 @@
1
- import { defineConfig } from 'tsup';
2
-
3
- export default defineConfig({
4
- entry: ['src/index.ts'],
5
- format: ['cjs', 'esm'],
6
- splitting: false,
7
- sourcemap: true,
8
- clean: true,
9
- dts: {
10
- banner: 'import "@stablyai/playwright-base";',
11
- },
12
- target: 'es2019',
13
- outDir: 'dist',
14
- platform: 'node',
15
- external: ['playwright', '@stablyai/playwright-base'],
16
- });