@genesislcap/uvu-playwright-builder 14.214.2 → 14.214.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/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -5
- package/src/index.ts +2 -1
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;8BAEhC,YAAY;AAAvC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;8BAEhC,YAAY;AAAvC,wBA4EE"}
|
package/dist/index.js
CHANGED
|
@@ -53,7 +53,7 @@ exports.default = (ctx) => tslib_1.__awaiter(void 0, void 0, void 0, function* (
|
|
|
53
53
|
const jsdomSetupPath = (0, node_path_1.resolve)(__dirname, './config/jsdom.setup.ts');
|
|
54
54
|
const uvu = yield (0, build_kit_1.resolveBin)('uvu');
|
|
55
55
|
const ignore = ['dist', 'e2e', 'docs', 'temp', 'coverage']; // .git, node_modules are ignored by default
|
|
56
|
-
const unitTestCommand = `${uvu} -r tsm --tsmconfig ${tsmJSRelative} -r
|
|
56
|
+
const unitTestCommand = `${uvu} -r tsm --tsmconfig ${tsmJSRelative} -r tsx/cjs -r ${jsdomSetupPath} . "${matchParam} --experimental-decorators" ${ignore.map((i) => ' -i ' + i)}`;
|
|
57
57
|
if (coverage) {
|
|
58
58
|
const c8 = yield (0, build_kit_1.resolveBin)('c8');
|
|
59
59
|
const command = `${c8} --include=src --all --reporter=text --reporter=lcov node ${unitTestCommand}`;
|
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.214.
|
|
4
|
+
"version": "14.214.3",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"dev": "tsc -b ./tsconfig.json -w"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@
|
|
18
|
-
"@genesislcap/
|
|
19
|
-
"@genesislcap/foundation-testing": "14.214.2",
|
|
17
|
+
"@genesislcap/build-kit": "14.214.3",
|
|
18
|
+
"@genesislcap/foundation-testing": "14.214.3",
|
|
20
19
|
"c8": "^7.11.0",
|
|
21
20
|
"nyc": "^15.1.0",
|
|
22
21
|
"playwright-test": "^8.4.0",
|
|
23
22
|
"tslib": "^2.3.1",
|
|
24
23
|
"tsm": "^2.2.1",
|
|
24
|
+
"tsx": "^4.7.2",
|
|
25
25
|
"uvu": "0.5.4",
|
|
26
26
|
"watchlist": "^0.3.1"
|
|
27
27
|
},
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "0fa68769a2f17b633fa1a558cdfbd0fe10ecaf64"
|
|
41
41
|
}
|
package/src/index.ts
CHANGED
|
@@ -40,6 +40,7 @@ export default async (ctx: BuildContext) => {
|
|
|
40
40
|
const watchParam = watch ? '--watch' : '';
|
|
41
41
|
const covParam = coverage ? '--cov' : '';
|
|
42
42
|
let matchParam = './**/*.test.ts';
|
|
43
|
+
|
|
43
44
|
if (match) {
|
|
44
45
|
matchParam = rawMatch ? match : `./**/${match}`;
|
|
45
46
|
}
|
|
@@ -61,7 +62,7 @@ export default async (ctx: BuildContext) => {
|
|
|
61
62
|
const jsdomSetupPath = resolve(__dirname, './config/jsdom.setup.ts');
|
|
62
63
|
const uvu = await resolveBin('uvu');
|
|
63
64
|
const ignore = ['dist', 'e2e', 'docs', 'temp', 'coverage']; // .git, node_modules are ignored by default
|
|
64
|
-
const unitTestCommand = `${uvu} -r tsm --tsmconfig ${tsmJSRelative} -r
|
|
65
|
+
const unitTestCommand = `${uvu} -r tsm --tsmconfig ${tsmJSRelative} -r tsx/cjs -r ${jsdomSetupPath} . "${matchParam} --experimental-decorators" ${ignore.map(
|
|
65
66
|
(i) => ' -i ' + i,
|
|
66
67
|
)}`;
|
|
67
68
|
|