pomwright 0.0.3

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/index.ts ADDED
@@ -0,0 +1,17 @@
1
+ import { BasePage } from "./src/basePage";
2
+ export { BasePage as POMWright };
3
+
4
+ import { test } from "./src/fixture/base.fixtures";
5
+ export { test as POMWrightTestFixture };
6
+
7
+ import { PlaywrightReportLogger } from "./src/helpers/playwrightReportLogger";
8
+ export { PlaywrightReportLogger as POMWrightLogger };
9
+
10
+ import { GetByMethod, type LocatorSchema, type AriaRoleType } from "./src/helpers/locatorSchema.interface";
11
+ export { GetByMethod, type LocatorSchema, type AriaRoleType };
12
+
13
+ import { GetLocatorBase } from "./src/helpers/getLocatorBase";
14
+ export { GetLocatorBase as POMWrightGetLocatorBase };
15
+
16
+ import { BaseApi } from "./src/api/baseApi";
17
+ export { BaseApi as POMWrightApi };
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "pomwright",
3
+ "version": "0.0.3",
4
+ "description": "POMWright is a complementary test framework for Playwright written in TypeScript.",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "keywords": [
9
+ "Playwright",
10
+ "POM",
11
+ "Page Object Model",
12
+ "Test Framework"
13
+ ],
14
+ "author": "Magnus Blütecher Dysthe",
15
+ "license": "Apache 2.0",
16
+ "devDependencies": {
17
+ "@changesets/cli": "^2.27.1",
18
+ "@types/node": "^20.10.8",
19
+ "tsup": "^8.0.1",
20
+ "typescript": "^5.3.3"
21
+ },
22
+ "peerDependencies": {
23
+ "@playwright/test": "^1.40.1"
24
+ },
25
+ "scripts": {
26
+ "build": "tsup index.ts --format cjs,esm --dts",
27
+ "release": "pnpm run build && changeset publish",
28
+ "lint": "tsc",
29
+ "install-browsers": "playwright install --with-deps"
30
+ }
31
+ }