@nx/playwright 18.1.0-canary.20240206-bf62661 → 18.1.0-canary.20240208-202f141
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +4 -4
- package/src/plugins/plugin.js +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/playwright",
|
3
|
-
"version": "18.1.0-canary.
|
3
|
+
"version": "18.1.0-canary.20240208-202f141",
|
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.1.0-canary.
|
37
|
-
"@nx/eslint": "18.1.0-canary.
|
38
|
-
"@nx/js": "18.1.0-canary.
|
36
|
+
"@nx/devkit": "18.1.0-canary.20240208-202f141",
|
37
|
+
"@nx/eslint": "18.1.0-canary.20240208-202f141",
|
38
|
+
"@nx/js": "18.1.0-canary.20240208-202f141",
|
39
39
|
"tslib": "^2.3.0",
|
40
40
|
"minimatch": "9.0.3"
|
41
41
|
},
|
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,
|