@genesislcap/uvu-playwright-builder 14.439.3 → 14.442.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.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/index.ts +7 -3
- package/tsconfig.json +3 -9
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;yBAGrC,KAAK,YAAY;AAAvC,wBA8EE"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/uvu-playwright-builder",
|
|
3
3
|
"description": "UVU/Playwright builder",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.442.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"build": "npm run clean && tsc -b ./tsconfig.json && copyfiles config/* dist",
|
|
13
13
|
"clean": "rimraf dist temp tsconfig.tsbuildinfo",
|
|
14
14
|
"dev": "tsc -b ./tsconfig.json -w",
|
|
15
|
-
"lint": "genx lint
|
|
16
|
-
"lint:fix": "genx lint --fix"
|
|
15
|
+
"lint": "genx lint -l ox",
|
|
16
|
+
"lint:fix": "genx lint -l ox --fix"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@genesislcap/build-kit": "14.
|
|
20
|
-
"@genesislcap/foundation-testing": "14.
|
|
19
|
+
"@genesislcap/build-kit": "14.442.0",
|
|
20
|
+
"@genesislcap/foundation-testing": "14.442.0",
|
|
21
21
|
"c8": "^7.11.0",
|
|
22
22
|
"nyc": "^15.1.0",
|
|
23
23
|
"playwright-test": "^14.1.12",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "ad425e4ea17dad7d5b580200f2ca31758896d07f"
|
|
41
41
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { rm, run, resolveBin } from '@genesislcap/build-kit';
|
|
1
|
+
import { resolve } from 'node:path';
|
|
3
2
|
import type { BuildContext } from '@genesislcap/build-kit';
|
|
3
|
+
import { rm, run, resolveBin } from '@genesislcap/build-kit';
|
|
4
4
|
|
|
5
5
|
export default async (ctx: BuildContext) => {
|
|
6
6
|
const {
|
|
@@ -37,7 +37,11 @@ export default async (ctx: BuildContext) => {
|
|
|
37
37
|
// browser target - executing using playwright-test
|
|
38
38
|
// Resolve from builder's package location since playwright-test is a dependency of uvu-playwright-builder
|
|
39
39
|
const builderPackageDir = resolve(__dirname, '..');
|
|
40
|
-
const playwrightTest = await resolveBin(
|
|
40
|
+
const playwrightTest = await resolveBin(
|
|
41
|
+
'playwright-test',
|
|
42
|
+
'playwright-test',
|
|
43
|
+
builderPackageDir,
|
|
44
|
+
);
|
|
41
45
|
const debugParam = debug ? '--debug' : '';
|
|
42
46
|
const watchParam = watch ? '--watch' : '';
|
|
43
47
|
const covParam = coverage ? '--cov' : '';
|
package/tsconfig.json
CHANGED
|
@@ -2,16 +2,10 @@
|
|
|
2
2
|
"extends": "../../../../tsconfig.json",
|
|
3
3
|
"compilerOptions": {
|
|
4
4
|
"declarationDir": "./dist",
|
|
5
|
-
"lib": [
|
|
6
|
-
"ES2015",
|
|
7
|
-
"ES2016",
|
|
8
|
-
"ES2017",
|
|
9
|
-
"ES2019",
|
|
10
|
-
],
|
|
5
|
+
"lib": ["ES2015", "ES2016", "ES2017", "ES2019"],
|
|
11
6
|
"module": "commonjs",
|
|
12
7
|
"outDir": "./dist",
|
|
13
|
-
"rootDir": "./src"
|
|
8
|
+
"rootDir": "./src"
|
|
14
9
|
},
|
|
15
|
-
"include": [
|
|
16
|
-
"src/**/*"]
|
|
10
|
+
"include": ["src/**/*"]
|
|
17
11
|
}
|