vasu-playwright-utils 0.4.4 → 0.4.6

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,3 +1,4 @@
1
1
  export * from './loadstate';
2
2
  export * from './timeouts';
3
+ export * as Timeouts from './timeouts';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC"}
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Timeouts = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./loadstate"), exports);
5
6
  tslib_1.__exportStar(require("./timeouts"), exports);
7
+ exports.Timeouts = tslib_1.__importStar(require("./timeouts"));
6
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/constants/index.ts"],"names":[],"mappings":";;;AAAA,sDAA4B;AAC5B,qDAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/constants/index.ts"],"names":[],"mappings":";;;;AAAA,sDAA4B;AAC5B,qDAA2B;AAC3B,+DAAuC"}
@@ -1,8 +1,4 @@
1
- export * from './utils/action-utils';
2
- export * from './utils/assert-utils';
3
- export * from './utils/element-utils';
4
- export * from './utils/locator-utils';
5
- export * from './utils/page-utils';
1
+ export * from './utils';
6
2
  export * from './constants';
7
3
  export * from './setup';
8
4
  export * from './types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/vasu-playwright-lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/vasu-playwright-lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC"}
@@ -2,11 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CustomLogger = void 0;
4
4
  const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./utils/action-utils"), exports);
6
- tslib_1.__exportStar(require("./utils/assert-utils"), exports);
7
- tslib_1.__exportStar(require("./utils/element-utils"), exports);
8
- tslib_1.__exportStar(require("./utils/locator-utils"), exports);
9
- tslib_1.__exportStar(require("./utils/page-utils"), exports);
5
+ tslib_1.__exportStar(require("./utils"), exports);
10
6
  tslib_1.__exportStar(require("./constants"), exports);
11
7
  tslib_1.__exportStar(require("./setup"), exports);
12
8
  tslib_1.__exportStar(require("./types"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/vasu-playwright-lib/index.ts"],"names":[],"mappings":";;;;AAAA,+DAAqC;AACrC,+DAAqC;AACrC,gEAAsC;AACtC,gEAAsC;AACtC,6DAAmC;AACnC,sDAA4B;AAC5B,kDAAwB;AACxB,kDAAwB;AACxB,uDAAgE;AAAvD,sIAAA,OAAO,OAAgB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/vasu-playwright-lib/index.ts"],"names":[],"mappings":";;;;AAAA,kDAAwB;AACxB,sDAA4B;AAC5B,kDAAwB;AACxB,kDAAwB;AACxB,uDAAgE;AAAvD,sIAAA,OAAO,OAAgB"}
@@ -1,2 +1,3 @@
1
1
  export * from './custom-logger';
2
+ export * as CustomLogger from './custom-logger';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/setup/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/setup/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,OAAO,KAAK,YAAY,MAAM,iBAAiB,CAAC"}
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomLogger = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./custom-logger"), exports);
6
+ exports.CustomLogger = tslib_1.__importStar(require("./custom-logger"));
5
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/setup/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/setup/index.ts"],"names":[],"mappings":";;;;AAAA,0DAAgC;AAChC,wEAAgD"}
@@ -1,2 +1,2 @@
1
- export * from './optional-parameter-types';
1
+ export * as ParameterTypes from './optional-parameter-types';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/types/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAC"}
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ParameterTypes = void 0;
3
4
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./optional-parameter-types"), exports);
5
+ // export * from './optional-parameter-types';
6
+ exports.ParameterTypes = tslib_1.__importStar(require("./optional-parameter-types"));
5
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/types/index.ts"],"names":[],"mappings":";;;AAAA,qEAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/types/index.ts"],"names":[],"mappings":";;;;AAAA,8CAA8C;AAC9C,qFAA6D"}
@@ -1,6 +1,11 @@
1
+ export * as ActionUtils from './action-utils';
1
2
  export * from './action-utils';
3
+ export * as AssertUtils from './assert-utils';
2
4
  export * from './assert-utils';
5
+ export * as ElementUtils from './element-utils';
3
6
  export * from './element-utils';
7
+ export * as LocatorUtils from './locator-utils';
4
8
  export * from './locator-utils';
9
+ export * as PageUtils from './page-utils';
5
10
  export * from './page-utils';
6
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,gBAAgB,CAAC;AAC9C,cAAc,gBAAgB,CAAC;AAC/B,OAAO,KAAK,WAAW,MAAM,gBAAgB,CAAC;AAC9C,cAAc,gBAAgB,CAAC;AAC/B,OAAO,KAAK,YAAY,MAAM,iBAAiB,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,OAAO,KAAK,YAAY,MAAM,iBAAiB,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,OAAO,KAAK,SAAS,MAAM,cAAc,CAAC;AAC1C,cAAc,cAAc,CAAC"}
@@ -1,9 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PageUtils = exports.LocatorUtils = exports.ElementUtils = exports.AssertUtils = exports.ActionUtils = void 0;
3
4
  const tslib_1 = require("tslib");
5
+ exports.ActionUtils = tslib_1.__importStar(require("./action-utils"));
4
6
  tslib_1.__exportStar(require("./action-utils"), exports);
7
+ exports.AssertUtils = tslib_1.__importStar(require("./assert-utils"));
5
8
  tslib_1.__exportStar(require("./assert-utils"), exports);
9
+ exports.ElementUtils = tslib_1.__importStar(require("./element-utils"));
6
10
  tslib_1.__exportStar(require("./element-utils"), exports);
11
+ exports.LocatorUtils = tslib_1.__importStar(require("./locator-utils"));
7
12
  tslib_1.__exportStar(require("./locator-utils"), exports);
13
+ exports.PageUtils = tslib_1.__importStar(require("./page-utils"));
8
14
  tslib_1.__exportStar(require("./page-utils"), exports);
9
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/utils/index.ts"],"names":[],"mappings":";;;AAAA,yDAA+B;AAC/B,yDAA+B;AAC/B,0DAAgC;AAChC,0DAAgC;AAChC,uDAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/utils/index.ts"],"names":[],"mappings":";;;;AAAA,sEAA8C;AAC9C,yDAA+B;AAC/B,sEAA8C;AAC9C,yDAA+B;AAC/B,wEAAgD;AAChD,0DAAgC;AAChC,wEAAgD;AAChD,0DAAgC;AAChC,kEAA0C;AAC1C,uDAA6B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vasu-playwright-utils",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "description": "Playwright Typescript Library with reusable utilities",
5
5
  "main": "./dist/vasu-playwright-lib/index.js",
6
6
  "types": "./dist/vasu-playwright-lib/index.d.ts",
@@ -49,7 +49,7 @@
49
49
  "winston": "^3.10.0"
50
50
  },
51
51
  "dependencies": {
52
- "@types/node": "^20.5.2",
52
+ "@types/node": "^20.5.4",
53
53
  "@typescript-eslint/eslint-plugin": "^6.4.1",
54
54
  "@typescript-eslint/parser": "^6.4.1",
55
55
  "eslint": "^8.47.0",
@@ -70,11 +70,12 @@
70
70
  "clean": "rimraf dist",
71
71
  "prebuild": "npm run clean",
72
72
  "build": "tsc",
73
- "prepublish": "npm run build",
73
+ "prepublishOnly": "npm run build",
74
+ "ready": "rimraf dist node_modules package-lock.json && npm i",
75
+ "prepare": "husky install",
74
76
  "link": "npm run build && npm link",
75
77
  "lint": "eslint 'src/**/*.ts'",
76
78
  "lint:fix": "eslint 'src/**/*.ts' --fix",
77
- "prepare": "husky install",
78
79
  "format": "prettier --write 'src/**/*.ts' '**/*.json' '**/*.md' '!package-lock.json' '!dist/**/*' '!build/**/*'"
79
80
  },
80
81
  "husky": {