@nx/playwright 18.0.2 → 18.0.4
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/playwright",
|
3
|
-
"version": "18.0.
|
3
|
+
"version": "18.0.4",
|
4
4
|
"type": "commonjs",
|
5
5
|
"homepage": "https://nx.dev",
|
6
6
|
"private": false,
|
@@ -33,9 +33,9 @@
|
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
35
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
36
|
-
"@nx/devkit": "18.0.
|
37
|
-
"@nx/eslint": "18.0.
|
38
|
-
"@nx/js": "18.0.
|
36
|
+
"@nx/devkit": "18.0.4",
|
37
|
+
"@nx/eslint": "18.0.4",
|
38
|
+
"@nx/js": "18.0.4",
|
39
39
|
"tslib": "^2.3.0",
|
40
40
|
"minimatch": "9.0.3"
|
41
41
|
},
|
@@ -43,10 +43,12 @@ async function configurationGeneratorInternal(tree, options) {
|
|
43
43
|
include: [
|
44
44
|
'**/*.ts',
|
45
45
|
'**/*.js',
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
46
|
+
'playwright.config.ts',
|
47
|
+
'src/**/*.spec.ts',
|
48
|
+
'src/**/*.spec.js',
|
49
|
+
'src/**/*.test.ts',
|
50
|
+
'src/**/*.test.js',
|
51
|
+
'src/**/*.d.ts',
|
50
52
|
],
|
51
53
|
}, null, 2));
|
52
54
|
}
|
package/src/plugins/plugin.js
CHANGED
@@ -90,7 +90,7 @@ async function buildPlaywrightTargets(configFilePath, projectRoot, options, cont
|
|
90
90
|
playwrightConfig.testMatch ??= '**/*.@(spec|test).?(c|m)[jt]s?(x)';
|
91
91
|
const dependsOn = [];
|
92
92
|
forEachTestFile((testFile) => {
|
93
|
-
const relativeToProjectRoot = (0, path_1.relative)(projectRoot, testFile);
|
93
|
+
const relativeToProjectRoot = (0, devkit_1.normalizePath)((0, path_1.relative)(projectRoot, testFile));
|
94
94
|
const targetName = `${options.ciTargetName}--${relativeToProjectRoot}`;
|
95
95
|
targets[targetName] = {
|
96
96
|
...ciBaseTargetConfig,
|