@nx/playwright 19.6.0 → 19.7.0-canary.20240817-b91d788

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": "19.6.0",
3
+ "version": "19.7.0-canary.20240817-b91d788",
4
4
  "type": "commonjs",
5
5
  "homepage": "https://nx.dev",
6
6
  "private": false,
@@ -35,11 +35,11 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@phenomnomnominal/tsquery": "~5.0.1",
38
- "@nx/devkit": "19.6.0",
39
- "@nx/eslint": "19.6.0",
40
- "@nx/webpack": "19.6.0",
41
- "@nx/vite": "19.6.0",
42
- "@nx/js": "19.6.0",
38
+ "@nx/devkit": "19.7.0-canary.20240817-b91d788",
39
+ "@nx/eslint": "19.7.0-canary.20240817-b91d788",
40
+ "@nx/webpack": "19.7.0-canary.20240817-b91d788",
41
+ "@nx/vite": "19.7.0-canary.20240817-b91d788",
42
+ "@nx/js": "19.7.0-canary.20240817-b91d788",
43
43
  "tslib": "^2.3.0",
44
44
  "minimatch": "9.0.3"
45
45
  },
@@ -105,18 +105,7 @@
105
105
  },
106
106
  "reporter": {
107
107
  "type": "string",
108
- "enum": [
109
- "list",
110
- "line",
111
- "dot",
112
- "json",
113
- "junit",
114
- "null",
115
- "github",
116
- "html",
117
- "blob"
118
- ],
119
- "description": "Reporter to use, comma-separated, can be 'list', 'line', 'dot', 'json', 'junit', 'null', 'github', 'html', 'blob'. To configure reporter options, use the playwright configuration."
108
+ "description": "Common Reporter values to use, comma-separated, 'list', 'line', 'dot', 'json', 'junit', 'null', 'github', 'html', 'blob'. To configure reporter options, use the playwright configuration."
120
109
  },
121
110
  "retries": {
122
111
  "type": "number",
@@ -40,7 +40,7 @@ async function addE2eCiTargetDefaults(tree) {
40
40
  if (!nodes.length) {
41
41
  continue;
42
42
  }
43
- const ciWebServerCommand = nodes[0].getText();
43
+ const ciWebServerCommand = nodes[0].getText().replace(/['"]/g, '');
44
44
  let serveStaticProject;
45
45
  let serveStaticTarget;
46
46
  let serveStaticConfiguration;
@@ -65,7 +65,7 @@ async function addE2eCiTargetDefaults(tree) {
65
65
  serveStaticTarget = matches[1];
66
66
  serveStaticProject = matches[2];
67
67
  }
68
- const resolvedServeStaticTarget = graph.nodes[serveStaticProject].data.targets[serveStaticTarget];
68
+ const resolvedServeStaticTarget = graph.nodes[serveStaticProject]?.data?.targets?.[serveStaticTarget];
69
69
  if (!resolvedServeStaticTarget) {
70
70
  continue;
71
71
  }